@oardi/css-utils 0.29.2 → 0.29.4
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/package.json +1 -1
- package/readme.md +1 -0
- package/scss/components/button.scss +3 -3
- package/scss/components/form.scss +1 -1
- package/scss/utilities.scss +2 -0
- package/scss/variables.scss +3 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&:focus {
|
|
65
|
-
outline: 2px solid var(--#{$name}-
|
|
65
|
+
outline: 2px solid rgba(var(--#{$name}-rgb), 0.5);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
&:focus {
|
|
82
82
|
color: var(--on-#{$name});
|
|
83
|
-
outline: 2px solid var(--#{$name}-
|
|
83
|
+
outline: 2px solid rgba(var(--#{$name}-rgb), 0.5);
|
|
84
84
|
background-color: var(--#{$name});
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
&:focus {
|
|
97
|
-
outline: 2px solid var(--#{$name}-
|
|
97
|
+
outline: 2px solid rgba(var(--#{$name}-rgb), 0.5);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
package/scss/utilities.scss
CHANGED
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
@each $name, $value in map.get(theme.$theme, colors) {
|
|
58
58
|
.text-#{$name} {
|
|
59
59
|
color: var(--#{$name});
|
|
60
|
+
fill: var(--#{$name});
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
// deprecated
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
@each $name, $value in map.get(theme.$theme, grays) {
|
|
82
83
|
.text-gray-#{$name} {
|
|
83
84
|
color: var(--gray-#{$name});
|
|
85
|
+
fill: var(--gray-#{$name});
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
.bg-gray-#{$name} {
|
package/scss/variables.scss
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--bg-surface: var(--white);
|
|
33
33
|
|
|
34
34
|
--font-color: var(--gray-100);
|
|
35
|
-
--body-bg-color:
|
|
35
|
+
--body-bg-color: var(--gray-950);
|
|
36
36
|
|
|
37
37
|
--highlight: rgba(0, 0, 0, 0.08);
|
|
38
38
|
--border-color: var(--gray-900);
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
--shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
|
47
47
|
--shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.175);
|
|
48
48
|
|
|
49
|
-
--focus-outline: 2px solid var(--primary-
|
|
49
|
+
--focus-outline: 2px solid rgba(var(--primary-rgb), 0.5);
|
|
50
50
|
--focus-outline-error: 2px solid var(--error-light);
|
|
51
|
-
--focus-offset:
|
|
51
|
+
--focus-offset: 0px;
|
|
52
52
|
|
|
53
53
|
--container: 900px;
|
|
54
54
|
|