@paroicms/generator-site 0.12.17 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,4 @@
1
1
 
2
- > @paroicms/generator-site@0.12.17 build
3
- > npm run scss
4
-
5
-
6
- > @paroicms/generator-site@0.12.17 scss
7
- > npm run _scss -- --no-source-map --style=compressed
8
-
9
-
10
- > @paroicms/generator-site@0.12.17 _scss
11
- > sass theme/assets/scss/index.scss theme/assets/css/index.css --no-source-map --style=compressed
2
+ > @paroicms/generator-site@0.13.0 build
3
+ > postcss theme/assets/css/index.css -o theme/assets/index.css
12
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @paroicms/generator-site
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2f26720: New UI. Removed PrimeReact and SASS.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [2f26720]
12
+ - Updated dependencies [2f26720]
13
+ - @paroicms/site-generator-plugin@0.30.0
14
+ - @paroicms/tiptap-editor-plugin@1.2.0
15
+ - @paroicms/script-lib@0.3.12
16
+
3
17
  ## 0.12.17
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/generator-site",
3
- "version": "0.12.17",
3
+ "version": "0.13.0",
4
4
  "description": "ParoiCMS generator website",
5
5
  "author": "Paroi Team",
6
6
  "license": "MIT",
@@ -15,24 +15,26 @@
15
15
  "scripts": {
16
16
  "start": "paroicms | npm run _pino-pretty",
17
17
  "start:dev": "nodemon --watch 'site-schema*.json' --watch config.json",
18
- "clear": "rimraf theme/assets/css/*",
19
- "build": "npm run scss",
20
- "dev": "concurrently -n 'node,scss' -c 'yellow.bold,magenta.bold' 'npm run start:dev' 'npm run scss:watch'",
21
- "scss": "npm run _scss -- --no-source-map --style=compressed",
22
- "scss:watch": "npm run _scss && npm run _scss -- --watch",
23
- "_scss": "sass theme/assets/scss/index.scss theme/assets/css/index.css",
18
+ "dev": "concurrently -n 'node,css' -c 'yellow.bold,magenta.bold' 'npm run start:dev' 'npm run css:watch'",
19
+ "build": "postcss theme/assets/css/index.css -o theme/assets/index.css",
20
+ "clear": "rimraf theme/assets/index.css",
21
+ "css:watch": "postcss theme/assets/css/index.css -o theme/assets/index.css --watch",
24
22
  "_pino-pretty": "pino-pretty -U false -x 'stats:25' -X 'stats:grey' -t 'yyyy-mm-dd HH:MM:ss.l' -i 'hostname,pid,fqdn'"
25
23
  },
26
24
  "dependencies": {
27
- "@paroicms/script-lib": "0.3.11",
28
- "@paroicms/site-generator-plugin": "0.29.0",
29
- "@paroicms/tiptap-editor-plugin": "1.1.2"
25
+ "@paroicms/script-lib": "0.3.12",
26
+ "@paroicms/site-generator-plugin": "0.30.0",
27
+ "@paroicms/tiptap-editor-plugin": "1.2.0"
30
28
  },
31
29
  "devDependencies": {
32
30
  "concurrently": "~9.2.1",
31
+ "cssnano": "~7.1.2",
33
32
  "nodemon": "~3.1.11",
34
- "pino-pretty": "~13.1.2",
35
- "rimraf": "~6.1.2",
36
- "sass": "~1.94.2"
33
+ "pino-pretty": "~13.1.3",
34
+ "postcss": "~8.5.6",
35
+ "postcss-cli": "~11.0.1",
36
+ "postcss-import": "~16.1.1",
37
+ "postcss-nested": "~7.0.2",
38
+ "rimraf": "~6.1.2"
37
39
  }
38
40
  }
@@ -0,0 +1,9 @@
1
+ export default {
2
+ plugins: {
3
+ "postcss-import": {},
4
+ "postcss-nested": {},
5
+ cssnano: {
6
+ preset: "default",
7
+ },
8
+ },
9
+ };
@@ -1 +1,2 @@
1
- :root{--paInteractiveColor: #99f}html{margin:0;padding:0}body{line-height:1.5;padding:0;margin:0}
1
+ @import "./tokens.css";
2
+ @import "./theme.css";
@@ -1,12 +1,10 @@
1
- @use "constants";
2
-
3
1
  html {
4
- margin: 0;
5
2
  padding: 0;
3
+ margin: 0;
6
4
  }
7
5
 
8
6
  body {
9
- line-height: 1.5;
10
7
  padding: 0;
11
8
  margin: 0;
12
- }
9
+ line-height: 1.5;
10
+ }
@@ -0,0 +1,62 @@
1
+ :root {
2
+ --font-size-6: 0.375rem;
3
+ --font-size-7: 0.4375rem;
4
+ --font-size-8: 0.5rem;
5
+ --font-size-9: 0.5625rem;
6
+ --font-size-10: 0.625rem;
7
+ --font-size-11: 0.6875rem;
8
+ --font-size-12: 0.75rem;
9
+ --font-size-13: 0.8125rem;
10
+ --font-size-14: 0.875rem;
11
+ --font-size-15: 0.9375rem;
12
+ --font-size-16: 1rem;
13
+ --font-size-17: 1.0625rem;
14
+ --font-size-18: 1.125rem;
15
+ --font-size-19: 1.1875rem;
16
+ --font-size-20: 1.25rem;
17
+ --font-size-21: 1.3125rem;
18
+ --font-size-22: 1.375rem;
19
+ --font-size-23: 1.4375rem;
20
+ --font-size-24: 1.5rem;
21
+ --font-size-25: 1.5625rem;
22
+ --font-size-26: 1.625rem;
23
+ --font-size-27: 1.6875rem;
24
+ --font-size-28: 1.75rem;
25
+ --font-size-29: 1.8125rem;
26
+ --font-size-30: 1.875rem;
27
+ --font-size-31: 1.9375rem;
28
+ --font-size-32: 2rem;
29
+ --font-size-33: 2.0625rem;
30
+ --font-size-34: 2.125rem;
31
+ --font-size-35: 2.1875rem;
32
+ --font-size-36: 2.25rem;
33
+ --font-size-37: 2.3125rem;
34
+ --font-size-38: 2.375rem;
35
+ --font-size-39: 2.4375rem;
36
+ --font-size-40: 2.5rem;
37
+ --font-size-41: 2.5625rem;
38
+ --font-size-42: 2.625rem;
39
+ --font-size-43: 2.6875rem;
40
+ --font-size-44: 2.75rem;
41
+ --font-size-45: 2.8125rem;
42
+ --font-size-46: 2.875rem;
43
+ --font-size-47: 2.9375rem;
44
+ --font-size-48: 3rem;
45
+ --font-size-49: 3.0625rem;
46
+ --font-size-50: 3.125rem;
47
+ --font-size-51: 3.1875rem;
48
+ --font-size-52: 3.25rem;
49
+ --font-size-53: 3.3125rem;
50
+ --font-size-54: 3.375rem;
51
+ --font-size-55: 3.4375rem;
52
+ --font-size-56: 3.5rem;
53
+ --font-size-57: 3.5625rem;
54
+ --font-size-58: 3.625rem;
55
+ --font-size-59: 3.6875rem;
56
+ --font-size-60: 3.75rem;
57
+ --font-size-61: 3.8125rem;
58
+ --font-size-62: 3.875rem;
59
+ --font-size-63: 3.9375rem;
60
+ --font-size-64: 4rem;
61
+ --paInteractiveColor: #99f;
62
+ }
@@ -0,0 +1 @@
1
+ :root{--font-size-6:0.375rem;--font-size-7:0.4375rem;--font-size-8:0.5rem;--font-size-9:0.5625rem;--font-size-10:0.625rem;--font-size-11:0.6875rem;--font-size-12:0.75rem;--font-size-13:0.8125rem;--font-size-14:0.875rem;--font-size-15:0.9375rem;--font-size-16:1rem;--font-size-17:1.0625rem;--font-size-18:1.125rem;--font-size-19:1.1875rem;--font-size-20:1.25rem;--font-size-21:1.3125rem;--font-size-22:1.375rem;--font-size-23:1.4375rem;--font-size-24:1.5rem;--font-size-25:1.5625rem;--font-size-26:1.625rem;--font-size-27:1.6875rem;--font-size-28:1.75rem;--font-size-29:1.8125rem;--font-size-30:1.875rem;--font-size-31:1.9375rem;--font-size-32:2rem;--font-size-33:2.0625rem;--font-size-34:2.125rem;--font-size-35:2.1875rem;--font-size-36:2.25rem;--font-size-37:2.3125rem;--font-size-38:2.375rem;--font-size-39:2.4375rem;--font-size-40:2.5rem;--font-size-41:2.5625rem;--font-size-42:2.625rem;--font-size-43:2.6875rem;--font-size-44:2.75rem;--font-size-45:2.8125rem;--font-size-46:2.875rem;--font-size-47:2.9375rem;--font-size-48:3rem;--font-size-49:3.0625rem;--font-size-50:3.125rem;--font-size-51:3.1875rem;--font-size-52:3.25rem;--font-size-53:3.3125rem;--font-size-54:3.375rem;--font-size-55:3.4375rem;--font-size-56:3.5rem;--font-size-57:3.5625rem;--font-size-58:3.625rem;--font-size-59:3.6875rem;--font-size-60:3.75rem;--font-size-61:3.8125rem;--font-size-62:3.875rem;--font-size-63:3.9375rem;--font-size-64:4rem;--paInteractiveColor:#99f}body,html{margin:0;padding:0}body{line-height:1.5}
@@ -6,7 +6,7 @@
6
6
  {% if doc.type != 'home' and doc.title %}{{ doc.title }} -{%- endif %}
7
7
  {{ site.field.title }}
8
8
  </title>
9
- <link rel="stylesheet" href="{{ site.assetsUrl }}/css/index.css">
9
+ <link rel="stylesheet" href="{{ site.assetsUrl }}/index.css">
10
10
  {{ doc | headTags }}
11
11
  </head>
12
12
 
@@ -1,87 +0,0 @@
1
- :root {
2
- --paInteractiveColor: #99f;
3
- }
4
-
5
- @mixin for-phone {
6
- @media not all and (min-width: 640px) {
7
- @content;
8
- }
9
- }
10
-
11
- @mixin for-tablet-up {
12
- @media (min-width: 640px) {
13
- @content;
14
- }
15
- }
16
-
17
- @mixin for-phone-and-tablet {
18
- @media not all and (min-width: 992px) {
19
- @content;
20
- }
21
- }
22
-
23
- @mixin for-desktop {
24
- @media (min-width: 992px) {
25
- @content;
26
- }
27
- }
28
-
29
- $f6: 0.375rem;
30
- $f7: 0.4375rem;
31
- $f8: 0.5rem;
32
- $f9: 0.5625rem;
33
- $f10: 0.625rem;
34
- $f11: 0.6875rem;
35
- $f12: 0.75rem;
36
- $f13: 0.8125rem;
37
- $f14: 0.875rem;
38
- $f15: 0.9375rem;
39
- $f16: 1rem;
40
- $f17: 1.0625rem;
41
- $f18: 1.125rem;
42
- $f19: 1.1875rem;
43
- $f20: 1.25rem;
44
- $f21: 1.3125rem;
45
- $f22: 1.375rem;
46
- $f23: 1.4375rem;
47
- $f24: 1.5rem;
48
- $f25: 1.5625rem;
49
- $f26: 1.625rem;
50
- $f27: 1.6875rem;
51
- $f28: 1.75rem;
52
- $f29: 1.8125rem;
53
- $f30: 1.875rem;
54
- $f31: 1.9375rem;
55
- $f32: 2rem;
56
- $f33: 2.0625rem;
57
- $f34: 2.125rem;
58
- $f35: 2.1875rem;
59
- $f36: 2.25rem;
60
- $f37: 2.3125rem;
61
- $f38: 2.375rem;
62
- $f39: 2.4375rem;
63
- $f40: 2.5rem;
64
- $f41: 2.5625rem;
65
- $f42: 2.625rem;
66
- $f43: 2.6875rem;
67
- $f44: 2.75rem;
68
- $f45: 2.8125rem;
69
- $f46: 2.875rem;
70
- $f47: 2.9375rem;
71
- $f48: 3rem;
72
- $f49: 3.0625rem;
73
- $f50: 3.125rem;
74
- $f51: 3.1875rem;
75
- $f52: 3.25rem;
76
- $f53: 3.3125rem;
77
- $f54: 3.375rem;
78
- $f55: 3.4375rem;
79
- $f56: 3.5rem;
80
- $f57: 3.5625rem;
81
- $f58: 3.625rem;
82
- $f59: 3.6875rem;
83
- $f60: 3.75rem;
84
- $f61: 3.8125rem;
85
- $f62: 3.875rem;
86
- $f63: 3.9375rem;
87
- $f64: 4rem;
@@ -1 +0,0 @@
1
- @use "theme";