@qrsln/lootstrap 22.3.26-beta.0 → 22.4.2-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.
- package/dist/css/lootstrap.css +80 -87
- package/dist/css/lootstrap.css.map +1 -1
- package/dist/css/lootstrap.min.css +3 -3
- package/package.json +1 -1
- package/scss/Abstracts/Functions/_color.scss +2 -2
- package/scss/Abstracts/Mixins/_theme.scss +8 -8
- package/scss/Architecture/Components/_alert.scss +10 -0
- package/scss/Architecture/Components/_pagination.scss +3 -0
- package/scss/Architecture/Components/_spinners.scss +16 -10
- package/scss/_header.scss +2 -2
package/package.json
CHANGED
|
@@ -120,8 +120,8 @@ $Black: hsl(0, 0%, 0%) !default;
|
|
|
120
120
|
|
|
121
121
|
/// Set Text Color Entirely based on bg color (Black or White)
|
|
122
122
|
/// Usage => @include Text-color($Warning);
|
|
123
|
-
@function Text-color($
|
|
124
|
-
$color-brightness: round((red($
|
|
123
|
+
@function Text-color($color) {
|
|
124
|
+
$color-brightness: round((red($color)*299)+(green($color)*587)+ math.div(blue($color) * 114, 1000));
|
|
125
125
|
$light-color: round((red(#ffffff)*299)+(green(#ffffff)*587)+ math.div(blue(#ffffff) * 114, 1000));
|
|
126
126
|
@if abs($color-brightness) < math.div($light-color, 2) {
|
|
127
127
|
@return $White;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
.Accent-#{$keyAccent} {
|
|
26
26
|
--#{$var-Prefix}bg-accent-hsl: #{colorToHSL($valueAccent)};
|
|
27
27
|
--#{$var-Prefix}bg-accent: #{$valueAccent};
|
|
28
|
-
--#{$var-Prefix}fg-accent: #{
|
|
28
|
+
--#{$var-Prefix}fg-accent: #{Text-color($valueAccent)};
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -126,14 +126,14 @@
|
|
|
126
126
|
|
|
127
127
|
// Foreground colors
|
|
128
128
|
--#{$Prefix}fg-muted: #{$C-disabled};
|
|
129
|
-
--#{$Prefix}fg-hue: #{
|
|
130
|
-
--#{$Prefix}fg-accent: #{
|
|
129
|
+
--#{$Prefix}fg-hue: #{Text-color($C-hue)};
|
|
130
|
+
--#{$Prefix}fg-accent: #{Text-color($C-hue)};
|
|
131
131
|
|
|
132
|
-
--#{$Prefix}fg-body: #{
|
|
133
|
-
--#{$Prefix}fg-surface: #{
|
|
132
|
+
--#{$Prefix}fg-body: #{Text-color($C-body)};
|
|
133
|
+
--#{$Prefix}fg-surface: #{Text-color($C-surface)};
|
|
134
134
|
|
|
135
|
-
--#{$Prefix}fg-lighter: #{
|
|
136
|
-
--#{$Prefix}fg-lightest: #{
|
|
135
|
+
--#{$Prefix}fg-lighter: #{Text-color($C-lighter)};
|
|
136
|
+
--#{$Prefix}fg-lightest: #{Text-color($C-lightest)};
|
|
137
137
|
|
|
138
138
|
--#{$Prefix}border-hsl: #{colorToHSL($C-border)};
|
|
139
139
|
--#{$Prefix}shadow-hsl: #{colorToHSL($C-shadow)};
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
--#{$var-Prefix}bg-accent-hsl: #{colorToHSL($C-accent)};
|
|
152
152
|
|
|
153
153
|
--#{$var-Prefix}bg-accent: #{$C-accent};
|
|
154
|
-
--#{$var-Prefix}fg-accent: #{
|
|
154
|
+
--#{$var-Prefix}fg-accent: #{Text-color($C-accent)};
|
|
155
155
|
|
|
156
156
|
// Overlay with white background
|
|
157
157
|
//@each $per in (0, 5, 7, 8, 9, 11, 12, 14, 15, 16) {
|
|
@@ -36,6 +36,16 @@ $Customized: 'alert-';
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
&.Alert-rounded {
|
|
40
|
+
border-radius: 50rem 0 50rem 50rem !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.Alert-none {
|
|
44
|
+
.Alert-icon {
|
|
45
|
+
color: hsla($Bg-accent-hsl, .33);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
&.Alert-outline {
|
|
40
50
|
color: $Fg-lightest;
|
|
41
51
|
background-color: $Bg-lightest;
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
// ???
|
|
4
4
|
// ===========================================================================
|
|
5
5
|
|
|
6
|
+
$Customized: false;
|
|
7
|
+
@import "../_color-scheme";
|
|
8
|
+
|
|
6
9
|
/*
|
|
7
10
|
// Spinner from bootstrap
|
|
8
11
|
*/
|
|
@@ -19,6 +22,8 @@
|
|
|
19
22
|
border-right-color: transparent;
|
|
20
23
|
border-radius: 50%;
|
|
21
24
|
|
|
25
|
+
color: $Bg-accent;
|
|
26
|
+
|
|
22
27
|
animation: .75s linear infinite spin-CW;
|
|
23
28
|
}
|
|
24
29
|
|
|
@@ -28,6 +33,8 @@
|
|
|
28
33
|
height: 2rem;
|
|
29
34
|
margin: .25rem;
|
|
30
35
|
|
|
36
|
+
color: $Bg-accent;
|
|
37
|
+
|
|
31
38
|
vertical-align: text-bottom;
|
|
32
39
|
background-color: currentColor;
|
|
33
40
|
border-radius: 50%;
|
|
@@ -41,9 +48,10 @@
|
|
|
41
48
|
|
|
42
49
|
.Spinner-vortex {
|
|
43
50
|
position: relative;
|
|
44
|
-
display: block;
|
|
45
|
-
|
|
46
|
-
|
|
51
|
+
display: inline-block;
|
|
52
|
+
|
|
53
|
+
min-width: 120px;
|
|
54
|
+
min-height: 120px;
|
|
47
55
|
|
|
48
56
|
span {
|
|
49
57
|
position: absolute;
|
|
@@ -77,14 +85,12 @@
|
|
|
77
85
|
}
|
|
78
86
|
}
|
|
79
87
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.Spinner-vortex-square {
|
|
83
|
-
@extend .Spinner-vortex;
|
|
84
88
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
&.Spinner-vortex-square {
|
|
90
|
+
span {
|
|
91
|
+
&:before {
|
|
92
|
+
border-radius: 10px;
|
|
93
|
+
}
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
}
|
package/scss/_header.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/*!
|
|
3
|
-
* CSS Compiled on: 2022-
|
|
3
|
+
* CSS Compiled on: 2022-04-02
|
|
4
4
|
*
|
|
5
|
-
* Lootstrap v22.
|
|
5
|
+
* Lootstrap v22.4.2-beta.0 (https://github.com/krsln/Lootstrap/)
|
|
6
6
|
* Copyright 2022 Qrsln.
|
|
7
7
|
* Licensed under MIT (https://github.com/krsln/Lootstrap/blob/master/LICENSE)
|
|
8
8
|
*/
|