@sanity/ui 2.0.0-beta.5 → 2.0.0-beta.7
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/LICENSE +1 -1
- package/README.md +6 -3
- package/dist/index.esm.js +359 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +360 -18
- package/dist/index.js.map +1 -1
- package/dist/theme.esm.js +21 -21
- package/dist/theme.esm.js.map +1 -1
- package/dist/theme.js +21 -21
- package/dist/theme.js.map +1 -1
- package/package.json +5 -3
- package/src/core/primitives/badge/badge.tsx +1 -3
- package/src/core/primitives/select/select.tsx +1 -1
- package/src/core/styles/card/_cardColorStyle.ts +2 -0
- package/src/theme/defaults/colorTokens.ts +21 -21
package/dist/theme.esm.js
CHANGED
|
@@ -2709,40 +2709,40 @@ const defaultColorTokens = {
|
|
|
2709
2709
|
}
|
|
2710
2710
|
},
|
|
2711
2711
|
syntax: {
|
|
2712
|
-
atrule: ["purple/
|
|
2712
|
+
atrule: ["purple/600", "purple/400"],
|
|
2713
2713
|
attrName: ["green/700", "green/400"],
|
|
2714
2714
|
attrValue: ["yellow/700", "yellow/400"],
|
|
2715
2715
|
attribute: ["yellow/700", "yellow/400"],
|
|
2716
|
-
boolean: ["purple/
|
|
2717
|
-
builtin: ["purple/
|
|
2716
|
+
boolean: ["purple/600", "purple/400"],
|
|
2717
|
+
builtin: ["purple/600", "purple/400"],
|
|
2718
2718
|
cdata: ["yellow/700", "yellow/400"],
|
|
2719
2719
|
char: ["yellow/700", "yellow/400"],
|
|
2720
2720
|
class: ["orange/700", "orange/400"],
|
|
2721
2721
|
className: ["cyan/700", "cyan/400"],
|
|
2722
|
-
comment: ["gray/
|
|
2723
|
-
constant: ["purple/
|
|
2724
|
-
deleted: ["red/
|
|
2725
|
-
entity: ["red/
|
|
2722
|
+
comment: ["gray/400", "gray/600"],
|
|
2723
|
+
constant: ["purple/600", "purple/400"],
|
|
2724
|
+
deleted: ["red/600", "red/400"],
|
|
2725
|
+
entity: ["red/600", "red/400"],
|
|
2726
2726
|
function: ["green/700", "green/400"],
|
|
2727
|
-
hexcode: ["blue/
|
|
2728
|
-
id: ["purple/
|
|
2729
|
-
important: ["purple/
|
|
2727
|
+
hexcode: ["blue/600", "blue/400"],
|
|
2728
|
+
id: ["purple/600", "purple/400"],
|
|
2729
|
+
important: ["purple/600", "purple/400"],
|
|
2730
2730
|
inserted: ["yellow/700", "yellow/400"],
|
|
2731
|
-
keyword: ["magenta/
|
|
2732
|
-
number: ["purple/
|
|
2733
|
-
operator: ["magenta/
|
|
2734
|
-
property: ["blue/
|
|
2731
|
+
keyword: ["magenta/600", "magenta/400"],
|
|
2732
|
+
number: ["purple/600", "purple/400"],
|
|
2733
|
+
operator: ["magenta/600", "magenta/400"],
|
|
2734
|
+
property: ["blue/600", "blue/400"],
|
|
2735
2735
|
pseudoClass: ["yellow/700", "yellow/400"],
|
|
2736
2736
|
pseudoElement: ["yellow/700", "yellow/400"],
|
|
2737
|
-
punctuation: ["gray/
|
|
2738
|
-
regex: ["blue/
|
|
2739
|
-
selector: ["red/
|
|
2737
|
+
punctuation: ["gray/600", "gray/400"],
|
|
2738
|
+
regex: ["blue/600", "blue/400"],
|
|
2739
|
+
selector: ["red/600", "red/400"],
|
|
2740
2740
|
string: ["yellow/700", "yellow/400"],
|
|
2741
|
-
symbol: ["purple/
|
|
2742
|
-
tag: ["red/
|
|
2741
|
+
symbol: ["purple/600", "purple/400"],
|
|
2742
|
+
tag: ["red/600", "red/400"],
|
|
2743
2743
|
unit: ["orange/700", "orange/400"],
|
|
2744
|
-
url: ["red/
|
|
2745
|
-
variable: ["red/
|
|
2744
|
+
url: ["red/600", "red/400"],
|
|
2745
|
+
variable: ["red/600", "red/400"]
|
|
2746
2746
|
}
|
|
2747
2747
|
};
|
|
2748
2748
|
function isRecord(value) {
|