@rolster/styles-foundations 1.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.
Files changed (63) hide show
  1. package/LICENSE +21 -0
  2. package/dist/styles.css +1924 -0
  3. package/dist/styles.min.css +1 -0
  4. package/dist/styles.rtl.css +1924 -0
  5. package/dist/styles.rtl.min.css +1 -0
  6. package/fonts/fabric/_fabric.-settings.scss +66 -0
  7. package/fonts/fabric/_fabric.scss +69 -0
  8. package/fonts/fabric/fabric-bold.otf +0 -0
  9. package/fonts/fabric/fabric-light.otf +0 -0
  10. package/fonts/fabric/fabric-regular.otf +0 -0
  11. package/fonts/fabric/fabric-semibold.otf +0 -0
  12. package/fonts/fabric/fabric.css +122 -0
  13. package/fonts/mona-sans/_mona-sans-settings.scss +62 -0
  14. package/fonts/mona-sans/_mona-sans.scss +69 -0
  15. package/fonts/mona-sans/mona-sans-bold.woff +0 -0
  16. package/fonts/mona-sans/mona-sans-light.woff +0 -0
  17. package/fonts/mona-sans/mona-sans-medium.woff +0 -0
  18. package/fonts/mona-sans/mona-sans-regular.woff +0 -0
  19. package/fonts/mona-sans/mona-sans-semibold.woff +0 -0
  20. package/fonts/mona-sans/mona-sans.css +118 -0
  21. package/fonts/poppins/_poppins-settings.scss +62 -0
  22. package/fonts/poppins/_poppins.scss +69 -0
  23. package/fonts/poppins/poppins-bold.woff2 +0 -0
  24. package/fonts/poppins/poppins-light.woff2 +0 -0
  25. package/fonts/poppins/poppins-medium.woff2 +0 -0
  26. package/fonts/poppins/poppins-regular.woff2 +0 -0
  27. package/fonts/poppins/poppins-semibold.woff2 +0 -0
  28. package/fonts/poppins/poppins.css +118 -0
  29. package/fonts/space-grotesk/_space-grotesk-settings.scss +62 -0
  30. package/fonts/space-grotesk/_space-grotesk.scss +69 -0
  31. package/fonts/space-grotesk/space-grotesk-bold.woff +0 -0
  32. package/fonts/space-grotesk/space-grotesk-light.woff +0 -0
  33. package/fonts/space-grotesk/space-grotesk-medium.woff +0 -0
  34. package/fonts/space-grotesk/space-grotesk-regular.woff +0 -0
  35. package/fonts/space-grotesk/space-grotesk-semibold.woff +0 -0
  36. package/fonts/space-grotesk/space-grotesk.css +118 -0
  37. package/icons/_rolster-settings.scss +763 -0
  38. package/icons/_rolster.scss +18 -0
  39. package/icons/rolster-icons.eot +0 -0
  40. package/icons/rolster-icons.svg +258 -0
  41. package/icons/rolster-icons.ttf +0 -0
  42. package/icons/rolster-icons.woff +0 -0
  43. package/icons/rolster.css +768 -0
  44. package/package.json +32 -0
  45. package/readme.md +13 -0
  46. package/scss/_rolster-components.scss +9 -0
  47. package/scss/_rolster-foundations.scss +13 -0
  48. package/scss/_rolster-utilities.scss +13 -0
  49. package/scss/components/_app.scss +89 -0
  50. package/scss/components/_box-field.scss +94 -0
  51. package/scss/foundations/_animations-foundations.scss +16 -0
  52. package/scss/foundations/_colors-foundations.scss +200 -0
  53. package/scss/foundations/_elevations-foundations.scss +157 -0
  54. package/scss/foundations/_sizings-foundations.scss +74 -0
  55. package/scss/foundations/_themes-foundations.scss +103 -0
  56. package/scss/foundations/_typographics-foundations.scss +26 -0
  57. package/scss/styles.scss +10 -0
  58. package/scss/utilities/_colors-utilities.scss +54 -0
  59. package/scss/utilities/_layout-utilities.scss +314 -0
  60. package/scss/utilities/_normalize-utilities.scss +211 -0
  61. package/scss/utilities/_texts-utilities.scss +23 -0
  62. package/scss/utilities/_themes-utilities.scss +42 -0
  63. package/scss/utilities/_typographics-utilities.scss +363 -0
@@ -0,0 +1,211 @@
1
+ // Rolster Technology Normalize Utilities
2
+ // v1.0.0
3
+ // @license MIT
4
+ // Author: Rolster Developers
5
+ // Created: 11/Ago/2022
6
+ // Updated: 11/Ago/2022
7
+
8
+ :root {
9
+ --rolster-font-family: -rolster-system-font, -apple-system,
10
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica;
11
+ }
12
+
13
+ html {
14
+ font-size: var(--rolster-font-size, 16px);
15
+ font-family: var(--rolster-font-family);
16
+ }
17
+
18
+ body {
19
+ position: absolute;
20
+ top: 0rem;
21
+ bottom: 0rem;
22
+ left: 0rem;
23
+ right: 0rem;
24
+ margin: 0rem;
25
+ padding: 0rem;
26
+ -webkit-tap-highlight-color: transparent;
27
+ background: var(--background-theme-300);
28
+ }
29
+
30
+ div {
31
+ position: relative;
32
+ width: 100%;
33
+ }
34
+
35
+ audio,
36
+ canvas,
37
+ progress,
38
+ video {
39
+ vertical-align: baseline;
40
+ }
41
+
42
+ audio:not([controls]) {
43
+ display: none;
44
+ height: 0rem;
45
+ }
46
+
47
+ b,
48
+ strong {
49
+ font-weight: bold;
50
+ }
51
+
52
+ img {
53
+ border: 0rem;
54
+ }
55
+
56
+ svg:not(:root) {
57
+ overflow: hidden;
58
+ }
59
+
60
+ figure {
61
+ margin: 1rem 40rem;
62
+ }
63
+
64
+ hr {
65
+ height: 0.0625rem;
66
+ border-width: 0rem;
67
+ box-sizing: content-box;
68
+ }
69
+
70
+ pre {
71
+ overflow: auto;
72
+ }
73
+
74
+ code,
75
+ kbd,
76
+ pre,
77
+ samp {
78
+ font-family: inherit;
79
+ font-size: 1rem;
80
+ }
81
+
82
+ label,
83
+ input,
84
+ select,
85
+ textarea {
86
+ font-family: inherit;
87
+ line-height: normal;
88
+ }
89
+
90
+ textarea {
91
+ overflow: auto;
92
+ height: auto;
93
+ font: inherit;
94
+ color: inherit;
95
+ }
96
+
97
+ textarea::placeholder {
98
+ padding-left: 0.125rem;
99
+ }
100
+
101
+ form,
102
+ input,
103
+ optgroup,
104
+ select {
105
+ margin: 0rem;
106
+ font: inherit;
107
+ color: inherit;
108
+ }
109
+
110
+ html input[type='button'],
111
+ input[type='reset'],
112
+ input[type='submit'] {
113
+ cursor: pointer;
114
+ }
115
+
116
+ a,
117
+ a div,
118
+ a span,
119
+ a ion-icon,
120
+ a ion-label,
121
+ button,
122
+ button div,
123
+ button span,
124
+ button ion-icon,
125
+ button ion-label,
126
+ [tappable],
127
+ [tappable] div,
128
+ [tappable] span,
129
+ [tappable] ion-icon,
130
+ [tappable] ion-label,
131
+ input,
132
+ textarea {
133
+ touch-action: manipulation;
134
+ }
135
+
136
+ a ion-label,
137
+ button ion-label {
138
+ pointer-events: none;
139
+ }
140
+
141
+ button {
142
+ border: 0rem;
143
+ border-radius: 0rem;
144
+ font-family: inherit;
145
+ font-style: inherit;
146
+ font-variant: inherit;
147
+ line-height: 1;
148
+ text-transform: none;
149
+ }
150
+
151
+ [tappable] {
152
+ cursor: pointer;
153
+ }
154
+
155
+ a[disabled],
156
+ button[disabled],
157
+ html input[disabled] {
158
+ cursor: default;
159
+ }
160
+
161
+ button::-moz-focus-inner,
162
+ input::-moz-focus-inner {
163
+ padding: 0rem;
164
+ border: 0rem;
165
+ }
166
+
167
+ input[type='checkbox'],
168
+ input[type='radio'] {
169
+ padding: 0rem;
170
+ box-sizing: border-box;
171
+ }
172
+
173
+ input[type='number']::-webkit-inner-spin-button,
174
+ input[type='number']::-webkit-outer-spin-button {
175
+ height: auto;
176
+ }
177
+
178
+ input[type='search']::-webkit-search-cancel-button,
179
+ input[type='search']::-webkit-search-decoration {
180
+ -webkit-appearance: none;
181
+ }
182
+
183
+ table {
184
+ border-collapse: collapse;
185
+ border-spacing: 0rem;
186
+ }
187
+
188
+ td,
189
+ th {
190
+ padding: 0rem;
191
+ }
192
+
193
+ ul {
194
+ list-style-type: none;
195
+ margin-block-start: 0rem;
196
+ margin-block-end: 0rem;
197
+ margin-inline-start: 0rem;
198
+ margin-inline-end: 0rem;
199
+ padding-inline-start: 0rem;
200
+ }
201
+
202
+ h1,
203
+ h2,
204
+ h3,
205
+ h4,
206
+ h5,
207
+ h6,
208
+ p {
209
+ margin: 0rem;
210
+ font-weight: var(--font-weight-medium);
211
+ }
@@ -0,0 +1,23 @@
1
+ // Rolster Technology Text Utilities
2
+ // v1.0.0
3
+ // @license MIT
4
+ // Author: Rolster Developers
5
+ // Created: 08/Sep/2022
6
+ // Updated: 08/Sep/2022
7
+
8
+ @mixin align($orientation) {
9
+ .align-#{$orientation} {
10
+ text-align: #{$orientation} !important;
11
+ }
12
+ }
13
+
14
+ @include align(center);
15
+ @include align(justify);
16
+ @include align(left);
17
+ @include align(right);
18
+
19
+ .truncate {
20
+ text-overflow: ellipsis;
21
+ overflow: hidden;
22
+ white-space: nowrap;
23
+ }
@@ -0,0 +1,42 @@
1
+ // Rolster Technology Themes Utilities
2
+ // v1.0.0
3
+ // @license MIT
4
+ // Author: Rolster Developers
5
+ // Created: 13/Abr/2023
6
+ // Updated: 13/Abr/2023
7
+
8
+ .font-mode-500 {
9
+ color: var(--color-theme-500);
10
+ }
11
+
12
+ .font-mode-300 {
13
+ color: var(--color-theme-300);
14
+ }
15
+
16
+ .font-mode-100 {
17
+ color: var(--color-theme-100);
18
+ }
19
+
20
+ .bg-mode-500 {
21
+ background: var(--background-theme-500);
22
+ }
23
+
24
+ .bg-mode-300 {
25
+ background: var(--background-theme-300);
26
+ }
27
+
28
+ .bg-mode-100 {
29
+ background: var(--background-theme-100);
30
+ }
31
+
32
+ .border-1-mode-500 {
33
+ border: var(--border-1-theme-500);
34
+ }
35
+
36
+ .border-2-mode-500 {
37
+ border: var(--border-2-theme-500);
38
+ }
39
+
40
+ .border-4-mode-500 {
41
+ border: var(--border-4-theme-500);
42
+ }
@@ -0,0 +1,363 @@
1
+ // Rolster Technology Typographics Utilities
2
+ // v1.0.0
3
+ // @license MIT
4
+ // Author: Rolster Developers
5
+ // Created: 20/Mar/2018
6
+ // Updated: 13/Abr/2023
7
+
8
+ h1,
9
+ .h1-default {
10
+ font-size: var(--heading-1-size);
11
+ letter-spacing: var(--heading-1-letter-spacing);
12
+ min-height: var(--heading-1-line-height);
13
+ line-height: var(--heading-1-line-height);
14
+ }
15
+
16
+ h2,
17
+ .h2-default {
18
+ font-size: var(--heading-2-size);
19
+ letter-spacing: var(--heading-2-letter-spacing);
20
+ min-height: var(--heading-2-line-height);
21
+ line-height: var(--heading-2-line-height);
22
+ }
23
+
24
+ h3,
25
+ .h3-default {
26
+ font-size: var(--heading-3-size);
27
+ letter-spacing: var(--heading-3-letter-spacing);
28
+ min-height: var(--heading-3-line-height);
29
+ line-height: var(--heading-3-line-height);
30
+ }
31
+
32
+ h4,
33
+ .h4-default {
34
+ font-size: var(--heading-4-size);
35
+ letter-spacing: var(--heading-4-letter-spacing);
36
+ min-height: var(--heading-4-line-height);
37
+ line-height: var(--heading-4-line-height);
38
+ }
39
+
40
+ h5,
41
+ .h5-default {
42
+ font-size: var(--heading-5-size);
43
+ letter-spacing: var(--heading-5-letter-spacing);
44
+ min-height: var(--heading-5-line-height);
45
+ line-height: var(--heading-5-line-height);
46
+ }
47
+
48
+ h6,
49
+ .h6-default {
50
+ font-size: var(--heading-6-size);
51
+ letter-spacing: var(--heading-6-letter-spacing);
52
+ min-height: var(--heading-6-line-height);
53
+ line-height: var(--heading-6-line-height);
54
+ }
55
+
56
+ .title-default {
57
+ font-size: var(--title-size);
58
+ letter-spacing: var(--title-letter-spacing);
59
+ min-height: var(--title-line-height);
60
+ line-height: var(--title-line-height);
61
+ }
62
+
63
+ .subtitle-default {
64
+ font-size: var(--subtitle-size);
65
+ letter-spacing: var(--subtitle-letter-spacing);
66
+ min-height: var(--subtitle-line-height);
67
+ line-height: var(--subtitle-line-height);
68
+ }
69
+
70
+ .body-default {
71
+ font-size: var(--body-size);
72
+ letter-spacing: var(--body-letter-spacing);
73
+ min-height: var(--body-line-height);
74
+ line-height: var(--body-line-height);
75
+ }
76
+
77
+ .label-default {
78
+ font-size: var(--label-size);
79
+ letter-spacing: var(--label-letter-spacing);
80
+ min-height: var(--label-line-height);
81
+ line-height: var(--label-line-height);
82
+ }
83
+
84
+ .smalltext-default {
85
+ font-size: var(--smalltext-size);
86
+ letter-spacing: var(--smalltext-letter-spacing);
87
+ min-height: var(--smalltext-line-height);
88
+ line-height: var(--smalltext-line-height);
89
+ }
90
+
91
+ .caption-default {
92
+ font-size: var(--caption-size);
93
+ letter-spacing: var(--caption-letter-spacing);
94
+ min-height: var(--caption-line-height);
95
+ line-height: var(--caption-line-height);
96
+ }
97
+
98
+ .overline-default {
99
+ font-size: var(--overline-size);
100
+ letter-spacing: var(--overline-letter-spacing);
101
+ min-height: var(--overline-line-height);
102
+ line-height: var(--overline-line-height);
103
+ }
104
+
105
+ .h1-regular {
106
+ @extend .h1-default;
107
+ font-weight: var(--font-weight-regular);
108
+ }
109
+
110
+ .h1-medium {
111
+ @extend .h1-default;
112
+ font-weight: var(--font-weight-medium);
113
+ }
114
+
115
+ .h1-semibold {
116
+ @extend .h1-default;
117
+ font-weight: var(--font-weight-semibold);
118
+ }
119
+
120
+ .h1-bold {
121
+ @extend .h1-default;
122
+ font-weight: var(--font-weight-bold);
123
+ }
124
+
125
+ .h2-regular {
126
+ @extend .h2-default;
127
+ font-weight: var(--font-weight-regular);
128
+ }
129
+
130
+ .h2-medium {
131
+ @extend .h2-default;
132
+ font-weight: var(--font-weight-medium);
133
+ }
134
+
135
+ .h2-semibold {
136
+ @extend .h2-default;
137
+ font-weight: var(--font-weight-semibold);
138
+ }
139
+
140
+ .h2-bold {
141
+ @extend .h2-default;
142
+ font-weight: var(--font-weight-bold);
143
+ }
144
+
145
+ .h3-regular {
146
+ @extend .h3-default;
147
+ font-weight: var(--font-weight-regular);
148
+ }
149
+
150
+ .h3-medium {
151
+ @extend .h3-default;
152
+ font-weight: var(--font-weight-medium);
153
+ }
154
+
155
+ .h3-semibold {
156
+ @extend .h3-default;
157
+ font-weight: var(--font-weight-semibold);
158
+ }
159
+
160
+ .h3-bold {
161
+ @extend .h3-default;
162
+ font-weight: var(--font-weight-bold);
163
+ }
164
+
165
+ .h4-regular {
166
+ @extend .h4-default;
167
+ font-weight: var(--font-weight-regular);
168
+ }
169
+
170
+ .h4-medium {
171
+ @extend .h4-default;
172
+ font-weight: var(--font-weight-medium);
173
+ }
174
+
175
+ .h4-semibold {
176
+ @extend .h4-default;
177
+ font-weight: var(--font-weight-semibold);
178
+ }
179
+
180
+ .h4-bold {
181
+ @extend .h4-default;
182
+ font-weight: var(--font-weight-bold);
183
+ }
184
+
185
+ .h5-regular {
186
+ @extend .h5-default;
187
+ font-weight: var(--font-weight-regular);
188
+ }
189
+
190
+ .h5-medium {
191
+ @extend .h5-default;
192
+ font-weight: var(--font-weight-medium);
193
+ }
194
+
195
+ .h5-semibold {
196
+ @extend .h5-default;
197
+ font-weight: var(--font-weight-semibold);
198
+ }
199
+
200
+ .h5-bold {
201
+ @extend .h5-default;
202
+ font-weight: var(--font-weight-bold);
203
+ }
204
+
205
+ .h6-regular {
206
+ @extend .h6-default;
207
+ font-weight: var(--font-weight-regular);
208
+ }
209
+
210
+ .h6-medium {
211
+ @extend .h6-default;
212
+ font-weight: var(--font-weight-medium);
213
+ }
214
+
215
+ .h6-semibold {
216
+ @extend .h6-default;
217
+ font-weight: var(--font-weight-semibold);
218
+ }
219
+
220
+ .h6-bold {
221
+ @extend .h6-default;
222
+ font-weight: var(--font-weight-bold);
223
+ }
224
+
225
+ .title-regular {
226
+ @extend .title-default;
227
+ font-weight: var(--font-weight-regular);
228
+ }
229
+
230
+ .title-medium {
231
+ @extend .title-default;
232
+ font-weight: var(--font-weight-medium);
233
+ }
234
+
235
+ .title-semibold {
236
+ @extend .title-default;
237
+ font-weight: var(--font-weight-semibold);
238
+ }
239
+
240
+ .title-bold {
241
+ @extend .title-default;
242
+ font-weight: var(--font-weight-bold);
243
+ }
244
+
245
+ .subtitle-regular {
246
+ @extend .subtitle-default;
247
+ font-weight: var(--font-weight-regular);
248
+ }
249
+
250
+ .subtitle-medium {
251
+ @extend .subtitle-default;
252
+ font-weight: var(--font-weight-medium);
253
+ }
254
+
255
+ .subtitle-semibold {
256
+ @extend .subtitle-default;
257
+ font-weight: var(--font-weight-semibold);
258
+ }
259
+
260
+ .subtitle-bold {
261
+ @extend .subtitle-default;
262
+ font-weight: var(--font-weight-bold);
263
+ }
264
+
265
+ .body-regular {
266
+ @extend .body-default;
267
+ font-weight: var(--font-weight-regular);
268
+ }
269
+
270
+ .body-medium {
271
+ @extend .body-default;
272
+ font-weight: var(--font-weight-medium);
273
+ }
274
+
275
+ .body-semibold {
276
+ @extend .body-default;
277
+ font-weight: var(--font-weight-semibold);
278
+ }
279
+
280
+ .body-bold {
281
+ @extend .body-default;
282
+ font-weight: var(--font-weight-bold);
283
+ }
284
+
285
+ .label-regular {
286
+ @extend .label-default;
287
+ font-weight: var(--font-weight-regular);
288
+ }
289
+
290
+ .label-medium {
291
+ @extend .label-default;
292
+ font-weight: var(--font-weight-medium);
293
+ }
294
+
295
+ .label-semibold {
296
+ @extend .label-default;
297
+ font-weight: var(--font-weight-semibold);
298
+ }
299
+
300
+ .label-bold {
301
+ @extend .label-default;
302
+ font-weight: var(--font-weight-bold);
303
+ }
304
+
305
+ .smalltext-regular {
306
+ @extend .smalltext-default;
307
+ font-weight: var(--font-weight-regular);
308
+ }
309
+
310
+ .smalltext-medium {
311
+ @extend .smalltext-default;
312
+ font-weight: var(--font-weight-medium);
313
+ }
314
+
315
+ .smalltext-semibold {
316
+ @extend .smalltext-default;
317
+ font-weight: var(--font-weight-semibold);
318
+ }
319
+
320
+ .smalltext-bold {
321
+ @extend .smalltext-default;
322
+ font-weight: var(--font-weight-bold);
323
+ }
324
+
325
+ .caption-regular {
326
+ @extend .caption-default;
327
+ font-weight: var(--font-weight-regular);
328
+ }
329
+
330
+ .caption-medium {
331
+ @extend .caption-default;
332
+ font-weight: var(--font-weight-medium);
333
+ }
334
+
335
+ .caption-semibold {
336
+ @extend .caption-default;
337
+ font-weight: var(--font-weight-semibold);
338
+ }
339
+
340
+ .caption-bold {
341
+ @extend .caption-default;
342
+ font-weight: var(--font-weight-bold);
343
+ }
344
+
345
+ .overline-regular {
346
+ @extend .overline-default;
347
+ font-weight: var(--font-weight-regular);
348
+ }
349
+
350
+ .overline-medium {
351
+ @extend .overline-default;
352
+ font-weight: var(--font-weight-medium);
353
+ }
354
+
355
+ .overline-semibold {
356
+ @extend .overline-default;
357
+ font-weight: var(--font-weight-semibold);
358
+ }
359
+
360
+ .overline-bold {
361
+ @extend .overline-default;
362
+ font-weight: var(--font-weight-bold);
363
+ }