@rolster/styles-foundations 1.0.1 → 1.0.5
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/dist/rolster-styles.css +2257 -814
- package/dist/rolster-styles.min.css +1 -1
- package/dist/rolster-styles.rtl.css +2257 -814
- package/dist/rolster-styles.rtl.min.css +1 -1
- package/package.json +33 -33
- package/readme.md +13 -13
- package/scss/_rolster-components.scss +63 -9
- package/scss/_rolster-foundations.scss +13 -13
- package/scss/_rolster-styles.scss +10 -10
- package/scss/_rolster-utilities.scss +14 -13
- package/scss/components/_app.scss +11 -10
- package/scss/components/_box-field.scss +30 -35
- package/scss/components/_data-table.scss +263 -0
- package/scss/components/_form.scss +30 -0
- package/scss/components/_list-field.scss +253 -0
- package/scss/foundations/_themes-foundations.scss +122 -103
- package/scss/utilities/_colors-utilities.scss +54 -54
- package/scss/utilities/_helpers-utilities.scss +124 -0
- package/scss/utilities/_layout-utilities.scss +314 -314
- package/scss/utilities/_normalize-utilities.scss +2 -2
- package/scss/utilities/_themes-utilities.scss +42 -42
- package/scss/utilities/_typographics-utilities.scss +88 -359
- package/fonts/fabric/_fabric.-settings.scss +0 -66
- package/fonts/fabric/_fabric.scss +0 -69
- package/fonts/fabric/fabric-bold.otf +0 -0
- package/fonts/fabric/fabric-light.otf +0 -0
- package/fonts/fabric/fabric-regular.otf +0 -0
- package/fonts/fabric/fabric-semibold.otf +0 -0
- package/fonts/fabric/fabric.css +0 -122
- package/fonts/mona-sans/_mona-sans-settings.scss +0 -62
- package/fonts/mona-sans/_mona-sans.scss +0 -69
- package/fonts/mona-sans/mona-sans-bold.woff +0 -0
- package/fonts/mona-sans/mona-sans-light.woff +0 -0
- package/fonts/mona-sans/mona-sans-medium.woff +0 -0
- package/fonts/mona-sans/mona-sans-regular.woff +0 -0
- package/fonts/mona-sans/mona-sans-semibold.woff +0 -0
- package/fonts/mona-sans/mona-sans.css +0 -118
- package/fonts/poppins/_poppins-settings.scss +0 -62
- package/fonts/poppins/_poppins.scss +0 -69
- package/fonts/poppins/poppins-bold.woff2 +0 -0
- package/fonts/poppins/poppins-light.woff2 +0 -0
- package/fonts/poppins/poppins-medium.woff2 +0 -0
- package/fonts/poppins/poppins-regular.woff2 +0 -0
- package/fonts/poppins/poppins-semibold.woff2 +0 -0
- package/fonts/poppins/poppins.css +0 -118
- package/fonts/space-grotesk/_space-grotesk-settings.scss +0 -62
- package/fonts/space-grotesk/_space-grotesk.scss +0 -69
- package/fonts/space-grotesk/space-grotesk-bold.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-light.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-medium.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-regular.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-semibold.woff +0 -0
- package/fonts/space-grotesk/space-grotesk.css +0 -118
- package/icons/_rolster-settings.scss +0 -763
- package/icons/_rolster.scss +0 -18
- package/icons/rolster-icons.eot +0 -0
- package/icons/rolster-icons.svg +0 -258
- package/icons/rolster-icons.ttf +0 -0
- package/icons/rolster-icons.woff +0 -0
- package/icons/rolster.css +0 -768
|
@@ -1,103 +1,122 @@
|
|
|
1
|
-
// Rolster Technology Themes Foundations
|
|
2
|
-
// v1.
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 03/Mar/2022
|
|
6
|
-
// Updated:
|
|
7
|
-
|
|
8
|
-
@mixin border-theme
|
|
9
|
-
--border-1-
|
|
10
|
-
var(--
|
|
11
|
-
|
|
12
|
-
--border-2-
|
|
13
|
-
var(--
|
|
14
|
-
|
|
15
|
-
--border-4-
|
|
16
|
-
var(--
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin
|
|
20
|
-
--
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
--
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
@
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
--
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
--
|
|
62
|
-
|
|
63
|
-
--
|
|
64
|
-
|
|
65
|
-
--
|
|
66
|
-
|
|
67
|
-
--
|
|
68
|
-
|
|
69
|
-
--
|
|
70
|
-
|
|
71
|
-
--
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
--
|
|
76
|
-
|
|
77
|
-
--
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
@include theme
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
@include theme
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
1
|
+
// Rolster Technology Themes Foundations
|
|
2
|
+
// v1.1.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 03/Mar/2022
|
|
6
|
+
// Updated: 29/Sep/2023
|
|
7
|
+
|
|
8
|
+
@mixin border-theme($theme, $token) {
|
|
9
|
+
--border-1-theme-#{$token}: var(--border-1) solid
|
|
10
|
+
var(--border-#{$theme}-#{$token});
|
|
11
|
+
|
|
12
|
+
--border-2-theme-#{$token}: var(--border-2) solid
|
|
13
|
+
var(--border-#{$theme}-#{$token});
|
|
14
|
+
|
|
15
|
+
--border-4-theme-#{$token}: var(--border-4) solid
|
|
16
|
+
var(--border-#{$theme}-#{$token});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin border-rolster-theme($token, $color) {
|
|
20
|
+
--border-1-rolster-#{$token}: var(--border-1) solid
|
|
21
|
+
var(--color-#{$color}-#{$token});
|
|
22
|
+
|
|
23
|
+
--border-2-rolster-#{$token}: var(--border-2) solid
|
|
24
|
+
var(--color-#{$color}-#{$token});
|
|
25
|
+
|
|
26
|
+
--border-4-rolster-#{$token}: var(--border-4) solid
|
|
27
|
+
var(--color-#{$color}-#{$token});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin rolster-theme($color) {
|
|
31
|
+
--color-rolster-900: var(--color-#{$color}-900);
|
|
32
|
+
|
|
33
|
+
--color-rolster-700: var(--color-#{$color}-700);
|
|
34
|
+
|
|
35
|
+
--color-rolster-500: var(--color-#{$color}-500);
|
|
36
|
+
|
|
37
|
+
--color-rolster-300: var(--color-#{$color}-300);
|
|
38
|
+
|
|
39
|
+
--color-rolster-100: var(--color-#{$color}-100);
|
|
40
|
+
|
|
41
|
+
--skeleton-rolster-500: var(--skeleton-#{$color}-500);
|
|
42
|
+
|
|
43
|
+
--skeleton-rolster-300: var(--skeleton-#{$color}-300);
|
|
44
|
+
|
|
45
|
+
--skeleton-rolster-100: var(--skeleton-#{$color}-100);
|
|
46
|
+
|
|
47
|
+
@include border-rolster-theme(900, $color);
|
|
48
|
+
@include border-rolster-theme(700, $color);
|
|
49
|
+
@include border-rolster-theme(500, $color);
|
|
50
|
+
@include border-rolster-theme(300, $color);
|
|
51
|
+
@include border-rolster-theme(100, $color);
|
|
52
|
+
|
|
53
|
+
--box-shadow-rolster-500: var(--box-shadow-#{$color}-500);
|
|
54
|
+
|
|
55
|
+
--backdrop-rolster-500: var(--backdrop-#{$color}-500);
|
|
56
|
+
|
|
57
|
+
--gradient-rolster-500: var(--gradient-#{$color}-500);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin shadow-theme($theme, $token) {
|
|
61
|
+
--shadow-#{$token}-theme-2: var(--shadow-#{$token}-#{$theme}-2);
|
|
62
|
+
|
|
63
|
+
--shadow-#{$token}-theme-4: var(--shadow-#{$token}-#{$theme}-4);
|
|
64
|
+
|
|
65
|
+
--shadow-#{$token}-theme-8: var(--shadow-#{$token}-#{$theme}-8);
|
|
66
|
+
|
|
67
|
+
--shadow-#{$token}-theme-16: var(--shadow-#{$token}-#{$theme}-16);
|
|
68
|
+
|
|
69
|
+
--shadow-#{$token}-theme-24: var(--shadow-#{$token}-#{$theme}-24);
|
|
70
|
+
|
|
71
|
+
--shadow-#{$token}-theme-32: var(--shadow-#{$token}-#{$theme}-32);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:root {
|
|
75
|
+
--background-theme-500: var(--background-light-500);
|
|
76
|
+
|
|
77
|
+
--background-theme-300: var(--background-light-300);
|
|
78
|
+
|
|
79
|
+
--background-theme-100: var(--background-light-100);
|
|
80
|
+
|
|
81
|
+
--color-theme-500: var(--color-dark-500);
|
|
82
|
+
|
|
83
|
+
--color-theme-300: var(--color-dark-300);
|
|
84
|
+
|
|
85
|
+
--color-theme-100: var(--color-dark-100);
|
|
86
|
+
|
|
87
|
+
--border-theme-500: var(--border-dark-500);
|
|
88
|
+
|
|
89
|
+
--border-theme-300: var(--border-dark-300);
|
|
90
|
+
|
|
91
|
+
--border-theme-100: var(--border-dark-100);
|
|
92
|
+
|
|
93
|
+
@include border-theme('dark', 500);
|
|
94
|
+
@include border-theme('dark', 300);
|
|
95
|
+
@include border-theme('dark', 100);
|
|
96
|
+
@include rolster-theme('base');
|
|
97
|
+
@include shadow-theme('light', 'bottom');
|
|
98
|
+
@include shadow-theme('light', 'top');
|
|
99
|
+
@include shadow-theme('light', 'right');
|
|
100
|
+
@include shadow-theme('light', 'left');
|
|
101
|
+
@include shadow-theme('light', 'center');
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
*[rls-theme='success'] {
|
|
105
|
+
@include rolster-theme('success');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
*[rls-theme='info'] {
|
|
109
|
+
@include rolster-theme('info');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
*[rls-theme='happy'] {
|
|
113
|
+
@include rolster-theme('happy');
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
*[rls-theme='warning'] {
|
|
117
|
+
@include rolster-theme('warning');
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
*[rls-theme='danger'] {
|
|
121
|
+
@include rolster-theme('danger');
|
|
122
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
// Rolster Technology Colors 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-dark-500 {
|
|
9
|
-
color: var(--color-dark-500);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.font-dark-300 {
|
|
13
|
-
color: var(--color-dark-300);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.font-dark-100 {
|
|
17
|
-
color: var(--color-dark-100);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.font-light-500 {
|
|
21
|
-
color: var(--color-light-500);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.font-light-300 {
|
|
25
|
-
color: var(--color-light-300);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.font-light-100 {
|
|
29
|
-
color: var(--color-light-100);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.bg-dark-500 {
|
|
33
|
-
background: var(--background-dark-500);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.bg-dark-300 {
|
|
37
|
-
background: var(--background-dark-300);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.bg-dark-100 {
|
|
41
|
-
background: var(--background-dark-100);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.bg-light-500 {
|
|
45
|
-
background: var(--background-light-500);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.bg-light-300 {
|
|
49
|
-
background: var(--background-light-300);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.bg-light-100 {
|
|
53
|
-
background: var(--background-light-100);
|
|
54
|
-
}
|
|
1
|
+
// Rolster Technology Colors 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-dark-500 {
|
|
9
|
+
color: var(--color-dark-500);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.font-dark-300 {
|
|
13
|
+
color: var(--color-dark-300);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.font-dark-100 {
|
|
17
|
+
color: var(--color-dark-100);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.font-light-500 {
|
|
21
|
+
color: var(--color-light-500);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.font-light-300 {
|
|
25
|
+
color: var(--color-light-300);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.font-light-100 {
|
|
29
|
+
color: var(--color-light-100);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.bg-dark-500 {
|
|
33
|
+
background: var(--background-dark-500);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.bg-dark-300 {
|
|
37
|
+
background: var(--background-dark-300);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.bg-dark-100 {
|
|
41
|
+
background: var(--background-dark-100);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.bg-light-500 {
|
|
45
|
+
background: var(--background-light-500);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.bg-light-300 {
|
|
49
|
+
background: var(--background-light-300);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.bg-light-100 {
|
|
53
|
+
background: var(--background-light-100);
|
|
54
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// Rolster Technology Helpers Utilities
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 23/Sep/2023
|
|
6
|
+
// Updated: 23/Sep/2023
|
|
7
|
+
|
|
8
|
+
@mixin padding($size) {
|
|
9
|
+
.pdg-top-#{$size} {
|
|
10
|
+
padding-top: var(--sizing-#{$size});
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.pdg-rgt-#{$size} {
|
|
14
|
+
padding-right: var(--sizing-#{$size});
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.pdg-bot-#{$size} {
|
|
18
|
+
padding-bottom: var(--sizing-#{$size});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pdg-lft-#{$size} {
|
|
22
|
+
padding-left: var(--sizing-#{$size});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pdg-hrz-#{$size} {
|
|
26
|
+
padding: 0rem var(--sizing-#{$size});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pdg-vrt-#{$size} {
|
|
30
|
+
padding: var(--sizing-#{$size}) 0rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.pdg-#{$size} {
|
|
34
|
+
padding: var(--sizing-#{$size});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@mixin padding-box-sizing($size) {
|
|
39
|
+
.pdx-top-#{$size} {
|
|
40
|
+
padding-top: var(--sizing-#{$size});
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.pdx-rgt-#{$size} {
|
|
45
|
+
padding-right: var(--sizing-#{$size});
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pdx-bot-#{$size} {
|
|
50
|
+
padding-bottom: var(--sizing-#{$size});
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.pdx-lft-#{$size} {
|
|
55
|
+
padding-left: var(--sizing-#{$size});
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.pdx-hrz-#{$size} {
|
|
60
|
+
padding: 0rem var(--sizing-#{$size});
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.pdx-vrt-#{$size} {
|
|
65
|
+
padding: var(--sizing-#{$size}) 0rem;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.pdx-#{$size} {
|
|
70
|
+
padding: var(--sizing-#{$size});
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@mixin margin($size) {
|
|
76
|
+
.mrg-top-#{$size} {
|
|
77
|
+
margin-top: var(--sizing-#{$size});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.mrg-rgt-#{$size} {
|
|
81
|
+
margin-right: var(--sizing-#{$size});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.mrg-bot-#{$size} {
|
|
85
|
+
margin-bottom: var(--sizing-#{$size});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.mrg-lft-#{$size} {
|
|
89
|
+
margin-left: var(--sizing-#{$size});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.mrg-hrz-#{$size} {
|
|
93
|
+
margin: 0rem var(--sizing-#{$size});
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.mrg-vrt-#{$size} {
|
|
97
|
+
margin: var(--sizing-#{$size}) 0rem;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.mrg-#{$size} {
|
|
101
|
+
margin: var(--sizing-#{$size});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@include padding('4');
|
|
106
|
+
@include padding('8');
|
|
107
|
+
@include padding('12');
|
|
108
|
+
@include padding('16');
|
|
109
|
+
@include padding('24');
|
|
110
|
+
@include padding('36');
|
|
111
|
+
|
|
112
|
+
@include padding-box-sizing('4');
|
|
113
|
+
@include padding-box-sizing('8');
|
|
114
|
+
@include padding-box-sizing('12');
|
|
115
|
+
@include padding-box-sizing('16');
|
|
116
|
+
@include padding-box-sizing('24');
|
|
117
|
+
@include padding-box-sizing('36');
|
|
118
|
+
|
|
119
|
+
@include margin('4');
|
|
120
|
+
@include margin('8');
|
|
121
|
+
@include margin('12');
|
|
122
|
+
@include margin('16');
|
|
123
|
+
@include margin('24');
|
|
124
|
+
@include margin('36');
|