@multiplatform.one/theme 7.28.0 → 7.28.1
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/theme",
|
|
3
|
-
"version": "7.28.
|
|
3
|
+
"version": "7.28.1",
|
|
4
4
|
"description": "Tamagui theme system for multiplatform.one",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"multiplatform",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@multiplatform.one/platform": "7.28.
|
|
48
|
-
"@multiplatform.one/store": "7.28.
|
|
47
|
+
"@multiplatform.one/platform": "7.28.1",
|
|
48
|
+
"@multiplatform.one/store": "7.28.1",
|
|
49
49
|
"@tamagui/animations-react-native": "2.7.6",
|
|
50
50
|
"@tamagui/colors": "2.7.6",
|
|
51
51
|
"@tamagui/config": "2.7.6",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"react-cookie": "^8.1.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@multiplatform.one/config": "7.28.
|
|
62
|
-
"@multiplatform.one/test-utils": "7.28.
|
|
61
|
+
"@multiplatform.one/config": "7.28.1",
|
|
62
|
+
"@multiplatform.one/test-utils": "7.28.1",
|
|
63
63
|
"@tamagui/animations-css": "2.7.6",
|
|
64
64
|
"@tamagui/animations-reanimated": "2.7.6",
|
|
65
65
|
"@tamagui/font-inter": "2.7.6",
|
|
@@ -103,6 +103,14 @@ const sizeTokenToKnobSize: Record<string, Knobs["size"]> = {
|
|
|
103
103
|
|
|
104
104
|
export const solidButtonIntents = new Set(["error", "warning", "success"]);
|
|
105
105
|
|
|
106
|
+
/**
|
|
107
|
+
* Themes that are solid by palette shape: the accent slot's steps 1-10 are all
|
|
108
|
+
* brand surfaces (defaults/accent.ts), so the LC-40 wash ($color3/$color6)
|
|
109
|
+
* lands one step off the fill and never reads disabled (MPO-433: ΔE 2.5 in
|
|
110
|
+
* dark). A control themed by one paints the wash from its host scope.
|
|
111
|
+
*/
|
|
112
|
+
export const solidPaletteThemes = new Set(["accent"]);
|
|
113
|
+
|
|
106
114
|
/**
|
|
107
115
|
* Resolve knobs → { knobProps }.
|
|
108
116
|
*
|
|
@@ -18,6 +18,13 @@ export interface UseResolvedKnobsOptions {
|
|
|
18
18
|
compact?: boolean;
|
|
19
19
|
}
|
|
20
20
|
export declare const solidButtonIntents: Set<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Themes that are solid by palette shape: the accent slot's steps 1-10 are all
|
|
23
|
+
* brand surfaces (defaults/accent.ts), so the LC-40 wash ($color3/$color6)
|
|
24
|
+
* lands one step off the fill and never reads disabled (MPO-433: ΔE 2.5 in
|
|
25
|
+
* dark). A control themed by one paints the wash from its host scope.
|
|
26
|
+
*/
|
|
27
|
+
export declare const solidPaletteThemes: Set<string>;
|
|
21
28
|
/**
|
|
22
29
|
* Resolve knobs → { knobProps }.
|
|
23
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResolvedKnobs.d.ts","sourceRoot":"","sources":["../../src/theme/useResolvedKnobs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,SAAS,CAAC;AAIxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAWlE,eAAO,MAAM,aAAa,wCAAqC,CAAC;AAEhE,wBAAgB,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAEhD;AAyDD,MAAM,WAAW,uBAAuB;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;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