@rolster/styles-foundations 1.1.14 → 2.2.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 (39) hide show
  1. package/dist/rolster-styles.css +1819 -1488
  2. package/dist/rolster-styles.min.css +1 -1
  3. package/dist/rolster-styles.rtl.css +1819 -1488
  4. package/dist/rolster-styles.rtl.min.css +1 -1
  5. package/package.json +1 -1
  6. package/readme.md +1 -1
  7. package/scss/_rolster-components.scss +64 -63
  8. package/scss/_rolster-foundations.scss +9 -9
  9. package/scss/_rolster-styles.scss +15 -2
  10. package/scss/_rolster-utilities.scss +9 -9
  11. package/scss/components/_app.scss +16 -16
  12. package/scss/components/_box-field.scss +34 -35
  13. package/scss/components/_data-table.scss +75 -74
  14. package/scss/components/_form.scss +7 -7
  15. package/scss/components/_list-field.scss +69 -70
  16. package/scss/foundations/_animations.foundation.scss +16 -0
  17. package/scss/foundations/_colors.foundation.scss +290 -0
  18. package/scss/foundations/_elevations.foundation.scss +157 -0
  19. package/scss/foundations/_sizings.foundation.scss +74 -0
  20. package/scss/foundations/_themes.foundation.scss +172 -0
  21. package/scss/foundations/_typographics.foundation.scss +26 -0
  22. package/scss/utilities/_colors.utility.scss +54 -0
  23. package/scss/utilities/_helpers.utility.scss +124 -0
  24. package/scss/utilities/{_layout-utilities.scss → _layout.utility.scss} +6 -6
  25. package/scss/utilities/{_normalize-utilities.scss → _normalize.utility.scss} +14 -8
  26. package/scss/utilities/{_texts-utilities.scss → _texts.utility.scss} +14 -14
  27. package/scss/utilities/_themes.utility.scss +42 -0
  28. package/scss/utilities/_typographics.utility.scss +107 -0
  29. package/scss/foundations/_animations-foundations.scss +0 -16
  30. package/scss/foundations/_colors-foundations.scss +0 -270
  31. package/scss/foundations/_elevations-foundations.scss +0 -157
  32. package/scss/foundations/_sizings-foundations.scss +0 -74
  33. package/scss/foundations/_themes-foundations.scss +0 -160
  34. package/scss/foundations/_typographics-foundations.scss +0 -26
  35. package/scss/utilities/_colors-utilities.scss +0 -54
  36. package/scss/utilities/_helpers-utilities.scss +0 -124
  37. package/scss/utilities/_themes-utilities.scss +0 -42
  38. package/scss/utilities/_typographics-utilities.scss +0 -107
  39. /package/scss/foundations/{_responsives-foundations.scss → _responsives.foundation.scss} +0 -0
@@ -1,54 +0,0 @@
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,124 +0,0 @@
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('x4');
106
- @include padding('x8');
107
- @include padding('x12');
108
- @include padding('x16');
109
- @include padding('x24');
110
- @include padding('x36');
111
-
112
- @include padding-box-sizing('x4');
113
- @include padding-box-sizing('x8');
114
- @include padding-box-sizing('x12');
115
- @include padding-box-sizing('x16');
116
- @include padding-box-sizing('x24');
117
- @include padding-box-sizing('x36');
118
-
119
- @include margin('x4');
120
- @include margin('x8');
121
- @include margin('x12');
122
- @include margin('x16');
123
- @include margin('x24');
124
- @include margin('x36');
@@ -1,42 +0,0 @@
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
- }
@@ -1,107 +0,0 @@
1
- // Rolster Technology Typographics Utilities
2
- // v2.0.0
3
- // @license MIT
4
- // Author: Rolster Developers
5
- // Created: 20/Mar/2018
6
- // Updated: 13/Sep/2023
7
-
8
- @mixin typographic($name, $key) {
9
- .#{$name}-default {
10
- font-size: var(--#{$key}-font-size);
11
- letter-spacing: var(--#{$key}-letter-spacing);
12
- min-height: var(--#{$key}-line-height);
13
- line-height: var(--#{$key}-line-height);
14
- }
15
-
16
- .#{$name}-regular {
17
- @extend .#{$name}-default;
18
- font-weight: var(--font-weight-regular);
19
- }
20
-
21
- .#{$name}-medium {
22
- @extend .#{$name}-default;
23
- font-weight: var(--font-weight-medium);
24
- }
25
-
26
- .#{$name}-semibold {
27
- @extend .#{$name}-default;
28
- font-weight: var(--font-weight-semibold);
29
- }
30
-
31
- .#{$name}-bold {
32
- @extend .#{$name}-default;
33
- font-weight: var(--font-weight-bold);
34
- }
35
- }
36
-
37
- h1 {
38
- font-size: var(--heading1-font-size);
39
- letter-spacing: var(--heading1-letter-spacing);
40
- min-height: var(--heading1-line-height);
41
- line-height: var(--heading1-line-height);
42
- }
43
-
44
- h2 {
45
- font-size: var(--heading2-font-size);
46
- letter-spacing: var(--heading2-letter-spacing);
47
- min-height: var(--heading2-line-height);
48
- line-height: var(--heading2-line-height);
49
- }
50
-
51
- h3 {
52
- font-size: var(--heading3-font-size);
53
- letter-spacing: var(--heading3-letter-spacing);
54
- min-height: var(--heading3-line-height);
55
- line-height: var(--heading3-line-height);
56
- }
57
-
58
- h4 {
59
- font-size: var(--heading4-font-size);
60
- letter-spacing: var(--heading4-letter-spacing);
61
- min-height: var(--heading4-line-height);
62
- line-height: var(--heading4-line-height);
63
- }
64
-
65
- h5 {
66
- font-size: var(--heading5-font-size);
67
- letter-spacing: var(--heading5-letter-spacing);
68
- min-height: var(--heading5-line-height);
69
- line-height: var(--heading5-line-height);
70
- }
71
-
72
- h6 {
73
- font-size: var(--heading6-font-size);
74
- letter-spacing: var(--heading6-letter-spacing);
75
- min-height: var(--heading6-line-height);
76
- line-height: var(--heading6-line-height);
77
- }
78
-
79
- p {
80
- font-size: var(--label-font-size);
81
- letter-spacing: var(--label-letter-spacing);
82
- min-height: var(--label-line-height);
83
- line-height: var(--label-line-height);
84
- }
85
-
86
- button {
87
- font-size: var(--button-font-size);
88
- letter-spacing: var(--button-letter-spacing);
89
- min-height: var(--button-line-height);
90
- line-height: var(--button-line-height);
91
- }
92
-
93
- @include typographic('h1', 'heading1');
94
- @include typographic('h2', 'heading2');
95
- @include typographic('h3', 'heading3');
96
- @include typographic('h4', 'heading4');
97
- @include typographic('h5', 'heading5');
98
- @include typographic('h6', 'heading6');
99
- @include typographic('title', 'title');
100
- @include typographic('subtitle', 'subtitle');
101
- @include typographic('body', 'body');
102
- @include typographic('input', 'input');
103
- @include typographic('label', 'label');
104
- @include typographic('button', 'button');
105
- @include typographic('smalltext', 'smalltext');
106
- @include typographic('caption', 'caption');
107
- @include typographic('overline', 'overline');