@skyux/theme 11.11.2 → 11.12.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/css/sky.css +24 -9
- package/css/themes/modern/styles.css +511 -318
- package/documentation.json +102 -102
- package/package.json +1 -1
- package/scss/_compat/_mixins.scss +11 -2
package/package.json
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
@use '../variables' as vars;
|
|
2
2
|
@use 'variables' as compatVars;
|
|
3
|
+
@use '../../compat-tokens-mixins' as compatMixins;
|
|
4
|
+
|
|
5
|
+
@include compatMixins.sky-default-overrides() {
|
|
6
|
+
--sky-override-required-color: var(--sky-highlight-color-danger);
|
|
7
|
+
--sky-override-required-space: #{compatVars.$sky-padding-half};
|
|
8
|
+
}
|
|
3
9
|
|
|
4
10
|
@mixin sky-deemphasized {
|
|
5
11
|
font-family: compatVars.$sky-font-family;
|
|
@@ -154,8 +160,11 @@
|
|
|
154
160
|
/* TODO: remove this fallback `content` line, once support for content alt text is added to firefox & safari */
|
|
155
161
|
content: '*';
|
|
156
162
|
content: '*' / '';
|
|
157
|
-
color: var(--sky-
|
|
158
|
-
padding-left:
|
|
163
|
+
color: var(--sky-override-required-color, var(--sky-color-text-danger));
|
|
164
|
+
padding-left: var(
|
|
165
|
+
--sky-override-required-space,
|
|
166
|
+
var(--sky-space-gap-label-s)
|
|
167
|
+
);
|
|
159
168
|
}
|
|
160
169
|
|
|
161
170
|
@mixin sky-screen-reader-only {
|