alouette 7.0.0-beta.2 → 7.0.0-beta.21
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/README.md +7 -1
- package/dist/createAlouetteTamagui-browser.es.js +105 -95
- package/dist/createAlouetteTamagui-browser.es.js.map +1 -1
- package/dist/createAlouetteTamagui-node18.mjs +105 -95
- package/dist/createAlouetteTamagui-node18.mjs.map +1 -1
- package/dist/createAlouetteTamagui-react-native.cjs.js +107 -94
- package/dist/createAlouetteTamagui-react-native.cjs.js.map +1 -1
- package/dist/definitions/components/actions/Button.d.ts +20 -0
- package/dist/definitions/components/actions/Button.d.ts.map +1 -0
- package/dist/definitions/components/actions/Button.stories.d.ts +10 -0
- package/dist/definitions/components/actions/Button.stories.d.ts.map +1 -0
- package/dist/definitions/components/actions/IconButton.d.ts +18 -0
- package/dist/definitions/components/actions/IconButton.d.ts.map +1 -0
- package/dist/definitions/components/actions/IconButton.stories.d.ts +10 -0
- package/dist/definitions/components/actions/IconButton.stories.d.ts.map +1 -0
- package/dist/definitions/components/containers/Box.d.ts +13 -0
- package/dist/definitions/components/containers/Box.d.ts.map +1 -0
- package/dist/definitions/components/containers/Box.stories.d.ts +18 -0
- package/dist/definitions/components/containers/Box.stories.d.ts.map +1 -0
- package/dist/definitions/components/containers/PressableBox.d.ts +12 -0
- package/dist/definitions/components/containers/PressableBox.d.ts.map +1 -0
- package/dist/definitions/components/containers/PressableBox.stories.d.ts +18 -0
- package/dist/definitions/components/containers/PressableBox.stories.d.ts.map +1 -0
- package/dist/definitions/components/containers/variants.d.ts +61 -0
- package/dist/definitions/components/containers/variants.d.ts.map +1 -0
- package/dist/definitions/components/feedback/FeedbackIcon.d.ts +8 -0
- package/dist/definitions/components/feedback/FeedbackIcon.d.ts.map +1 -0
- package/dist/definitions/components/feedback/Message.d.ts +25 -0
- package/dist/definitions/components/feedback/Message.d.ts.map +1 -0
- package/dist/definitions/components/feedback/Message.stories.d.ts +10 -0
- package/dist/definitions/components/feedback/Message.stories.d.ts.map +1 -0
- package/dist/definitions/components/forms/InputText.d.ts +23 -0
- package/dist/definitions/components/forms/InputText.d.ts.map +1 -0
- package/dist/definitions/components/forms/InputText.stories.d.ts +16 -0
- package/dist/definitions/components/forms/InputText.stories.d.ts.map +1 -0
- package/dist/definitions/components/layout/Separator.d.ts +6 -0
- package/dist/definitions/components/layout/Separator.d.ts.map +1 -0
- package/dist/definitions/components/layout/Separator.stories.d.ts +10 -0
- package/dist/definitions/components/layout/Separator.stories.d.ts.map +1 -0
- package/dist/definitions/components/layout/list.d.ts +7 -0
- package/dist/definitions/components/layout/list.d.ts.map +1 -0
- package/dist/definitions/components/layout/list.stories.d.ts +7 -0
- package/dist/definitions/components/layout/list.stories.d.ts.map +1 -0
- package/dist/definitions/components/primitives/Icon.d.ts +14 -0
- package/dist/definitions/components/primitives/Icon.d.ts.map +1 -0
- package/dist/definitions/components/primitives/Icon.stories.d.ts +9 -0
- package/dist/definitions/components/primitives/Icon.stories.d.ts.map +1 -0
- package/dist/definitions/components/primitives/ScrollView.d.ts +14 -0
- package/dist/definitions/components/primitives/ScrollView.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.d.ts +5 -0
- package/dist/definitions/components/primitives/View.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.stories.d.ts +10 -0
- package/dist/definitions/components/primitives/View.stories.d.ts.map +1 -0
- package/dist/definitions/components/primitives/createVariants.d.ts +54 -0
- package/dist/definitions/components/primitives/createVariants.d.ts.map +1 -0
- package/dist/definitions/components/primitives/stacks.d.ts +17 -0
- package/dist/definitions/components/primitives/stacks.d.ts.map +1 -0
- package/dist/definitions/components/primitives/stacks.stories.d.ts +10 -0
- package/dist/definitions/components/primitives/stacks.stories.d.ts.map +1 -0
- package/dist/definitions/components/story-components/Story.d.ts +21 -0
- package/dist/definitions/components/story-components/Story.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryContainer.d.ts +7 -0
- package/dist/definitions/components/story-components/StoryContainer.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryDecorator.d.ts +3 -0
- package/dist/definitions/components/story-components/StoryDecorator.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryGrid.d.ts +19 -0
- package/dist/definitions/components/story-components/StoryGrid.d.ts.map +1 -0
- package/dist/definitions/components/story-components/StoryTitle.d.ts +10 -0
- package/dist/definitions/components/story-components/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/components/story-components/WithTamaguiConfig.d.ts +7 -0
- package/dist/definitions/components/story-components/WithTamaguiConfig.d.ts.map +1 -0
- package/dist/definitions/components/typography/Typography.d.ts +38 -0
- package/dist/definitions/components/typography/Typography.d.ts.map +1 -0
- package/dist/definitions/components/typography/Typography.stories.d.ts +15 -0
- package/dist/definitions/components/typography/Typography.stories.d.ts.map +1 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.d.ts +20 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.d.ts.map +1 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.stories.d.ts +10 -0
- package/dist/definitions/components/windowSize/SwitchBreakpoints.stories.d.ts.map +1 -0
- package/dist/definitions/components/windowSize/useCurrentBreakpointName.d.ts +5 -0
- package/dist/definitions/components/windowSize/useCurrentBreakpointName.d.ts.map +1 -0
- package/dist/definitions/config/Breakpoints.d.ts +32 -0
- package/dist/definitions/config/Breakpoints.d.ts.map +1 -0
- package/dist/definitions/config/animations.d.ts +15 -0
- package/dist/definitions/config/animations.d.ts.map +1 -0
- package/dist/definitions/config/animations.web.d.ts +5 -0
- package/dist/definitions/config/animations.web.d.ts.map +1 -0
- package/dist/definitions/config/colorScales.d.ts +13 -0
- package/dist/definitions/config/colorScales.d.ts.map +1 -0
- package/dist/definitions/config/createAlouetteFonts.d.ts +90 -0
- package/dist/definitions/config/createAlouetteFonts.d.ts.map +1 -0
- package/dist/definitions/config/createAlouetteTokens.d.ts +557 -0
- package/dist/definitions/config/createAlouetteTokens.d.ts.map +1 -0
- package/dist/definitions/config/media.d.ts +15 -0
- package/dist/definitions/config/media.d.ts.map +1 -0
- package/dist/definitions/config/themes.d.ts +247 -0
- package/dist/definitions/config/themes.d.ts.map +1 -0
- package/dist/definitions/config/themes.stories.d.ts +8 -0
- package/dist/definitions/config/themes.stories.d.ts.map +1 -0
- package/dist/definitions/config/tokens.stories.d.ts +8 -0
- package/dist/definitions/config/tokens.stories.d.ts.map +1 -0
- package/dist/definitions/config/utils/groupTokens.d.ts +7 -0
- package/dist/definitions/config/utils/groupTokens.d.ts.map +1 -0
- package/dist/definitions/core/AlouetteDecorator.d.ts +3 -0
- package/dist/definitions/core/AlouetteDecorator.d.ts.map +1 -0
- package/dist/definitions/core/AlouetteProvider.d.ts +8 -0
- package/dist/definitions/core/AlouetteProvider.d.ts.map +1 -0
- package/dist/definitions/createAlouetteTamagui.d.ts +136 -0
- package/dist/definitions/createAlouetteTamagui.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +42 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/index-browser.es.js +389 -60
- package/dist/index-browser.es.js.map +1 -1
- package/dist/index-node18.mjs +389 -60
- package/dist/index-node18.mjs.map +1 -1
- package/dist/index-react-native.cjs.js +403 -56
- package/dist/index-react-native.cjs.js.map +1 -1
- package/package.json +31 -24
- package/src/components/actions/Button.stories.tsx +4 -5
- package/src/components/actions/Button.tsx +3 -4
- package/src/components/actions/IconButton.stories.tsx +2 -3
- package/src/components/actions/IconButton.tsx +4 -4
- package/src/components/containers/{Frame.stories.tsx → Box.stories.tsx} +21 -21
- package/src/components/containers/{Frame.tsx → Box.tsx} +3 -3
- package/src/components/containers/{Pressable.stories.tsx → PressableBox.stories.tsx} +8 -8
- package/src/components/containers/PressableBox.tsx +9 -0
- package/src/components/containers/variants.ts +15 -12
- package/src/components/feedback/FeedbackIcon.tsx +2 -2
- package/src/components/feedback/Message.stories.tsx +2 -2
- package/src/components/feedback/Message.tsx +4 -4
- package/src/components/forms/InputText.stories.tsx +2 -2
- package/src/components/forms/InputText.tsx +5 -0
- package/src/components/layout/Separator.stories.tsx +39 -0
- package/src/components/layout/Separator.tsx +31 -0
- package/src/components/layout/list.stories.tsx +24 -0
- package/src/components/layout/list.tsx +30 -0
- package/src/components/primitives/Icon.stories.tsx +1 -1
- package/src/components/primitives/Icon.tsx +6 -12
- package/src/components/primitives/ScrollView.ts +2 -1
- package/src/components/primitives/createVariants.ts +7 -5
- package/src/components/primitives/stacks.stories.tsx +14 -14
- package/src/components/primitives/stacks.ts +2 -6
- package/src/components/story-components/Story.tsx +1 -1
- package/src/components/story-components/StoryGrid.tsx +0 -1
- package/src/components/story-components/StoryTitle.tsx +3 -0
- package/src/components/typography/Typography.tsx +2 -0
- package/src/components/windowSize/SwitchBreakpoints.stories.tsx +1 -1
- package/src/config/animations.ts +4 -0
- package/src/config/animations.web.ts +1 -0
- package/src/config/colorScales.ts +4 -4
- package/src/config/createAlouetteFonts.ts +6 -6
- package/src/config/createAlouetteTokens.ts +23 -18
- package/src/config/themes.stories.tsx +5 -9
- package/src/config/themes.ts +139 -68
- package/src/config/tokens.stories.tsx +7 -7
- package/src/core/AlouetteDecorator.tsx +1 -0
- package/src/createAlouetteTamagui.ts +32 -19
- package/src/index.ts +50 -3
- package/.editorconfig +0 -13
- package/.eslintrc.json +0 -5
- package/.yo-rc.json +0 -11
- package/dist/phosphor-icons-browser.es.js +0 -2497
- package/dist/phosphor-icons-browser.es.js.map +0 -1
- package/dist/phosphor-icons-node18.mjs +0 -2497
- package/dist/phosphor-icons-node18.mjs.map +0 -1
- package/dist/phosphor-icons-react-native.cjs.js +0 -4998
- package/dist/phosphor-icons-react-native.cjs.js.map +0 -1
- package/phosphor-icons.js +0 -1
- package/rollup.config.mjs +0 -8
- package/scripts/generate-phosphor-icons-legacy-withcopy.mjs +0 -64
- package/scripts/generate-phosphor-icons.mjs +0 -51
- package/src/.eslintrc.json +0 -32
- package/src/components/containers/Pressable.tsx +0 -9
- package/src/components/windowSize/__snapshots__/SwitchBreakpoints.stories.tsx.snap +0 -1032
- package/src/components/windowSize/__snapshots_web__/SwitchBreakpoints.stories.tsx.snap +0 -402
- package/src/phosphor-icons.cjs +0 -1254
- package/src/phosphor-icons.d.ts +0 -2501
- package/src/phosphor-icons.ts +0 -2499
- package/src/typings/bundler.d.ts +0 -10
- package/tsconfig.json +0 -20
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import type { Variable } from "@tamagui/core";
|
|
2
|
+
import type { AlouetteColorScales } from "./colorScales";
|
|
3
|
+
import type { createAlouetteTokens } from "./createAlouetteTokens";
|
|
4
|
+
export interface ColorTheme {
|
|
5
|
+
backgroundColor: Variable<string>;
|
|
6
|
+
textColor: Variable<string>;
|
|
7
|
+
mainColor: Variable<string>;
|
|
8
|
+
mainTextColor: Variable<string>;
|
|
9
|
+
contrastTextColor: Variable<string>;
|
|
10
|
+
borderColor: Variable<string>;
|
|
11
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
12
|
+
"interactive.borderColor": Variable<string>;
|
|
13
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
14
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
15
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
16
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
17
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
18
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
19
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
20
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
21
|
+
"interactive.borderColor:press": Variable<string>;
|
|
22
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
23
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
24
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
25
|
+
"interactive.forms.textColor": Variable<string>;
|
|
26
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
27
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
28
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
29
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
30
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
31
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
32
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
33
|
+
}
|
|
34
|
+
export type FullTheme = ColorTheme;
|
|
35
|
+
export declare const createColorTheme: <const ColorScales extends AlouetteColorScales>(tokens: ReturnType<typeof createAlouetteTokens<ColorScales>>, colorScaleName: string & keyof ColorScales, backgroundColor?: Variable<string>, textColor?: Variable<string>, contrastTextColor?: Variable<string>) => {
|
|
36
|
+
backgroundColor: Variable<string>;
|
|
37
|
+
textColor: Variable<string>;
|
|
38
|
+
mainColor: { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
39
|
+
mainTextColor: { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
40
|
+
contrastTextColor: Variable<string>;
|
|
41
|
+
borderColor: { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
42
|
+
"interactive.contained.backgroundColor": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
43
|
+
"interactive.borderColor": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
44
|
+
"interactive.contained.backgroundColor:hover": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
45
|
+
"interactive.outlined.backgroundColor:hover": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
46
|
+
"interactive.borderColor:hover": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
47
|
+
"interactive.contained.backgroundColor:focus": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
48
|
+
"interactive.outlined.backgroundColor:focus": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
49
|
+
"interactive.borderColor:focus": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
50
|
+
"interactive.contained.backgroundColor:press": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
51
|
+
"interactive.outlined.backgroundColor:press": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
52
|
+
"interactive.borderColor:press": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
53
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
54
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
55
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
56
|
+
"interactive.forms.textColor": Variable<string>;
|
|
57
|
+
"interactive.forms.backgroundColor:focus": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
58
|
+
"interactive.forms.backgroundColor:press": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
59
|
+
"interactive.forms.borderColor": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
60
|
+
"interactive.forms.borderColor:hover": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
61
|
+
"interactive.forms.borderColor:focus": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
62
|
+
"interactive.forms.borderColor:press": { [Key in "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }]: Variable<string>; }["black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; } extends number ? `${number & keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }}` : "black" | "white" | "disabled" | "contrastDisabled" | keyof { [K in string & keyof ColorScales as `${K}.1` | `${K}.4` | `${K}.2` | `${K}.3` | `${K}.5` | `${K}.6` | `${K}.7` | `${K}.8` | `${K}.9`]: string; }];
|
|
63
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
64
|
+
};
|
|
65
|
+
export declare const createAlouetteThemes: <const ColorScales extends AlouetteColorScales>(tokens: ReturnType<typeof createAlouetteTokens<ColorScales>>) => {
|
|
66
|
+
readonly light: {
|
|
67
|
+
backgroundColor: Variable<string>;
|
|
68
|
+
textColor: Variable<string>;
|
|
69
|
+
mainColor: Variable<string>;
|
|
70
|
+
mainTextColor: Variable<string>;
|
|
71
|
+
contrastTextColor: Variable<string>;
|
|
72
|
+
borderColor: Variable<string>;
|
|
73
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
74
|
+
"interactive.borderColor": Variable<string>;
|
|
75
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
76
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
77
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
78
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
79
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
80
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
81
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
82
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
83
|
+
"interactive.borderColor:press": Variable<string>;
|
|
84
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
85
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
86
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
87
|
+
"interactive.forms.textColor": Variable<string>;
|
|
88
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
89
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
90
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
91
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
92
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
93
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
94
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
95
|
+
};
|
|
96
|
+
readonly light_info: {
|
|
97
|
+
backgroundColor: Variable<string>;
|
|
98
|
+
textColor: Variable<string>;
|
|
99
|
+
mainColor: Variable<string>;
|
|
100
|
+
mainTextColor: Variable<string>;
|
|
101
|
+
contrastTextColor: Variable<string>;
|
|
102
|
+
borderColor: Variable<string>;
|
|
103
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
104
|
+
"interactive.borderColor": Variable<string>;
|
|
105
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
106
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
107
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
108
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
109
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
110
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
111
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
112
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
113
|
+
"interactive.borderColor:press": Variable<string>;
|
|
114
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
115
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
116
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
117
|
+
"interactive.forms.textColor": Variable<string>;
|
|
118
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
119
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
120
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
121
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
122
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
123
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
124
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
125
|
+
};
|
|
126
|
+
readonly light_success: {
|
|
127
|
+
backgroundColor: Variable<string>;
|
|
128
|
+
textColor: Variable<string>;
|
|
129
|
+
mainColor: Variable<string>;
|
|
130
|
+
mainTextColor: Variable<string>;
|
|
131
|
+
contrastTextColor: Variable<string>;
|
|
132
|
+
borderColor: Variable<string>;
|
|
133
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
134
|
+
"interactive.borderColor": Variable<string>;
|
|
135
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
136
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
137
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
138
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
139
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
140
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
141
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
142
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
143
|
+
"interactive.borderColor:press": Variable<string>;
|
|
144
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
145
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
146
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
147
|
+
"interactive.forms.textColor": Variable<string>;
|
|
148
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
149
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
150
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
151
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
152
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
153
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
154
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
155
|
+
};
|
|
156
|
+
readonly light_warning: {
|
|
157
|
+
backgroundColor: Variable<string>;
|
|
158
|
+
textColor: Variable<string>;
|
|
159
|
+
mainColor: Variable<string>;
|
|
160
|
+
mainTextColor: Variable<string>;
|
|
161
|
+
contrastTextColor: Variable<string>;
|
|
162
|
+
borderColor: Variable<string>;
|
|
163
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
164
|
+
"interactive.borderColor": Variable<string>;
|
|
165
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
166
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
167
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
168
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
169
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
170
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
171
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
172
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
173
|
+
"interactive.borderColor:press": Variable<string>;
|
|
174
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
175
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
176
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
177
|
+
"interactive.forms.textColor": Variable<string>;
|
|
178
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
179
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
180
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
181
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
182
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
183
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
184
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
185
|
+
};
|
|
186
|
+
readonly light_danger: {
|
|
187
|
+
backgroundColor: Variable<string>;
|
|
188
|
+
textColor: Variable<string>;
|
|
189
|
+
mainColor: Variable<string>;
|
|
190
|
+
mainTextColor: Variable<string>;
|
|
191
|
+
contrastTextColor: Variable<string>;
|
|
192
|
+
borderColor: Variable<string>;
|
|
193
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
194
|
+
"interactive.borderColor": Variable<string>;
|
|
195
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
196
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
197
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
198
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
199
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
200
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
201
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
202
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
203
|
+
"interactive.borderColor:press": Variable<string>;
|
|
204
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
205
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
206
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
207
|
+
"interactive.forms.textColor": Variable<string>;
|
|
208
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
209
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
210
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
211
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
212
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
213
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
214
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
215
|
+
};
|
|
216
|
+
readonly light_primary: {
|
|
217
|
+
backgroundColor: Variable<string>;
|
|
218
|
+
textColor: Variable<string>;
|
|
219
|
+
mainColor: Variable<string>;
|
|
220
|
+
mainTextColor: Variable<string>;
|
|
221
|
+
contrastTextColor: Variable<string>;
|
|
222
|
+
borderColor: Variable<string>;
|
|
223
|
+
"interactive.contained.backgroundColor": Variable<string>;
|
|
224
|
+
"interactive.borderColor": Variable<string>;
|
|
225
|
+
"interactive.contained.backgroundColor:hover": Variable<string>;
|
|
226
|
+
"interactive.outlined.backgroundColor:hover": Variable<string>;
|
|
227
|
+
"interactive.borderColor:hover": Variable<string>;
|
|
228
|
+
"interactive.contained.backgroundColor:focus": Variable<string>;
|
|
229
|
+
"interactive.outlined.backgroundColor:focus": Variable<string>;
|
|
230
|
+
"interactive.borderColor:focus": Variable<string>;
|
|
231
|
+
"interactive.contained.backgroundColor:press": Variable<string>;
|
|
232
|
+
"interactive.outlined.backgroundColor:press": Variable<string>;
|
|
233
|
+
"interactive.borderColor:press": Variable<string>;
|
|
234
|
+
"interactive.contained.backgroundColor:disabled": Variable<string>;
|
|
235
|
+
"interactive.borderColor:disabled": Variable<string>;
|
|
236
|
+
"interactive.textColor:disabled": Variable<string>;
|
|
237
|
+
"interactive.forms.textColor": Variable<string>;
|
|
238
|
+
"interactive.forms.backgroundColor:focus": Variable<string>;
|
|
239
|
+
"interactive.forms.backgroundColor:press": Variable<string>;
|
|
240
|
+
"interactive.forms.borderColor": Variable<string>;
|
|
241
|
+
"interactive.forms.borderColor:hover": Variable<string>;
|
|
242
|
+
"interactive.forms.borderColor:focus": Variable<string>;
|
|
243
|
+
"interactive.forms.borderColor:press": Variable<string>;
|
|
244
|
+
"interactive.forms.borderColor:disabled": Variable<string>;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../src/config/themes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAYnE,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAClC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5B,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChC,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACpC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE9B,uCAAuC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1D,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE5C,6CAA6C,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChE,4CAA4C,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/D,+BAA+B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAElD,6CAA6C,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChE,4CAA4C,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/D,+BAA+B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAElD,6CAA6C,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChE,4CAA4C,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/D,+BAA+B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAElD,gDAAgD,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnE,kCAAkC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACrD,gCAAgC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEnD,6BAA6B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAGhD,yCAAyC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5D,yCAAyC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC5D,+BAA+B,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAClD,qCAAqC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACxD,qCAAqC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACxD,qCAAqC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACxD,wCAAwC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAC5D;AAGD,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC;AAQnC,eAAO,MAAM,gBAAgB,SAAU,WAAW,SAAS,mBAAmB,UACpE,UAAU,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,CAAC,kBAC5C,MAAM,GAAG,MAAM,WAAW,oBACxB,QAAQ,CAAC,MAAM,CAAC,cACtB,QAAQ,CAAC,MAAM,CAAC,sBACR,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,SACzB,WAAW,SAAS,mBAAmB,UAErC,UAAU,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsD7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themes.stories.d.ts","sourceRoot":"","sources":["../../../src/config/themes.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAWvD,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;;;;AAEnC,wBAE0B;AAE1B,eAAO,MAAM,WAAW,EAAE,SAyCzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.stories.d.ts","sourceRoot":"","sources":["../../../src/config/tokens.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASvD,KAAK,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;;;;AAEnC,wBAE0B;AAE1B,eAAO,MAAM,WAAW,EAAE,SAsEzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupTokens.d.ts","sourceRoot":"","sources":["../../../../src/config/utils/groupTokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,WAAW,gBAAiB,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;SAGxD,MAAM;cAAY,MAAM;cAAY,QAAQ;MA0BtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlouetteDecorator.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,eAAO,MAAM,iBAAiB,EAAE,SAK/B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TamaguiProviderProps } from "@tamagui/core";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
export interface AlouetteProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
tamaguiConfig: TamaguiProviderProps["config"];
|
|
6
|
+
}
|
|
7
|
+
export declare function AlouetteProvider({ children, tamaguiConfig, }: AlouetteProviderProps): ReactNode;
|
|
8
|
+
//# sourceMappingURL=AlouetteProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlouetteProvider.d.ts","sourceRoot":"","sources":["../../../src/core/AlouetteProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CAC/C;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,aAAa,GACd,EAAE,qBAAqB,GAAG,SAAS,CAMnC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { AlouetteColorScales } from "./config/colorScales";
|
|
2
|
+
import type { AlouetteFontsOptions } from "./config/createAlouetteFonts";
|
|
3
|
+
import type { createAlouetteTokens } from "./config/createAlouetteTokens";
|
|
4
|
+
import type { createAlouetteThemes } from "./config/themes";
|
|
5
|
+
export { createAlouetteTokens } from "./config/createAlouetteTokens";
|
|
6
|
+
export interface AlouetteTamaguiOptions {
|
|
7
|
+
fonts?: AlouetteFontsOptions;
|
|
8
|
+
}
|
|
9
|
+
export { createColorTheme, createAlouetteThemes, type FullTheme, } from "./config/themes";
|
|
10
|
+
export { defaultColorScales, createColorScale, type AlouetteColorScales, type AlouetteColorScale, } from "./config/colorScales";
|
|
11
|
+
export declare const createAlouetteTamagui: <const ColorScales extends AlouetteColorScales, const Tokens extends ReturnType<typeof createAlouetteTokens<ColorScales>>, const Themes extends ReturnType<typeof createAlouetteThemes<ColorScales>>>(tokens: Tokens, themes: Themes, options?: AlouetteTamaguiOptions) => import("@tamagui/core").TamaguiInternalConfig<Tokens extends Record<string, {
|
|
12
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
13
|
+
}> & {
|
|
14
|
+
color: {
|
|
15
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
16
|
+
};
|
|
17
|
+
space: {
|
|
18
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
22
|
+
};
|
|
23
|
+
radius: {
|
|
24
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
25
|
+
};
|
|
26
|
+
zIndex: {
|
|
27
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
28
|
+
};
|
|
29
|
+
} ? Tokens : {
|
|
30
|
+
color: {};
|
|
31
|
+
space: {};
|
|
32
|
+
size: {};
|
|
33
|
+
radius: {};
|
|
34
|
+
zIndex: {};
|
|
35
|
+
}, Themes extends {
|
|
36
|
+
[key: string]: Partial<import("@tamagui/core").TamaguiBaseTheme> & {
|
|
37
|
+
[key: string]: import("@tamagui/core").VariableVal;
|
|
38
|
+
};
|
|
39
|
+
} ? Themes : {}, {}, {
|
|
40
|
+
readonly small: {
|
|
41
|
+
readonly minWidth: 480;
|
|
42
|
+
};
|
|
43
|
+
readonly medium: {
|
|
44
|
+
readonly minWidth: 768;
|
|
45
|
+
};
|
|
46
|
+
readonly large: {
|
|
47
|
+
readonly minWidth: 1024;
|
|
48
|
+
};
|
|
49
|
+
readonly wide: {
|
|
50
|
+
readonly minWidth: 1280;
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
fast: {
|
|
54
|
+
type: "timing";
|
|
55
|
+
duration: number;
|
|
56
|
+
damping: number;
|
|
57
|
+
stiffness: number;
|
|
58
|
+
};
|
|
59
|
+
formElement: {
|
|
60
|
+
type: "timing";
|
|
61
|
+
duration: number;
|
|
62
|
+
damping: number;
|
|
63
|
+
stiffness: number;
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
heading: {
|
|
67
|
+
family: string;
|
|
68
|
+
weight: {
|
|
69
|
+
regular: string;
|
|
70
|
+
bold: string;
|
|
71
|
+
black: string;
|
|
72
|
+
};
|
|
73
|
+
face: {
|
|
74
|
+
400: {
|
|
75
|
+
normal: string;
|
|
76
|
+
};
|
|
77
|
+
700: {
|
|
78
|
+
normal: string;
|
|
79
|
+
};
|
|
80
|
+
900: {
|
|
81
|
+
normal: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
size: {
|
|
85
|
+
xl: number;
|
|
86
|
+
lg: number;
|
|
87
|
+
md: number;
|
|
88
|
+
sm: number;
|
|
89
|
+
xs: number;
|
|
90
|
+
};
|
|
91
|
+
lineHeight: {
|
|
92
|
+
xl: number;
|
|
93
|
+
lg: number;
|
|
94
|
+
md: number;
|
|
95
|
+
sm: number;
|
|
96
|
+
xs: number;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
body: {
|
|
100
|
+
family: string;
|
|
101
|
+
weight: {
|
|
102
|
+
regular: string;
|
|
103
|
+
bold: string;
|
|
104
|
+
black: string;
|
|
105
|
+
};
|
|
106
|
+
face: {
|
|
107
|
+
400: {
|
|
108
|
+
normal: string;
|
|
109
|
+
};
|
|
110
|
+
700: {
|
|
111
|
+
normal: string;
|
|
112
|
+
};
|
|
113
|
+
900: {
|
|
114
|
+
normal: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
size: {
|
|
118
|
+
xl: number;
|
|
119
|
+
lg: number;
|
|
120
|
+
md: number;
|
|
121
|
+
sm: number;
|
|
122
|
+
xs: number;
|
|
123
|
+
};
|
|
124
|
+
lineHeight: {
|
|
125
|
+
xl: number;
|
|
126
|
+
lg: number;
|
|
127
|
+
md: number;
|
|
128
|
+
sm: number;
|
|
129
|
+
xs: number;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}, boolean | undefined, {
|
|
133
|
+
readonly allowedStyleValues: "somewhat-strict-web";
|
|
134
|
+
readonly autocompleteSpecificTokens: "except-special";
|
|
135
|
+
}>;
|
|
136
|
+
//# sourceMappingURL=createAlouetteTamagui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createAlouetteTamagui.d.ts","sourceRoot":"","sources":["../../src/createAlouetteTamagui.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAED,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,qBAAqB,SAC1B,WAAW,SAAS,mBAAmB,QACvC,MAAM,SAAS,UAAU,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,CAAC,QACnE,MAAM,SAAS,UAAU,CAAC,OAAO,oBAAoB,CAAC,WAAW,CAAC,CAAC,UAEjE,MAAM,UACN,MAAM,YACL,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAchC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type { IconButtonProps } from "./components/actions/IconButton";
|
|
2
|
+
export { IconButton } from "./components/actions/IconButton";
|
|
3
|
+
export type { ButtonProps } from "./components/actions/Button";
|
|
4
|
+
export { Button } from "./components/actions/Button";
|
|
5
|
+
export type { BoxProps } from "./components/containers/Box";
|
|
6
|
+
export { Box } from "./components/containers/Box";
|
|
7
|
+
export type { PressableBoxProps } from "./components/containers/PressableBox";
|
|
8
|
+
export { PressableBox } from "./components/containers/PressableBox";
|
|
9
|
+
export type { MessageProps } from "./components/feedback/Message";
|
|
10
|
+
export { Message } from "./components/feedback/Message";
|
|
11
|
+
export type { InputTextProps, TextAreaProps, } from "./components/forms/InputText";
|
|
12
|
+
export { InputText, TextArea } from "./components/forms/InputText";
|
|
13
|
+
export type { IconProps } from "./components/primitives/Icon";
|
|
14
|
+
export { Icon } from "./components/primitives/Icon";
|
|
15
|
+
export type { ScrollViewProps } from "./components/primitives/ScrollView";
|
|
16
|
+
export { ScrollView } from "./components/primitives/ScrollView";
|
|
17
|
+
export type { ViewProps } from "./components/primitives/View";
|
|
18
|
+
export { View } from "./components/primitives/View";
|
|
19
|
+
export type { HStackProps, VStackProps, StackProps, } from "./components/primitives/stacks";
|
|
20
|
+
export { Stack, HStack, VStack } from "./components/primitives/stacks";
|
|
21
|
+
export type { StoryProps } from "./components/story-components/Story";
|
|
22
|
+
export { Story } from "./components/story-components/Story";
|
|
23
|
+
export type { StoryContainerProps } from "./components/story-components/StoryContainer";
|
|
24
|
+
export { StoryContainer } from "./components/story-components/StoryContainer";
|
|
25
|
+
export { StoryDecorator } from "./components/story-components/StoryDecorator";
|
|
26
|
+
export type { StoryGridColProps, StoryGridRowProps, } from "./components/story-components/StoryGrid";
|
|
27
|
+
export { StoryGrid } from "./components/story-components/StoryGrid";
|
|
28
|
+
export type { StoryTitleProps } from "./components/story-components/StoryTitle";
|
|
29
|
+
export { StoryTitle } from "./components/story-components/StoryTitle";
|
|
30
|
+
export { WithTamaguiConfig } from "./components/story-components/WithTamaguiConfig";
|
|
31
|
+
export type { TypographyProps, TypographyParagraphProps, } from "./components/typography/Typography";
|
|
32
|
+
export { Typography, TypographyWithContext, TypographyParagraph, TypographyParagraphWithContext, } from "./components/typography/Typography";
|
|
33
|
+
export { SwitchBreakpointsUsingDisplayNone, SwitchBreakpointsUsingNull, } from "./components/windowSize/SwitchBreakpoints";
|
|
34
|
+
export { useCurrentBreakpointName } from "./components/windowSize/useCurrentBreakpointName";
|
|
35
|
+
export { AlouetteDecorator } from "./core/AlouetteDecorator";
|
|
36
|
+
export { AlouetteProvider } from "./core/AlouetteProvider";
|
|
37
|
+
export type { GetProps, ThemeProps } from "@tamagui/core";
|
|
38
|
+
export { Theme, styled, withStaticProperties } from "@tamagui/core";
|
|
39
|
+
export type { SeparatorProps } from "./components/layout/Separator";
|
|
40
|
+
export { Separator } from "./components/layout/Separator";
|
|
41
|
+
export { PressableListItem } from "./components/layout/list";
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,YAAY,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAClD,YAAY,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,YAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,YAAY,EACV,cAAc,EACd,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,YAAY,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,YAAY,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,YAAY,EACV,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,YAAY,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,YAAY,EACV,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,YAAY,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,YAAY,EACV,eAAe,EACf,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,8BAA8B,GAC/B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,iCAAiC,EACjC,0BAA0B,GAC3B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACpE,YAAY,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
|