@sanity/ui 2.0.0-beta.5 → 2.0.0-beta.6
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/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 +6 -4
- 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.js
CHANGED
|
@@ -2714,40 +2714,40 @@ const defaultColorTokens = {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
},
|
|
2716
2716
|
syntax: {
|
|
2717
|
-
atrule: ["purple/
|
|
2717
|
+
atrule: ["purple/600", "purple/400"],
|
|
2718
2718
|
attrName: ["green/700", "green/400"],
|
|
2719
2719
|
attrValue: ["yellow/700", "yellow/400"],
|
|
2720
2720
|
attribute: ["yellow/700", "yellow/400"],
|
|
2721
|
-
boolean: ["purple/
|
|
2722
|
-
builtin: ["purple/
|
|
2721
|
+
boolean: ["purple/600", "purple/400"],
|
|
2722
|
+
builtin: ["purple/600", "purple/400"],
|
|
2723
2723
|
cdata: ["yellow/700", "yellow/400"],
|
|
2724
2724
|
char: ["yellow/700", "yellow/400"],
|
|
2725
2725
|
class: ["orange/700", "orange/400"],
|
|
2726
2726
|
className: ["cyan/700", "cyan/400"],
|
|
2727
|
-
comment: ["gray/
|
|
2728
|
-
constant: ["purple/
|
|
2729
|
-
deleted: ["red/
|
|
2730
|
-
entity: ["red/
|
|
2727
|
+
comment: ["gray/400", "gray/600"],
|
|
2728
|
+
constant: ["purple/600", "purple/400"],
|
|
2729
|
+
deleted: ["red/600", "red/400"],
|
|
2730
|
+
entity: ["red/600", "red/400"],
|
|
2731
2731
|
function: ["green/700", "green/400"],
|
|
2732
|
-
hexcode: ["blue/
|
|
2733
|
-
id: ["purple/
|
|
2734
|
-
important: ["purple/
|
|
2732
|
+
hexcode: ["blue/600", "blue/400"],
|
|
2733
|
+
id: ["purple/600", "purple/400"],
|
|
2734
|
+
important: ["purple/600", "purple/400"],
|
|
2735
2735
|
inserted: ["yellow/700", "yellow/400"],
|
|
2736
|
-
keyword: ["magenta/
|
|
2737
|
-
number: ["purple/
|
|
2738
|
-
operator: ["magenta/
|
|
2739
|
-
property: ["blue/
|
|
2736
|
+
keyword: ["magenta/600", "magenta/400"],
|
|
2737
|
+
number: ["purple/600", "purple/400"],
|
|
2738
|
+
operator: ["magenta/600", "magenta/400"],
|
|
2739
|
+
property: ["blue/600", "blue/400"],
|
|
2740
2740
|
pseudoClass: ["yellow/700", "yellow/400"],
|
|
2741
2741
|
pseudoElement: ["yellow/700", "yellow/400"],
|
|
2742
|
-
punctuation: ["gray/
|
|
2743
|
-
regex: ["blue/
|
|
2744
|
-
selector: ["red/
|
|
2742
|
+
punctuation: ["gray/600", "gray/400"],
|
|
2743
|
+
regex: ["blue/600", "blue/400"],
|
|
2744
|
+
selector: ["red/600", "red/400"],
|
|
2745
2745
|
string: ["yellow/700", "yellow/400"],
|
|
2746
|
-
symbol: ["purple/
|
|
2747
|
-
tag: ["red/
|
|
2746
|
+
symbol: ["purple/600", "purple/400"],
|
|
2747
|
+
tag: ["red/600", "red/400"],
|
|
2748
2748
|
unit: ["orange/700", "orange/400"],
|
|
2749
|
-
url: ["red/
|
|
2750
|
-
variable: ["red/
|
|
2749
|
+
url: ["red/600", "red/400"],
|
|
2750
|
+
variable: ["red/600", "red/400"]
|
|
2751
2751
|
}
|
|
2752
2752
|
};
|
|
2753
2753
|
function isRecord(value) {
|