@qrsln/lootstrap 22.2.2-beta.0 → 22.3.1-beta.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 (71) hide show
  1. package/Readme.md +17 -6
  2. package/dist/css/lootstrap.css +10649 -9826
  3. package/dist/css/lootstrap.css.map +1 -1
  4. package/dist/css/lootstrap.min.css +3 -3
  5. package/package.json +5 -1
  6. package/scss/Abstracts/Functions/_color-customized.scss +62 -0
  7. package/scss/Abstracts/Functions/_color.scss +108 -65
  8. package/scss/Abstracts/Functions/_helpers.scss +2 -2
  9. package/scss/Abstracts/Functions/_shadow.scss +4 -4
  10. package/scss/Abstracts/Mixins/_color.scss +126 -136
  11. package/scss/Abstracts/Mixins/_theme.scss +163 -0
  12. package/scss/Abstracts/_dir-functions.scss +1 -0
  13. package/scss/Abstracts/_dir-mixins.scss +1 -4
  14. package/scss/Abstracts/_variables.scss +96 -35
  15. package/scss/Architecture/Components/TODO/_tables.scss +3 -3
  16. package/scss/Architecture/Components/_alert.scss +93 -19
  17. package/scss/Architecture/Components/_badge.scss +40 -0
  18. package/scss/Architecture/Components/_breadcrumb.scss +11 -10
  19. package/scss/Architecture/Components/_button-close.scss +11 -2
  20. package/scss/Architecture/Components/_buttons.scss +22 -21
  21. package/scss/Architecture/Components/_calendar.scss +67 -55
  22. package/scss/Architecture/Components/_card.scss +9 -9
  23. package/scss/Architecture/Components/_caret.scss +20 -20
  24. package/scss/Architecture/Components/_dialog.scss +10 -7
  25. package/scss/Architecture/Components/_list.scss +13 -13
  26. package/scss/Architecture/Components/_nav.scss +14 -12
  27. package/scss/Architecture/Components/_pagination.scss +16 -10
  28. package/scss/Architecture/Components/_progress.scss +6 -5
  29. package/scss/Architecture/Components/_rating.scss +15 -14
  30. package/scss/Architecture/Components/_scrollbar.scss +59 -29
  31. package/scss/Architecture/Components/_spinners.scss +0 -1
  32. package/scss/Architecture/Components/_timeline.scss +6 -5
  33. package/scss/Architecture/Components/_timer.scss +5 -4
  34. package/scss/Architecture/Components/_toasts.scss +72 -12
  35. package/scss/Architecture/Components/_tooltip.scss +135 -0
  36. package/scss/Architecture/Components/_tree-view.scss +13 -12
  37. package/scss/Architecture/Forms/_form-check.scss +82 -81
  38. package/scss/Architecture/Forms/_input-fields.scss +36 -37
  39. package/scss/Architecture/Forms/_selects.scss +3 -1
  40. package/scss/Architecture/{_anim.scss → Roots/_anim.scss} +17 -7
  41. package/scss/Architecture/Roots/_avatar.scss +296 -0
  42. package/scss/Architecture/Roots/_classified.scss +67 -0
  43. package/scss/Architecture/{_reboot.scss → Roots/_reboot.scss} +6 -9
  44. package/scss/Architecture/Roots/_root.scss +49 -0
  45. package/scss/Architecture/Roots/_shape.scss +92 -0
  46. package/scss/Architecture/Roots/_skeleton.scss +271 -0
  47. package/scss/Architecture/{Svg/_icons.scss → Roots/_svg.scss} +0 -0
  48. package/scss/Architecture/Utils/_border.scss +3 -1
  49. package/scss/Architecture/Utils/_color.scss +71 -88
  50. package/scss/Architecture/Utils/_filters.scss +4 -1
  51. package/scss/Architecture/Utils/_position.scss +43 -0
  52. package/scss/Architecture/Utils/_spacing.scss +7 -21
  53. package/scss/Architecture/Utils/_text.scss +42 -109
  54. package/scss/Architecture/Utils/_utilities.scss +55 -21
  55. package/scss/Architecture/__color-scheme.scss +80 -0
  56. package/scss/Architecture/__dir-components.scss +5 -7
  57. package/scss/Architecture/__dir-roots.scss +17 -0
  58. package/scss/Architecture/__dir-utils.scss +2 -1
  59. package/scss/Architecture/_theme.scss +2 -1
  60. package/scss/_header.scss +2 -2
  61. package/scss/lootstrap.scss +2 -5
  62. package/dist/css/test.css +0 -275
  63. package/dist/css/test.css.map +0 -1
  64. package/scss/Architecture/Components/TODO/_badge.scss +0 -7
  65. package/scss/Architecture/Components/TODO/_tooltip.scss +0 -7
  66. package/scss/Architecture/Components/_themed.scss +0 -45
  67. package/scss/Architecture/__dir-svg.scss +0 -7
  68. package/scss/Architecture/__theme-colors.scss +0 -51
  69. package/scss/Architecture/__theme-customized.scss +0 -51
  70. package/scss/Architecture/_root.scss +0 -45
  71. package/scss/test.scss +0 -37
@@ -0,0 +1,49 @@
1
+ // ===========================================================================
2
+ // Base - Root
3
+ // ===========================================================================
4
+
5
+ :root {
6
+ // Custom variable values only support SassScript inside `#{}`.
7
+ /* Color palette */
8
+ @each $colorKey, $colorValue in $colors-all {
9
+ --#{$var-Prefix}#{to-lower-case($colorKey)}: #{$colorValue};
10
+ }
11
+
12
+ //// Theme-light
13
+ //--ls-bg: #f9fafb;
14
+ //--ls-bg-hsl: 210deg, 20%, 98%;
15
+ //--ls-bg-body: #d1d9e0;
16
+ //--ls-bg-active: #3692fc;
17
+ //--ls-bg-active-hsl: 212deg, 97%, 60%;
18
+ //--ls-bg-surface: white;
19
+ //--ls-bg-lightest: #f9fafb;
20
+ //--ls-bg-light: #f6f7f9;
21
+ //--ls-bg-dark: #f0f2f5;
22
+ //--ls-bg-darkest: #e0e6eb;
23
+ //--ls-fg-muted: #a7afb9;
24
+ //--ls-fg-body: black;
25
+ //--ls-fg-active: white;
26
+ //--ls-fg-surface: black;
27
+ //--ls-fg-lightest: black;
28
+ //--ls-fg-light: black;
29
+ //--ls-fg-dark: black;
30
+ //--ls-fg-darkest: black;
31
+ //--ls-shadow-color-rgb: 0, 0, 0;
32
+ //--ls-border-alpha: 1;
33
+ //--ls-border-color: hsla(210deg, 20%, 90%, var(--ls-border-alpha, 1));
34
+ //--ls-border-color-hsl: 210deg, 20%, 90%;
35
+
36
+ // Others
37
+ --#{$var-Prefix}border-radius: #{$Rounded};
38
+ --#{$var-Prefix}border-alpha: 1; // DONT TOUCH THIS :p
39
+
40
+ /* Font */
41
+ --#{$var-Prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
42
+ --#{$var-Prefix}font-monospace: #{inspect($font-family-monospace)};
43
+
44
+ }
45
+
46
+ body {
47
+ color: var(--#{$var-Prefix}fg-body);
48
+ background-color: var(--#{$var-Prefix}bg-body);
49
+ }
@@ -0,0 +1,92 @@
1
+ // ===========================================================================
2
+ // Layout - Shapes
3
+ // ===========================================================================
4
+
5
+ .Sqr, .Circle, .Rect {
6
+ margin: .25rem;
7
+
8
+ // Centered Content of all shapes
9
+ .Content {
10
+ position: absolute;
11
+ display: flex;
12
+
13
+ align-items: center;
14
+ justify-content: center;
15
+ text-align: center;
16
+
17
+ left: 0;
18
+ right: 0;
19
+ bottom: 0;
20
+ top: 0;
21
+ }
22
+ }
23
+
24
+ .Rect {
25
+ position: relative;
26
+ display: block;
27
+ flex: 1 0 auto;
28
+
29
+ &:before {
30
+ content: "";
31
+ display: block;
32
+ padding-top: 50%;
33
+ }
34
+ }
35
+
36
+ .Sqr, .Circle {
37
+ position: relative;
38
+ display: inline-block;
39
+ overflow: hidden;
40
+
41
+ width: 100%;
42
+ //background-color: hsla($Bg-accent-hsl, 0.10);
43
+
44
+ &.Circle {
45
+ border-radius: 50%;
46
+ }
47
+
48
+ &:before {
49
+ content: "";
50
+ display: block;
51
+ padding-top: 100%;
52
+ }
53
+ }
54
+
55
+ /*
56
+ // Diamond - With Sqr
57
+ */
58
+ .Diamond {
59
+ margin: 0;
60
+
61
+ transform: rotate(45deg);
62
+
63
+ .Content {
64
+ transform: rotate(-45deg);
65
+ }
66
+ }
67
+
68
+ /*
69
+ // Parallelogram - With Rect & Sqr
70
+ */
71
+
72
+ .Skew-20 {
73
+ margin-left: 30px;
74
+ margin-right: 30px;
75
+
76
+ transform: skew(20deg);
77
+
78
+ .Content {
79
+ transform: skew(-20deg);
80
+ }
81
+ }
82
+
83
+ .Skew-20n {
84
+ margin-left: 30px;
85
+ margin-right: 30px;
86
+
87
+ transform: skew(-20deg);
88
+
89
+ .Content {
90
+ transform: skew(20deg);
91
+ }
92
+ }
@@ -0,0 +1,271 @@
1
+ // ===========================================================================
2
+ // Layout - Skeleton / Placeholder
3
+ // ===========================================================================
4
+
5
+ $Customized: false;
6
+ @import "../_color-scheme";
7
+
8
+
9
+ /*
10
+ // Placeholder (.Ph-*)
11
+ */
12
+
13
+ .Ph-media,
14
+ .Ph-line {
15
+ position: relative;
16
+ display: block;
17
+
18
+ background-color: hsla($Bg-accent-hsl, 0.12);
19
+
20
+ border-radius: .25rem;
21
+ padding: 5px;
22
+ margin-bottom: 4px;
23
+ }
24
+
25
+ .Ph-media {
26
+ display: inline-block;
27
+
28
+ width: 100%;
29
+ }
30
+
31
+ .Ph-paragraph {
32
+ position: relative;
33
+ display: block;
34
+
35
+ margin-top: 5px;
36
+ margin-bottom: 5px;
37
+
38
+ &.Indentation {
39
+ .Ph-line {
40
+ &:first-child {
41
+ width: 92%;
42
+ float: right;
43
+ }
44
+
45
+ &:nth-child(2) {
46
+ clear: both;
47
+ }
48
+ }
49
+ }
50
+
51
+ .Ph-line {
52
+ transform: scale(1, 0.60);
53
+
54
+ &:last-child {
55
+ width: 80% - random(40) * 1%;
56
+ }
57
+
58
+ @for $i from 1 through 10 {
59
+ &:nth-child(#{$i}n) {
60
+ animation-delay: #{$i * 0.7}s;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ .Ph-card {
67
+ position: relative;
68
+ display: block;
69
+
70
+ border: $Border;
71
+ box-shadow: $Shadow;
72
+
73
+ padding: 5px;
74
+ margin-bottom: 5px;
75
+ }
76
+
77
+ /*
78
+ // Headers
79
+ // TODO: Responsive
80
+ */
81
+
82
+ .Ph-line {
83
+ $per: .6;
84
+
85
+ // Real header font sizes
86
+ $h1: $per * 2.5rem;
87
+ $h2: $per * 2rem;
88
+ $h3: $per * 1.75rem;
89
+ $h4: $per * 1.5rem;
90
+ $h5: $per * 1.25rem;
91
+ $h6: $per * 1rem;
92
+
93
+ &.Ph-h6, &.Ph-h5, &.Ph-h4, &.Ph-h3, &.Ph-h2, &.Ph-h1 {
94
+ background-color: hsla($Bg-accent-hsl, 0.24);
95
+
96
+ line-height: 1.2;
97
+
98
+ margin-top: 10px;
99
+ margin-bottom: 10px;
100
+
101
+ //transform: scale(1, 0.60);
102
+
103
+ &:before {
104
+ content: "\00a0";
105
+ }
106
+ }
107
+
108
+ &.Ph-h1 {
109
+ font-size: $h1;
110
+ }
111
+
112
+ &.Ph-h2 {
113
+ font-size: $h2;
114
+ }
115
+
116
+ &.Ph-h3 {
117
+ font-size: $h3;
118
+ }
119
+
120
+ &.Ph-h4 {
121
+ font-size: $h4;
122
+ }
123
+
124
+ &.Ph-h5 {
125
+ font-size: $h5;
126
+ }
127
+
128
+ &.Ph-h6 {
129
+ font-size: $h6;
130
+ }
131
+ }
132
+
133
+ // Circular or Square Media placeholder
134
+ .Ph-square {
135
+ position: relative;
136
+ display: inline-block;
137
+
138
+ width: 100%;
139
+ overflow: hidden;
140
+
141
+ background-color: hsla($Bg-accent-hsl, 0.12);
142
+ margin: 4px;
143
+
144
+ &.Ph-circle {
145
+ border-radius: 50%;
146
+ }
147
+
148
+ &:before {
149
+ content: "";
150
+ display: block;
151
+ padding-top: 100%;
152
+ }
153
+
154
+ span {
155
+ position: absolute;
156
+ display: flex;
157
+ text-align: center;
158
+ align-items: center;
159
+ justify-content: center;
160
+ left: 0;
161
+ right: 0;
162
+ bottom: 0;
163
+ top: 0;
164
+ }
165
+ }
166
+
167
+ /*
168
+ // Textual Effect
169
+ */
170
+
171
+ @function randomMinMax($min, $max) {
172
+ $rand: random();
173
+ $randomNum: $min + floor($rand * (($max - $min) + 1));
174
+
175
+ @return $randomNum;
176
+ }
177
+
178
+ /// Calculate n random numbers that sum y.
179
+ @function RandomNumbersWithSum($groups:3, $total:100) {
180
+ $numbers: [];
181
+ @for $i from 1 through $groups {
182
+ $num: randomMinMax(20, $total - 20 - ($groups - $i));
183
+ @if ($i==1) {
184
+ $num: randomMinMax(5, 30);
185
+ }
186
+ $total: $total - $num;
187
+ $numbers: append($numbers, $num)
188
+ }
189
+ $numbers: append($numbers, $total);
190
+
191
+ @return $numbers;
192
+ }
193
+
194
+ .Ph-textual {
195
+ $gap: 6px;
196
+ $color: hsla($Bg-accent-hsl, 0.12);
197
+
198
+ background-color: transparent;
199
+
200
+ @for $i from 1 to 5 {
201
+ &:nth-child(#{$i}n) {
202
+ $percentages: RandomNumbersWithSum(4, 100);
203
+ $per1: 1% * nth($percentages,1);
204
+ $per2: $per1 + 1% * nth($percentages,2);
205
+ $per3: $per2 + 1% * nth($percentages,3);
206
+ $per4: $per3 + 1% * nth($percentages,4);
207
+
208
+ // this should randomize by percent up to 100% (20%, 45%, 77%, ...)
209
+ background-image: linear-gradient(90deg,
210
+ $color $per1, transparent calc(#{$per1} + 1px), transparent calc(#{$per1} + #{$gap}), $color calc(#{$per1} + #{$gap}),
211
+ $color $per2, transparent calc(#{$per2} + 1px), transparent calc(#{$per2} + #{$gap}), $color calc(#{$per2} + #{$gap}),
212
+ $color $per3, transparent calc(#{$per3} + 1px), transparent calc(#{$per3} + #{$gap}), $color calc(#{$per3} + #{$gap}),
213
+ $color $per4, transparent calc(#{$per4} + 1px), transparent calc(#{$per4} + #{$gap}), $color calc(#{$per4} + #{$gap}),
214
+ $color);
215
+ }
216
+ }
217
+ }
218
+
219
+ /*
220
+ // Anim: Pulsate, Shine
221
+ */
222
+
223
+ .Ph-pulse {
224
+ animation: Keyframe-Pulsate 1.5s ease-in-out 0.5s infinite;
225
+ }
226
+
227
+ @keyframes Keyframe-Pulsate {
228
+ 0% {
229
+ opacity: .6;
230
+ }
231
+ 50% {
232
+ opacity: 1;
233
+ }
234
+ 100% {
235
+ opacity: .6;
236
+ }
237
+ }
238
+
239
+ .Ph-shine {
240
+ position: relative;
241
+ overflow: hidden;
242
+
243
+ /* Shine */
244
+ &:after {
245
+ content: '';
246
+ position: absolute;
247
+ bottom: 0;
248
+ left: 0;
249
+ right: 0;
250
+ top: 0;
251
+
252
+ animation: Keyframe-Shine 1.6s linear 0.5s infinite;
253
+ background: linear-gradient(90deg, transparent, hsla($Bg-accent-hsl, 0.25), transparent);
254
+
255
+ transform: translateX(-100%); /* Avoid flash during server-side hydration */
256
+ }
257
+ }
258
+
259
+ @keyframes Keyframe-Shine {
260
+ // Slide effect
261
+ 0% {
262
+ transform: translateX(-100%);
263
+ }
264
+ 50% {
265
+ /* +0.5s of delay between each loop */
266
+ transform: translateX(100%);
267
+ }
268
+ 100% {
269
+ transform: translateX(100%);
270
+ }
271
+ }
@@ -2,7 +2,9 @@
2
2
  // Utils - Border - Border-radius
3
3
  // ===========================================================================
4
4
 
5
- $Border-color: var(--#{$var-Prefix}border-color);
5
+
6
+ $Border-color-hsl: var(--#{$var-Prefix}border-hsl);
7
+ $Border-color: hsla($Border-color-hsl, var(--#{$var-Prefix}border-alpha));
6
8
 
7
9
  /*
8
10
  // Border, Rounded
@@ -2,102 +2,85 @@
2
2
  // Utils - Bg & Fg & Border Colors
3
3
  // ===========================================================================
4
4
 
5
- @include Bg-Text-Border-variables($colors-all);
5
+ $var-Prefix: $var-Prefix;
6
+ $colors-Background-hsla: $colors-Background-hsla;
7
+ $colors-Text-hsla: $colors-Text-hsla;
8
+ $colors-Border-hsla: $colors-Border-hsla;
9
+ $color-Alpha-map: $color-Alpha-map;
10
+ $color-Lightness-map: $color-Lightness-map;
6
11
 
7
- $utilities-bg: () !default;
8
- $utilities-bg: (
9
- // Text
10
- "Text-lightness": (
11
- Prefix: Text-lightness, Properties: --#{$var-Prefix}text-lightness, Important: false,
12
- Values: $color-Lightness-map
13
- ),
14
- "Text-color": (
15
- Prefix: Text, Properties: color, Important: true,
16
- Values: $colors-Text-hsla
17
- ),
18
- "Text-alpha": (
19
- Prefix: Text-alpha, Properties: --#{$var-Prefix}text-alpha, Important: false,
20
- Values: $color-Alpha-map
21
- ),
22
- // Border-color, Border-alpha
23
- "Border-color": (
24
- Prefix: Border, Properties: border-color, Important: true,
25
- Values: map-merge($colors-Border-hsla, ("transparent": transparent)),
26
- ),
27
- "Border-alpha": (
28
- Prefix: Border-alpha, Properties: --#{$var-Prefix}border-alpha, Important: false,
29
- Values: $color-Alpha-map,
30
- ),
31
- // Bg
32
- "Bg-lightness": (
33
- Prefix: Bg-lightness, Properties: --#{$var-Prefix}bg-lightness, Important: false,
34
- Values: $color-Lightness-map
35
- ),
36
- "Bg-color": (
37
- Prefix: Bg, Properties: background-color, Important: true,
38
- Values: map-merge($colors-Background-hsla, ("transparent": transparent)),
39
- ),
40
- "Bg-alpha": (Prefix: Bg-alpha, Properties: --#{$var-Prefix}bg-alpha, Important: false, Values: $color-Alpha-map),
41
- // Opacity
42
- "Opacity": (Prefix: Opacity, Properties: opacity, Important: true, Values: $opacity-map),
43
- // Pseudo colors
44
- "Before-bg-before": (
45
- Prefix: Before-bg, Properties: background-color, Important: true, Pseudo:before,
46
- Values: $colors-Background-hsla
47
- ),
48
- "Before-border-before": (
49
- Prefix: Before-border, Properties: border-color, Important: true, Pseudo:before,
50
- Values: $colors-Border-hsla
51
- ),
52
- "Before-bg-after": (
53
- Prefix: After-bg, Properties: background-color, Important: true, Pseudo:after,
54
- Values: $colors-Background-hsla
55
- ),
56
- "Before-border-after": (
57
- Prefix: After-border, Properties: border-color, Important: true, Pseudo:after,
58
- Values: $colors-Border-hsla
59
- ),
60
- );
61
-
62
- @include Utilities($utilities-bg);
12
+ .Bg-gradient {
13
+ background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0%, hsla(0, 0%, 100%, 0.40) 50%, hsla(0, 0%, 100%, 0) 100%); // vertical
14
+ //background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15), hsla(0, 0%, 100%, 0)) !important;
15
+ }
63
16
 
64
- // ===========================================================================
65
- // Text Color
66
- // ===========================================================================
17
+ // Not: Must be before real class set
18
+ @each $colorKey, $colorValue in $colors-all {
19
+ .Bg-#{$colorKey} {
20
+ --#{$var-Prefix}bg-lightness: #{lightness($colorValue)};
21
+ --#{$var-Prefix}bg-alpha: 1;
22
+ }
67
23
 
68
- /*
69
- // .Text-<color>, .Text-<theme>, .Text-muted {}
70
- // .Text-alpha-0, .Text-alpha-100 { }
71
- // .Text-lightness-0, .Text-lightness-100 {}
72
- */
24
+ .Text-#{$colorKey} {
25
+ --#{$var-Prefix}text-lightness: #{lightness($colorValue)};
26
+ --#{$var-Prefix}text-alpha: 1;
27
+ }
73
28
 
74
- // ===========================================================================
75
- // Border
76
- // ===========================================================================
29
+ .Border-#{$colorKey} {
30
+ --#{$var-Prefix}border-alpha: 1;
31
+ }
32
+ }
77
33
 
78
- /*
79
- // .Border-<color>, .Border-<theme>, .Border-transparent {}
80
- // .Border-alpha-0, .Border-alpha-100 {}
81
- */
34
+ $utilities-Colors: () !default;
35
+ $utilities-Colors: (
36
+ // New Approach
37
+ "Bg": (Prefix: Bg, Properties: background-color, Important: true, Values:$colors-Background-hsla,),
38
+ "Fg": (Prefix: Fg, Properties: color, Important: true, Values: $colors-Text-hsla),
39
+ "Bc": (Prefix: Bc, Properties: border-color, Important: true, Values: $colors-Border-hsla),
40
+ // Pseudo Colors
41
+ "Bg-pseudo": (Prefix: Bg-pseudo, Properties: --#{$var-Prefix}bg-color, Important: true, Values:$colors-Background-hsla,),
42
+ "Bc-pseudo": (Prefix: Bc-pseudo, Properties: --#{$var-Prefix}bc-color, Important: true, Values:$colors-Border-hsla,),
43
+ // Border
44
+ "Bc-t": (Prefix: Bc-t, Properties: border-top-color, Important: true, Values: $colors-Border-hsla),
45
+ "Bc-r": (Prefix: Bc-r, Properties: border-right-color, Important: true, Values: $colors-Border-hsla),
46
+ "Bc-b": (Prefix: Bc-b, Properties: border-bottom-color, Important: true, Values: $colors-Border-hsla),
47
+ "Bc-l": (Prefix: Bc-l, Properties: border-left-color, Important: true, Values: $colors-Border-hsla),
48
+ // Alpha
49
+ "Bg-alpha": (Prefix: Bg-alpha, Properties: --#{$var-Prefix}bg-alpha, Important: false, Values: $color-Alpha-map),
50
+ "Fg-alpha": (Prefix: Fg-alpha, Properties: --#{$var-Prefix}text-alpha, Important: false, Values: $color-Alpha-map),
51
+ "Bc-alpha": (Prefix: Bc-alpha, Properties: --#{$var-Prefix}border-alpha, Important: false, Values: $color-Alpha-map,),
52
+ // lightness
53
+ "Bg-lightness": (Prefix: Bg-lightness, Properties: --#{$var-Prefix}bg-lightness, Important: false, Values: $color-Lightness-map),
54
+ "Fg-lightness": (Prefix: Fg-lightness, Properties: --#{$var-Prefix}text-lightness, Important: false, Values: $color-Lightness-map),
55
+ );
82
56
 
83
- // ===========================================================================
84
- // Bg
85
- // ===========================================================================
57
+ @include Utilities($utilities-Colors);
86
58
 
87
59
  /*
88
- // .Bg-<color>, .Bg-<theme> {}
89
- // .Bg-alpha-0, .Bg-alpha-100 {}
90
- // .Bg-lightness-0, .Bg-lightness-100 {}
91
- // .Opacity-0, .Opacity-100 {}
60
+ // Pseudo colors
92
61
  */
62
+ // Background
63
+ .Bg-before {
64
+ &:before {
65
+ background-color: var(--#{$var-Prefix}bg-color) !important;
66
+ }
67
+ }
93
68
 
94
- // ===========================================================================
95
- // Pseudo colors
96
- // ===========================================================================
69
+ .Bg-after {
70
+ &:after {
71
+ background-color: var(--#{$var-Prefix}bg-color) !important;
72
+ }
73
+ }
97
74
 
98
- /*
99
- // .Before-bg-<color>:before, .Before-bg-<theme>:before {}
100
- // .Before-border-<color>:before, .Before-border-<theme>:before {}
101
- // .After-bg-<color>:after, .After-bg-<theme>:after {}
102
- // .After-border-<color>:after, .After-border-<theme>:after {}
103
- */
75
+ // Border
76
+ .Bc-before {
77
+ &:before {
78
+ border-color: var(--#{$var-Prefix}bc-color) !important;
79
+ }
80
+ }
81
+
82
+ .Bc-after {
83
+ &:after {
84
+ border-color: var(--#{$var-Prefix}bc-color) !important;
85
+ }
86
+ }
@@ -78,7 +78,10 @@ $filter-Colors: (
78
78
  "warning" : $filter-Warning,
79
79
  "danger" : $filter-Danger,
80
80
  "light" : $filter-Light,
81
- "dark" : $filter-Dark
81
+ "dark" : $filter-Dark,
82
+ //NONE
83
+ "black" : $filter-Dark,
84
+ "none" : $filter-Dark,
82
85
  );
83
86
 
84
87
  /*
@@ -0,0 +1,43 @@
1
+ // ===========================================================================
2
+ // Utils - Positioning
3
+ // Define the edge positioning anchors of the position utilities.
4
+ // ===========================================================================
5
+
6
+ $position-values: (0: 0, 50: 50%, 100: 100%) !default;
7
+
8
+ $utilities-Positioning: () !default;
9
+ $utilities-Positioning: (
10
+ "Position": (
11
+ Prefix: Position, Properties: position, Important: true,
12
+ Values: (static relative absolute fixed sticky)
13
+ ),
14
+ "Top": (Prefix: Top, Properties: top, Important: true, Values: $position-values),
15
+ "Bottom": (Prefix: Bottom, Properties: bottom, Important: true, Values: $position-values),
16
+ "Start": (Prefix: Start, Properties: left, Important: true, Values: $position-values),
17
+ "End": (Prefix: End, Properties: right, Important: true, Values: $position-values),
18
+ "Translate-middle": (
19
+ Prefix: Translate-middle, Properties: transform, Important: true,
20
+ Values: (null: translate(-50%, -50%), x: translateX(-50%), y: translateY(-50%),)
21
+ ),
22
+ );
23
+
24
+ @include Utilities($utilities-Positioning);
25
+
26
+ // ===========================================================================
27
+ // Border
28
+ // ===========================================================================
29
+
30
+ /*
31
+ // Position
32
+ */
33
+ .Position-static, .Position-relative, .Position-absolute, .Position-fixed, .Position-sticky {
34
+ }
35
+
36
+ .Top-0, .Top-50, .Top-100,
37
+ .Bottom-0, .Bottom-50, .Bottom-100,
38
+ .Start-0, .Start-50, .Start-100,
39
+ .End-0, .End-50, .End-100 {
40
+ }
41
+
42
+ .Translate-middle, .Translate-middle-x, .Translate-middle-y {
43
+ }