@maggioli-design-system/styles 7.0.0 → 8.0.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.
package/README.md CHANGED
@@ -10,3 +10,20 @@ These are the styles used by components libraries like `@maggioli-design-system/
10
10
  ```
11
11
  npm install @maggioli-design-system/styles@latest
12
12
  ```
13
+
14
+ ---
15
+
16
+ ### Structure
17
+
18
+ #### Folder `postcss`
19
+
20
+ Here you add CSS that should be buit with postcss, which is stored inside `dist/css`.
21
+
22
+ #### Folder `css`
23
+
24
+ Here you add static CSS that should be stored inside `dist/css`.
25
+
26
+ #### Folder `tailwind`
27
+
28
+ Here you add Tailwind CSS that should be stored inside `dist/tailwind`, this folder is used when you use tailwind also in your product.
29
+
package/dist/css/base.css CHANGED
@@ -1,27 +1,55 @@
1
+ /*!
2
+ This file requires postcss and eventually postcss-cli to build this tailwind css file.
3
+ You should use these postcss plugins in the postcss.config.js file:
4
+
5
+ module.exports = {
6
+ plugins: [
7
+ require('postcss-import'),
8
+ require('tailwindcss/nesting'),
9
+ require('tailwindcss'),
10
+ require('autoprefixer'),
11
+ ],
12
+ }
13
+ */
14
+
1
15
  html {
2
16
  scroll-behavior: smooth;
3
17
  }
4
18
 
5
- body, html {
19
+ body,
20
+ html {
6
21
  margin: 0px;
7
22
  }
8
23
 
9
24
  body {
10
- font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
11
25
  font-size: 1rem;
12
26
  line-height: 1.5rem;
27
+ font-family: Karla, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
13
28
  --tw-text-opacity: 1;
14
- color: rgba(var(--adjust-tone-04), var(--tw-text-opacity));
29
+ color: rgba(var(--adjust-tone-02), var(--tw-text-opacity));
30
+
15
31
  -moz-osx-font-smoothing: grayscale;
16
32
  -webkit-font-smoothing: antialiased;
17
33
  -webkit-tap-highlight-color: transparent;
18
- text-rendering: optimizeLegibility;
34
+ text-rendering: optimizelegibility;
19
35
  -webkit-text-size-adjust: 100%;
20
36
  -moz-text-size-adjust: 100%;
21
37
  text-size-adjust: 100%;
22
38
  }
23
39
 
24
- button, optgroup, select {
40
+ ::-moz-selection {
41
+ background-color: var(--selection-background, rgb(var(--label-sky-09)));
42
+ color: var(--selection-color, rgb(var(--label-sky-01)));
43
+ }
44
+
45
+ ::selection {
46
+ background-color: var(--selection-background, rgb(var(--label-sky-09)));
47
+ color: var(--selection-color, rgb(var(--label-sky-01)));
48
+ }
49
+
50
+ button,
51
+ optgroup,
52
+ select {
25
53
  font-family: Roboto, -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', 'Helvetica Neue', sans-serif;
26
54
  font-weight: 500;
27
55
  line-height: 1.625;
@@ -29,14 +57,17 @@ button, optgroup, select {
29
57
  -moz-osx-font-smoothing: grayscale;
30
58
  }
31
59
 
32
- input, textarea {
60
+ input,
61
+ textarea {
33
62
  -webkit-appearance: none;
34
63
  -moz-appearance: none;
35
64
  appearance: none;
65
+
36
66
  font-family: inherit;
37
67
  }
38
68
 
39
- b, strong {
69
+ b,
70
+ strong {
40
71
  font-weight: 600;
41
72
  letter-spacing: -0.025em;
42
73
  }
@@ -44,29 +75,45 @@ b, strong {
44
75
  a {
45
76
  --tw-text-opacity: 1;
46
77
  color: rgba(var(--brand-maggioli-03), var(--tw-text-opacity));
78
+
47
79
  font-family: inherit;
48
80
  font-size: inherit;
49
81
  font-weight: inherit;
50
82
  }
51
83
 
52
- a, aside, body, code, div, datalist, footer, form, h1, h2, h3, h4, h5, h6, header, hr, html, input, li, main, section, span, ul, textarea {
84
+ a,
85
+ aside,
86
+ body,
87
+ code,
88
+ div,
89
+ datalist,
90
+ footer,
91
+ form,
92
+ h1,
93
+ h2,
94
+ h3,
95
+ h4,
96
+ h5,
97
+ h6,
98
+ header,
99
+ hr,
100
+ html,
101
+ input,
102
+ li,
103
+ main,
104
+ section,
105
+ span,
106
+ ul,
107
+ textarea {
53
108
  box-sizing: border-box;
54
109
  }
55
110
 
56
- h1, h2, h3, h4, h5, h6, p {
111
+ h1,
112
+ h2,
113
+ h3,
114
+ h4,
115
+ h5,
116
+ h6,
117
+ p {
57
118
  margin: 0px;
58
119
  }
59
-
60
- ::-moz-selection {
61
- --tw-bg-opacity: 1;
62
- background-color: rgba(var(--brand-maggioli-09), var(--tw-bg-opacity));
63
- --tw-text-opacity: 1;
64
- color: rgba(var(--brand-maggioli-02), var(--tw-text-opacity));
65
- }
66
-
67
- ::selection {
68
- --tw-bg-opacity: 1;
69
- background-color: rgba(var(--brand-maggioli-09), var(--tw-bg-opacity));
70
- --tw-text-opacity: 1;
71
- color: rgba(var(--brand-maggioli-02), var(--tw-text-opacity));
72
- }
@@ -1,52 +1,52 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Thu, 12 May 2022 12:41:28 GMT
4
+ Generated at Mon, 27 Jun 2022 07:54:51 GMT
5
5
  */
6
6
 
7
7
  :root {
8
8
  --brand-synbee-eolo-01: #2b4066;
9
- --brand-synbee-eolo-02: #324b76;
9
+ --brand-synbee-eolo-02: #324a76;
10
10
  --brand-synbee-eolo-03: #3d5b91;
11
11
  --brand-synbee-eolo-04: #496dad;
12
- --brand-synbee-eolo-05: #6485be;
12
+ --brand-synbee-eolo-05: #6585be;
13
13
  --brand-synbee-eolo-06: #8aa2ce;
14
- --brand-synbee-eolo-07: #b1c1de;
15
- --brand-synbee-eolo-08: #ced9eb;
16
- --brand-synbee-eolo-09: #e1e8f2;
17
- --brand-synbee-eolo-10: #f2f4f9;
14
+ --brand-synbee-eolo-07: #b0c1de;
15
+ --brand-synbee-eolo-08: #cfd9eb;
16
+ --brand-synbee-eolo-09: #e3e9f3;
17
+ --brand-synbee-eolo-10: #f2f5f9;
18
18
  --brand-synbee-eolo: #597cb9;
19
19
  --brand-synbee-eolo-v1-01: #1a263d;
20
- --brand-synbee-eolo-v1-02: #233453;
20
+ --brand-synbee-eolo-v1-02: #233452;
21
21
  --brand-synbee-eolo-v1-03: #2b4066;
22
22
  --brand-synbee-eolo-v1-04: #334c79;
23
23
  --brand-synbee-eolo-v1-05: #3b598d;
24
- --brand-synbee-eolo-v1-06: #4466a0;
24
+ --brand-synbee-eolo-v1-06: #4465a0;
25
25
  --brand-synbee-eolo-v1-07: #4c72b4;
26
- --brand-synbee-eolo-v1-08: #5d7fbb;
26
+ --brand-synbee-eolo-v1-08: #5d80bb;
27
27
  --brand-synbee-eolo-v1-09: #708ec3;
28
28
  --brand-synbee-eolo-v1-10: #859ecb;
29
29
  --brand-synbee-eolo-v1-11: #98aed4;
30
- --brand-synbee-eolo-v1-12: #abbddc;
30
+ --brand-synbee-eolo-v1-12: #acbddc;
31
31
  --brand-synbee-eolo-v1-13: #bccae3;
32
32
  --brand-synbee-eolo-v1-14: #c6d2e7;
33
- --brand-synbee-eolo-v1-15: #ced9eb;
34
- --brand-synbee-eolo-v1-16: #d9e1ef;
33
+ --brand-synbee-eolo-v1-15: #cfd9eb;
34
+ --brand-synbee-eolo-v1-16: #d8e0ee;
35
35
  --brand-synbee-eolo-v1-17: #e0e7f2;
36
36
  --brand-synbee-eolo-v1-18: #e9eef6;
37
- --brand-synbee-eolo-v1-19: #f2f4f9;
38
- --brand-synbee-eolo-v1-20: #f7f9fc;
37
+ --brand-synbee-eolo-v1-19: #f0f3f9;
38
+ --brand-synbee-eolo-v1-20: #f6f8fb;
39
39
  --brand-synbee-eolo-v1: #597cb9;
40
40
  --brand-synbee-01: #513e00;
41
- --brand-synbee-02: #5d4800;
41
+ --brand-synbee-02: #5e4800;
42
42
  --brand-synbee-03: #735800;
43
43
  --brand-synbee-04: #896900;
44
44
  --brand-synbee-05: #a67f00;
45
45
  --brand-synbee-06: #c99b00;
46
46
  --brand-synbee-07: #efb800;
47
- --brand-synbee-08: #ffd447;
48
- --brand-synbee-09: #ffe798;
49
- --brand-synbee-10: #fff5d4;
47
+ --brand-synbee-08: #ffd446;
48
+ --brand-synbee-09: #ffe89a;
49
+ --brand-synbee-10: #fff5d5;
50
50
  --brand-synbee: #ffcf30;
51
51
  --adjust-tone-01: #262626;
52
52
  --adjust-tone-02: #343434;
@@ -74,14 +74,14 @@ Generated at Thu, 12 May 2022 12:41:28 GMT
74
74
  :root .dark-mode {
75
75
  --brand-synbee-eolo-01: #a3b6d8;
76
76
  --brand-synbee-eolo-02: #91a8d1;
77
- --brand-synbee-eolo-03: #7592c5;
77
+ --brand-synbee-eolo-03: #7692c5;
78
78
  --brand-synbee-eolo-04: #5b7eba;
79
79
  --brand-synbee-eolo-05: #4567a3;
80
80
  --brand-synbee-eolo-06: #354f7d;
81
- --brand-synbee-eolo-07: #26395a;
82
- --brand-synbee-eolo-08: #1b2840;
83
- --brand-synbee-eolo-09: #121c2c;
84
- --brand-synbee-eolo-10: #0a0f17;
81
+ --brand-synbee-eolo-07: #26395b;
82
+ --brand-synbee-eolo-08: #1b283f;
83
+ --brand-synbee-eolo-09: #131c2c;
84
+ --brand-synbee-eolo-10: #090e16;
85
85
  --brand-synbee-eolo: #597cb9;
86
86
  --brand-synbee-eolo-v1-01: #d1daeb;
87
87
  --brand-synbee-eolo-v1-02: #bac8e2;
@@ -90,30 +90,30 @@ Generated at Thu, 12 May 2022 12:41:28 GMT
90
90
  --brand-synbee-eolo-v1-05: #7a96c7;
91
91
  --brand-synbee-eolo-v1-06: #6686bf;
92
92
  --brand-synbee-eolo-v1-07: #5579b7;
93
- --brand-synbee-eolo-v1-08: #486cab;
93
+ --brand-synbee-eolo-v1-08: #486caa;
94
94
  --brand-synbee-eolo-v1-09: #405f97;
95
95
  --brand-synbee-eolo-v1-10: #375282;
96
96
  --brand-synbee-eolo-v1-11: #2f4770;
97
97
  --brand-synbee-eolo-v1-12: #283c5e;
98
98
  --brand-synbee-eolo-v1-13: #223351;
99
99
  --brand-synbee-eolo-v1-14: #1e2d47;
100
- --brand-synbee-eolo-v1-15: #1b2840;
100
+ --brand-synbee-eolo-v1-15: #1b283f;
101
101
  --brand-synbee-eolo-v1-16: #172337;
102
- --brand-synbee-eolo-v1-17: #141d2e;
103
- --brand-synbee-eolo-v1-18: #101826;
104
- --brand-synbee-eolo-v1-19: #0b111a;
105
- --brand-synbee-eolo-v1-20: #070b11;
102
+ --brand-synbee-eolo-v1-17: #131d2e;
103
+ --brand-synbee-eolo-v1-18: #101725;
104
+ --brand-synbee-eolo-v1-19: #0b101a;
105
+ --brand-synbee-eolo-v1-20: #06090f;
106
106
  --brand-synbee-eolo-v1: #597cb9;
107
107
  --brand-synbee-01: #e2ae00;
108
108
  --brand-synbee-02: #d1a000;
109
- --brand-synbee-03: #b68b00;
109
+ --brand-synbee-03: #b68c00;
110
110
  --brand-synbee-04: #9d7800;
111
111
  --brand-synbee-05: #816300;
112
112
  --brand-synbee-06: #644c00;
113
113
  --brand-synbee-07: #483700;
114
114
  --brand-synbee-08: #332700;
115
115
  --brand-synbee-09: #231b00;
116
- --brand-synbee-10: #130f00;
116
+ --brand-synbee-10: #120e00;
117
117
  --brand-synbee: #ffcf30;
118
118
  --adjust-tone-01: #d9d9d9;
119
119
  --adjust-tone-02: #c7c7c7;
@@ -142,14 +142,14 @@ Generated at Thu, 12 May 2022 12:41:28 GMT
142
142
  :root .dark-mode-os {
143
143
  --brand-synbee-eolo-01: #a3b6d8;
144
144
  --brand-synbee-eolo-02: #91a8d1;
145
- --brand-synbee-eolo-03: #7592c5;
145
+ --brand-synbee-eolo-03: #7692c5;
146
146
  --brand-synbee-eolo-04: #5b7eba;
147
147
  --brand-synbee-eolo-05: #4567a3;
148
148
  --brand-synbee-eolo-06: #354f7d;
149
- --brand-synbee-eolo-07: #26395a;
150
- --brand-synbee-eolo-08: #1b2840;
151
- --brand-synbee-eolo-09: #121c2c;
152
- --brand-synbee-eolo-10: #0a0f17;
149
+ --brand-synbee-eolo-07: #26395b;
150
+ --brand-synbee-eolo-08: #1b283f;
151
+ --brand-synbee-eolo-09: #131c2c;
152
+ --brand-synbee-eolo-10: #090e16;
153
153
  --brand-synbee-eolo: #597cb9;
154
154
  --brand-synbee-eolo-v1-01: #d1daeb;
155
155
  --brand-synbee-eolo-v1-02: #bac8e2;
@@ -158,30 +158,30 @@ Generated at Thu, 12 May 2022 12:41:28 GMT
158
158
  --brand-synbee-eolo-v1-05: #7a96c7;
159
159
  --brand-synbee-eolo-v1-06: #6686bf;
160
160
  --brand-synbee-eolo-v1-07: #5579b7;
161
- --brand-synbee-eolo-v1-08: #486cab;
161
+ --brand-synbee-eolo-v1-08: #486caa;
162
162
  --brand-synbee-eolo-v1-09: #405f97;
163
163
  --brand-synbee-eolo-v1-10: #375282;
164
164
  --brand-synbee-eolo-v1-11: #2f4770;
165
165
  --brand-synbee-eolo-v1-12: #283c5e;
166
166
  --brand-synbee-eolo-v1-13: #223351;
167
167
  --brand-synbee-eolo-v1-14: #1e2d47;
168
- --brand-synbee-eolo-v1-15: #1b2840;
168
+ --brand-synbee-eolo-v1-15: #1b283f;
169
169
  --brand-synbee-eolo-v1-16: #172337;
170
- --brand-synbee-eolo-v1-17: #141d2e;
171
- --brand-synbee-eolo-v1-18: #101826;
172
- --brand-synbee-eolo-v1-19: #0b111a;
173
- --brand-synbee-eolo-v1-20: #070b11;
170
+ --brand-synbee-eolo-v1-17: #131d2e;
171
+ --brand-synbee-eolo-v1-18: #101725;
172
+ --brand-synbee-eolo-v1-19: #0b101a;
173
+ --brand-synbee-eolo-v1-20: #06090f;
174
174
  --brand-synbee-eolo-v1: #597cb9;
175
175
  --brand-synbee-01: #e2ae00;
176
176
  --brand-synbee-02: #d1a000;
177
- --brand-synbee-03: #b68b00;
177
+ --brand-synbee-03: #b68c00;
178
178
  --brand-synbee-04: #9d7800;
179
179
  --brand-synbee-05: #816300;
180
180
  --brand-synbee-06: #644c00;
181
181
  --brand-synbee-07: #483700;
182
182
  --brand-synbee-08: #332700;
183
183
  --brand-synbee-09: #231b00;
184
- --brand-synbee-10: #130f00;
184
+ --brand-synbee-10: #120e00;
185
185
  --brand-synbee: #ffcf30;
186
186
  --adjust-tone-01: #d9d9d9;
187
187
  --adjust-tone-02: #c7c7c7;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Generated by Style Dictionary
3
3
  Do not edit directly
4
- Generated at Thu, 12 May 2022 12:41:28 GMT
4
+ Generated at Mon, 27 Jun 2022 07:54:51 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -10,40 +10,40 @@ Generated at Thu, 12 May 2022 12:41:28 GMT
10
10
  --brand-maggioli-03: #0a50d4;
11
11
  --brand-maggioli-04: #1f65e8;
12
12
  --brand-maggioli-05: #5183df;
13
- --brand-maggioli-06: #84a2da;
13
+ --brand-maggioli-06: #85a2da;
14
14
  --brand-maggioli-07: #b2c1dc;
15
- --brand-maggioli-08: #d3d9e4;
16
- --brand-maggioli-09: #e5e8ec;
17
- --brand-maggioli-10: #f5f5f6;
15
+ --brand-maggioli-08: #d2d8e4;
16
+ --brand-maggioli-09: #e6e9ed;
17
+ --brand-maggioli-10: #f4f5f6;
18
18
  --brand-maggioli: #00379e;
19
19
  }
20
20
 
21
21
  :root .dark-mode {
22
22
  --brand-maggioli-01: #a3b6db;
23
- --brand-maggioli-02: #8ea8da;
23
+ --brand-maggioli-02: #8da8da;
24
24
  --brand-maggioli-03: #6a91dc;
25
25
  --brand-maggioli-04: #447ae1;
26
26
  --brand-maggioli-05: #135ce6;
27
27
  --brand-maggioli-06: #0344be;
28
28
  --brand-maggioli-07: #01318c;
29
- --brand-maggioli-08: #07255d;
30
- --brand-maggioli-09: #0c1b38;
31
- --brand-maggioli-10: #0b0f17;
29
+ --brand-maggioli-08: #07255c;
30
+ --brand-maggioli-09: #0c1b37;
31
+ --brand-maggioli-10: #0b0e14;
32
32
  --brand-maggioli: #00379e;
33
33
  }
34
34
 
35
35
  @media (prefers-color-scheme: dark) {
36
36
  :root .dark-mode-os {
37
37
  --brand-maggioli-01: #a3b6db;
38
- --brand-maggioli-02: #8ea8da;
38
+ --brand-maggioli-02: #8da8da;
39
39
  --brand-maggioli-03: #6a91dc;
40
40
  --brand-maggioli-04: #447ae1;
41
41
  --brand-maggioli-05: #135ce6;
42
42
  --brand-maggioli-06: #0344be;
43
43
  --brand-maggioli-07: #01318c;
44
- --brand-maggioli-08: #07255d;
45
- --brand-maggioli-09: #0c1b38;
46
- --brand-maggioli-10: #0b0f17;
44
+ --brand-maggioli-08: #07255c;
45
+ --brand-maggioli-09: #0c1b37;
46
+ --brand-maggioli-10: #0b0e14;
47
47
  --brand-maggioli: #00379e;
48
48
  }
49
49
  }