@react-native-rethemed/panda-css-tokens 0.1.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/LICENSE +21 -0
- package/README.md +61 -0
- package/dist/cjs/index.d.ts +18 -0
- package/dist/cjs/index.js +45 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/tokens.gen.d.ts +463 -0
- package/dist/cjs/tokens.gen.js +447 -0
- package/dist/esm/index.d.ts +18 -0
- package/dist/esm/index.js +35 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/tokens.gen.d.ts +463 -0
- package/dist/esm/tokens.gen.js +444 -0
- package/package.json +72 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 manato
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# @react-native-rethemed/panda-css-tokens
|
|
2
|
+
|
|
3
|
+
Panda CSS's default theme tokens for React Native, ready for [react-native-rethemed](https://github.com/manakuro/react-native-rethemed).
|
|
4
|
+
|
|
5
|
+
Panda CSS's default theme (`@pandacss/preset-panda`): colors, radii, spacing, font sizes / weights, line heights, letter spacings and shadows. Panda ships no semantic tokens, so define `semanticTokens` in your app.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @react-native-rethemed/core @react-native-rethemed/panda-css-tokens
|
|
11
|
+
npm install --save-dev @react-native-rethemed/cli
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
`react` and `react-native` are peer dependencies of `@react-native-rethemed/core`.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
// src/theme/theme.ts
|
|
20
|
+
import { extendTheme } from '@react-native-rethemed/core';
|
|
21
|
+
import { colors, pandaCssTheme } from '@react-native-rethemed/panda-css-tokens';
|
|
22
|
+
|
|
23
|
+
// Panda ships no semantic tokens; define the ones your app needs.
|
|
24
|
+
export const themeConfig = extendTheme(pandaCssTheme, {
|
|
25
|
+
semanticTokens: {
|
|
26
|
+
colors: {
|
|
27
|
+
fg: { default: { light: colors['gray.900'], dark: colors['gray.50'] } },
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Then generate the typed bindings (and the token reference for AI agents):
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
npx @react-native-rethemed/cli codegen src/theme/theme.ts --docs docs/themed.md
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
and use them in components:
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
import { useThemed } from './theme/themed.gen';
|
|
43
|
+
|
|
44
|
+
const { themed } = useThemed();
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
See the [main README](https://github.com/manakuro/react-native-rethemed#readme) for the full setup (`ThemedProvider`, color mode, `extendTheme`).
|
|
48
|
+
|
|
49
|
+
## Exports
|
|
50
|
+
|
|
51
|
+
| Export | Description |
|
|
52
|
+
| --- | --- |
|
|
53
|
+
| `pandaCssTheme` | The full theme |
|
|
54
|
+
| `colors` | Color palette as hex (`'red.500'`) |
|
|
55
|
+
| `radii`, `spacing`, `fontSizes`, `fontWeights`, `lineHeights`, `letterSpacings`, `shadows` | Individual token scales |
|
|
56
|
+
|
|
57
|
+
[`example/`](https://github.com/manakuro/react-native-rethemed/tree/main/packages/react-native-rethemed/panda-css/example) shows what the CLI generates for `pandaCssTheme` (`themed.gen.ts`, `themed.md`).
|
|
58
|
+
|
|
59
|
+
## License
|
|
60
|
+
|
|
61
|
+
MIT. Token values are converted from [Panda CSS](https://github.com/chakra-ui/panda) (MIT).
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { colors, fontSizes, fontWeights, letterSpacings, lineHeights, radii, shadows, spacing } from './tokens.gen';
|
|
2
|
+
/**
|
|
3
|
+
* Panda CSS's default theme (`@pandacss/preset-panda`), converted for React
|
|
4
|
+
* Native. Values are generated by `scripts/generate.ts`; see
|
|
5
|
+
* `src/tokens.gen.ts`.
|
|
6
|
+
*
|
|
7
|
+
* - Lengths: rem → points at 16px; em letter spacings → points at 16px.
|
|
8
|
+
* - `colors`: Panda's (Tailwind's) oklch palette as hex. Color props take
|
|
9
|
+
* them by name (`themed.view({ backgroundColor: 'red.500' })`).
|
|
10
|
+
* - `shadows`: first layer only; inset shadows are omitted.
|
|
11
|
+
* - No `semanticTokens`: Panda ships none. Define `semanticTokens.colors`
|
|
12
|
+
* and `semanticTokens.text` in the app (they can reference these values).
|
|
13
|
+
* Panda's `textStyles` are not converted for the same reason.
|
|
14
|
+
* - Not included (no RN style equivalent): sizes, fonts, blurs, durations,
|
|
15
|
+
* easings, animations, aspect ratios, borders, breakpoints, keyframes.
|
|
16
|
+
*/
|
|
17
|
+
export declare const pandaCssTheme: import("@react-native-rethemed/core/config").ThemeConfig;
|
|
18
|
+
export { colors, fontSizes, fontWeights, letterSpacings, lineHeights, radii, shadows, spacing, };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.spacing = exports.shadows = exports.radii = exports.lineHeights = exports.letterSpacings = exports.fontWeights = exports.fontSizes = exports.colors = exports.pandaCssTheme = void 0;
|
|
4
|
+
const config_1 = require("@react-native-rethemed/core/config");
|
|
5
|
+
const tokens_gen_1 = require("./tokens.gen");
|
|
6
|
+
Object.defineProperty(exports, "colors", { enumerable: true, get: function () { return tokens_gen_1.colors; } });
|
|
7
|
+
Object.defineProperty(exports, "fontSizes", { enumerable: true, get: function () { return tokens_gen_1.fontSizes; } });
|
|
8
|
+
Object.defineProperty(exports, "fontWeights", { enumerable: true, get: function () { return tokens_gen_1.fontWeights; } });
|
|
9
|
+
Object.defineProperty(exports, "letterSpacings", { enumerable: true, get: function () { return tokens_gen_1.letterSpacings; } });
|
|
10
|
+
Object.defineProperty(exports, "lineHeights", { enumerable: true, get: function () { return tokens_gen_1.lineHeights; } });
|
|
11
|
+
Object.defineProperty(exports, "radii", { enumerable: true, get: function () { return tokens_gen_1.radii; } });
|
|
12
|
+
Object.defineProperty(exports, "shadows", { enumerable: true, get: function () { return tokens_gen_1.shadows; } });
|
|
13
|
+
Object.defineProperty(exports, "spacing", { enumerable: true, get: function () { return tokens_gen_1.spacing; } });
|
|
14
|
+
/**
|
|
15
|
+
* Panda CSS's default theme (`@pandacss/preset-panda`), converted for React
|
|
16
|
+
* Native. Values are generated by `scripts/generate.ts`; see
|
|
17
|
+
* `src/tokens.gen.ts`.
|
|
18
|
+
*
|
|
19
|
+
* - Lengths: rem → points at 16px; em letter spacings → points at 16px.
|
|
20
|
+
* - `colors`: Panda's (Tailwind's) oklch palette as hex. Color props take
|
|
21
|
+
* them by name (`themed.view({ backgroundColor: 'red.500' })`).
|
|
22
|
+
* - `shadows`: first layer only; inset shadows are omitted.
|
|
23
|
+
* - No `semanticTokens`: Panda ships none. Define `semanticTokens.colors`
|
|
24
|
+
* and `semanticTokens.text` in the app (they can reference these values).
|
|
25
|
+
* Panda's `textStyles` are not converted for the same reason.
|
|
26
|
+
* - Not included (no RN style equivalent): sizes, fonts, blurs, durations,
|
|
27
|
+
* easings, animations, aspect ratios, borders, breakpoints, keyframes.
|
|
28
|
+
*/
|
|
29
|
+
exports.pandaCssTheme = (0, config_1.defineTheme)({
|
|
30
|
+
tokens: {
|
|
31
|
+
colors: tokens_gen_1.colors,
|
|
32
|
+
radii: tokens_gen_1.radii,
|
|
33
|
+
spacing: tokens_gen_1.spacing,
|
|
34
|
+
fontSizes: tokens_gen_1.fontSizes,
|
|
35
|
+
fontWeights: tokens_gen_1.fontWeights,
|
|
36
|
+
lineHeights: tokens_gen_1.lineHeights,
|
|
37
|
+
letterSpacings: tokens_gen_1.letterSpacings,
|
|
38
|
+
shadows: tokens_gen_1.shadows,
|
|
39
|
+
},
|
|
40
|
+
// The browser default (16px); `lineHeights` are ratios of it when a style
|
|
41
|
+
// has no `fontSize` of its own.
|
|
42
|
+
defaults: {
|
|
43
|
+
fontSize: 'md',
|
|
44
|
+
},
|
|
45
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
/** Panda's palette (Tailwind's), converted from oklch to hex. `current` is omitted. */
|
|
2
|
+
export declare const colors: {
|
|
3
|
+
readonly transparent: "#00000000";
|
|
4
|
+
readonly black: "#000000";
|
|
5
|
+
readonly white: "#ffffff";
|
|
6
|
+
readonly 'slate.50': "#f8fafc";
|
|
7
|
+
readonly 'slate.100': "#f1f5f9";
|
|
8
|
+
readonly 'slate.200': "#e2e8f0";
|
|
9
|
+
readonly 'slate.300': "#cad5e2";
|
|
10
|
+
readonly 'slate.400': "#90a1b9";
|
|
11
|
+
readonly 'slate.500': "#62748e";
|
|
12
|
+
readonly 'slate.600': "#45556c";
|
|
13
|
+
readonly 'slate.700': "#314158";
|
|
14
|
+
readonly 'slate.800': "#1d293d";
|
|
15
|
+
readonly 'slate.900': "#0f172b";
|
|
16
|
+
readonly 'slate.950': "#020618";
|
|
17
|
+
readonly 'gray.50': "#f9fafb";
|
|
18
|
+
readonly 'gray.100': "#f3f4f6";
|
|
19
|
+
readonly 'gray.200': "#e5e7eb";
|
|
20
|
+
readonly 'gray.300': "#d1d5dc";
|
|
21
|
+
readonly 'gray.400': "#99a1af";
|
|
22
|
+
readonly 'gray.500': "#6a7282";
|
|
23
|
+
readonly 'gray.600': "#4a5565";
|
|
24
|
+
readonly 'gray.700': "#364153";
|
|
25
|
+
readonly 'gray.800': "#1e2939";
|
|
26
|
+
readonly 'gray.900': "#101828";
|
|
27
|
+
readonly 'gray.950': "#030712";
|
|
28
|
+
readonly 'zinc.50': "#fafafa";
|
|
29
|
+
readonly 'zinc.100': "#f4f4f5";
|
|
30
|
+
readonly 'zinc.200': "#e4e4e7";
|
|
31
|
+
readonly 'zinc.300': "#d4d4d8";
|
|
32
|
+
readonly 'zinc.400': "#9f9fa9";
|
|
33
|
+
readonly 'zinc.500': "#71717b";
|
|
34
|
+
readonly 'zinc.600': "#52525c";
|
|
35
|
+
readonly 'zinc.700': "#3f3f46";
|
|
36
|
+
readonly 'zinc.800': "#27272a";
|
|
37
|
+
readonly 'zinc.900': "#18181b";
|
|
38
|
+
readonly 'zinc.950': "#09090b";
|
|
39
|
+
readonly 'neutral.50': "#fafafa";
|
|
40
|
+
readonly 'neutral.100': "#f5f5f5";
|
|
41
|
+
readonly 'neutral.200': "#e5e5e5";
|
|
42
|
+
readonly 'neutral.300': "#d4d4d4";
|
|
43
|
+
readonly 'neutral.400': "#a1a1a1";
|
|
44
|
+
readonly 'neutral.500': "#737373";
|
|
45
|
+
readonly 'neutral.600': "#525252";
|
|
46
|
+
readonly 'neutral.700': "#404040";
|
|
47
|
+
readonly 'neutral.800': "#262626";
|
|
48
|
+
readonly 'neutral.900': "#171717";
|
|
49
|
+
readonly 'neutral.950': "#0a0a0a";
|
|
50
|
+
readonly 'stone.50': "#fafaf9";
|
|
51
|
+
readonly 'stone.100': "#f5f5f4";
|
|
52
|
+
readonly 'stone.200': "#e7e5e4";
|
|
53
|
+
readonly 'stone.300': "#d6d3d1";
|
|
54
|
+
readonly 'stone.400': "#a6a09b";
|
|
55
|
+
readonly 'stone.500': "#79716b";
|
|
56
|
+
readonly 'stone.600': "#57534d";
|
|
57
|
+
readonly 'stone.700': "#44403b";
|
|
58
|
+
readonly 'stone.800': "#292524";
|
|
59
|
+
readonly 'stone.900': "#1c1917";
|
|
60
|
+
readonly 'stone.950': "#0c0a09";
|
|
61
|
+
readonly 'mauve.50': "#fafafa";
|
|
62
|
+
readonly 'mauve.100': "#f3f1f3";
|
|
63
|
+
readonly 'mauve.200': "#e7e4e7";
|
|
64
|
+
readonly 'mauve.300': "#d7d0d7";
|
|
65
|
+
readonly 'mauve.400': "#a89ea9";
|
|
66
|
+
readonly 'mauve.500': "#79697b";
|
|
67
|
+
readonly 'mauve.600': "#594c5b";
|
|
68
|
+
readonly 'mauve.700': "#463947";
|
|
69
|
+
readonly 'mauve.800': "#2a212c";
|
|
70
|
+
readonly 'mauve.900': "#1d161e";
|
|
71
|
+
readonly 'mauve.950': "#0c090c";
|
|
72
|
+
readonly 'olive.50': "#fbfbf9";
|
|
73
|
+
readonly 'olive.100': "#f4f4f0";
|
|
74
|
+
readonly 'olive.200': "#e8e8e3";
|
|
75
|
+
readonly 'olive.300': "#d8d8d0";
|
|
76
|
+
readonly 'olive.400': "#abab9c";
|
|
77
|
+
readonly 'olive.500': "#7c7c67";
|
|
78
|
+
readonly 'olive.600': "#5b5b4b";
|
|
79
|
+
readonly 'olive.700': "#474739";
|
|
80
|
+
readonly 'olive.800': "#2b2b22";
|
|
81
|
+
readonly 'olive.900': "#1d1d16";
|
|
82
|
+
readonly 'olive.950': "#0c0c09";
|
|
83
|
+
readonly 'mist.50': "#f9fbfb";
|
|
84
|
+
readonly 'mist.100': "#f1f3f3";
|
|
85
|
+
readonly 'mist.200': "#e3e7e8";
|
|
86
|
+
readonly 'mist.300': "#d0d6d8";
|
|
87
|
+
readonly 'mist.400': "#9ca8ab";
|
|
88
|
+
readonly 'mist.500': "#67787c";
|
|
89
|
+
readonly 'mist.600': "#4b585b";
|
|
90
|
+
readonly 'mist.700': "#394447";
|
|
91
|
+
readonly 'mist.800': "#22292b";
|
|
92
|
+
readonly 'mist.900': "#161b1d";
|
|
93
|
+
readonly 'mist.950': "#090b0c";
|
|
94
|
+
readonly 'taupe.50': "#fbfaf9";
|
|
95
|
+
readonly 'taupe.100': "#f3f1f1";
|
|
96
|
+
readonly 'taupe.200': "#e8e4e3";
|
|
97
|
+
readonly 'taupe.300': "#d8d2d0";
|
|
98
|
+
readonly 'taupe.400': "#aba09c";
|
|
99
|
+
readonly 'taupe.500': "#7c6d67";
|
|
100
|
+
readonly 'taupe.600': "#5b4f4b";
|
|
101
|
+
readonly 'taupe.700': "#473c39";
|
|
102
|
+
readonly 'taupe.800': "#2b2422";
|
|
103
|
+
readonly 'taupe.900': "#1d1816";
|
|
104
|
+
readonly 'taupe.950': "#0c0a09";
|
|
105
|
+
readonly 'red.50': "#fef2f2";
|
|
106
|
+
readonly 'red.100': "#ffe2e2";
|
|
107
|
+
readonly 'red.200': "#ffc9c9";
|
|
108
|
+
readonly 'red.300': "#ffa2a2";
|
|
109
|
+
readonly 'red.400': "#ff6467";
|
|
110
|
+
readonly 'red.500': "#fb2c36";
|
|
111
|
+
readonly 'red.600': "#e7000b";
|
|
112
|
+
readonly 'red.700': "#c10007";
|
|
113
|
+
readonly 'red.800': "#9f0712";
|
|
114
|
+
readonly 'red.900': "#82181a";
|
|
115
|
+
readonly 'red.950': "#460809";
|
|
116
|
+
readonly 'orange.50': "#fff7ed";
|
|
117
|
+
readonly 'orange.100': "#ffedd4";
|
|
118
|
+
readonly 'orange.200': "#ffd6a8";
|
|
119
|
+
readonly 'orange.300': "#ffb86a";
|
|
120
|
+
readonly 'orange.400': "#ff8904";
|
|
121
|
+
readonly 'orange.500': "#ff6900";
|
|
122
|
+
readonly 'orange.600': "#f54a00";
|
|
123
|
+
readonly 'orange.700': "#ca3500";
|
|
124
|
+
readonly 'orange.800': "#9f2d00";
|
|
125
|
+
readonly 'orange.900': "#7e2a0c";
|
|
126
|
+
readonly 'orange.950': "#441306";
|
|
127
|
+
readonly 'amber.50': "#fffbeb";
|
|
128
|
+
readonly 'amber.100': "#fef3c6";
|
|
129
|
+
readonly 'amber.200': "#fee685";
|
|
130
|
+
readonly 'amber.300': "#ffd230";
|
|
131
|
+
readonly 'amber.400': "#ffba00";
|
|
132
|
+
readonly 'amber.500': "#fd9a00";
|
|
133
|
+
readonly 'amber.600': "#e17100";
|
|
134
|
+
readonly 'amber.700': "#bb4d00";
|
|
135
|
+
readonly 'amber.800': "#973c00";
|
|
136
|
+
readonly 'amber.900': "#7b3306";
|
|
137
|
+
readonly 'amber.950': "#461901";
|
|
138
|
+
readonly 'yellow.50': "#fefce8";
|
|
139
|
+
readonly 'yellow.100': "#fef9c2";
|
|
140
|
+
readonly 'yellow.200': "#fff085";
|
|
141
|
+
readonly 'yellow.300': "#ffdf20";
|
|
142
|
+
readonly 'yellow.400': "#fcc800";
|
|
143
|
+
readonly 'yellow.500': "#efb100";
|
|
144
|
+
readonly 'yellow.600': "#d08700";
|
|
145
|
+
readonly 'yellow.700': "#a65f00";
|
|
146
|
+
readonly 'yellow.800': "#894b00";
|
|
147
|
+
readonly 'yellow.900': "#733e0a";
|
|
148
|
+
readonly 'yellow.950': "#432004";
|
|
149
|
+
readonly 'lime.50': "#f7fee7";
|
|
150
|
+
readonly 'lime.100': "#ecfcca";
|
|
151
|
+
readonly 'lime.200': "#d8f999";
|
|
152
|
+
readonly 'lime.300': "#bbf451";
|
|
153
|
+
readonly 'lime.400': "#9ae600";
|
|
154
|
+
readonly 'lime.500': "#7ccf00";
|
|
155
|
+
readonly 'lime.600': "#5ea500";
|
|
156
|
+
readonly 'lime.700': "#497d00";
|
|
157
|
+
readonly 'lime.800': "#3d6300";
|
|
158
|
+
readonly 'lime.900': "#35530e";
|
|
159
|
+
readonly 'lime.950': "#192e03";
|
|
160
|
+
readonly 'green.50': "#f0fdf4";
|
|
161
|
+
readonly 'green.100': "#dcfce7";
|
|
162
|
+
readonly 'green.200': "#b9f8cf";
|
|
163
|
+
readonly 'green.300': "#7bf1a8";
|
|
164
|
+
readonly 'green.400': "#05df72";
|
|
165
|
+
readonly 'green.500': "#00c951";
|
|
166
|
+
readonly 'green.600': "#00a63e";
|
|
167
|
+
readonly 'green.700': "#008236";
|
|
168
|
+
readonly 'green.800': "#016630";
|
|
169
|
+
readonly 'green.900': "#0d542b";
|
|
170
|
+
readonly 'green.950': "#032e15";
|
|
171
|
+
readonly 'emerald.50': "#ecfdf5";
|
|
172
|
+
readonly 'emerald.100': "#d0fae5";
|
|
173
|
+
readonly 'emerald.200': "#a4f4cf";
|
|
174
|
+
readonly 'emerald.300': "#5ee9b5";
|
|
175
|
+
readonly 'emerald.400': "#00d492";
|
|
176
|
+
readonly 'emerald.500': "#00bc7d";
|
|
177
|
+
readonly 'emerald.600': "#009966";
|
|
178
|
+
readonly 'emerald.700': "#007a55";
|
|
179
|
+
readonly 'emerald.800': "#006045";
|
|
180
|
+
readonly 'emerald.900': "#004f3b";
|
|
181
|
+
readonly 'emerald.950': "#002c22";
|
|
182
|
+
readonly 'teal.50': "#f0fdfa";
|
|
183
|
+
readonly 'teal.100': "#cbfbf1";
|
|
184
|
+
readonly 'teal.200': "#96f7e4";
|
|
185
|
+
readonly 'teal.300': "#46ecd5";
|
|
186
|
+
readonly 'teal.400': "#00d5be";
|
|
187
|
+
readonly 'teal.500': "#00bba7";
|
|
188
|
+
readonly 'teal.600': "#009689";
|
|
189
|
+
readonly 'teal.700': "#00786f";
|
|
190
|
+
readonly 'teal.800': "#005f5a";
|
|
191
|
+
readonly 'teal.900': "#0b4f4a";
|
|
192
|
+
readonly 'teal.950': "#022f2e";
|
|
193
|
+
readonly 'cyan.50': "#ecfeff";
|
|
194
|
+
readonly 'cyan.100': "#cefafe";
|
|
195
|
+
readonly 'cyan.200': "#a2f4fd";
|
|
196
|
+
readonly 'cyan.300': "#53eafd";
|
|
197
|
+
readonly 'cyan.400': "#00d3f2";
|
|
198
|
+
readonly 'cyan.500': "#00b8db";
|
|
199
|
+
readonly 'cyan.600': "#0092b8";
|
|
200
|
+
readonly 'cyan.700': "#007595";
|
|
201
|
+
readonly 'cyan.800': "#005f78";
|
|
202
|
+
readonly 'cyan.900': "#104e64";
|
|
203
|
+
readonly 'cyan.950': "#053345";
|
|
204
|
+
readonly 'sky.50': "#f0f9ff";
|
|
205
|
+
readonly 'sky.100': "#dff2fe";
|
|
206
|
+
readonly 'sky.200': "#b8e6fe";
|
|
207
|
+
readonly 'sky.300': "#74d4ff";
|
|
208
|
+
readonly 'sky.400': "#00bcff";
|
|
209
|
+
readonly 'sky.500': "#00a6f4";
|
|
210
|
+
readonly 'sky.600': "#0084d1";
|
|
211
|
+
readonly 'sky.700': "#0069a8";
|
|
212
|
+
readonly 'sky.800': "#00598a";
|
|
213
|
+
readonly 'sky.900': "#024a70";
|
|
214
|
+
readonly 'sky.950': "#052f4a";
|
|
215
|
+
readonly 'blue.50': "#eff6ff";
|
|
216
|
+
readonly 'blue.100': "#dbeafe";
|
|
217
|
+
readonly 'blue.200': "#bedbff";
|
|
218
|
+
readonly 'blue.300': "#8ec5ff";
|
|
219
|
+
readonly 'blue.400': "#51a2ff";
|
|
220
|
+
readonly 'blue.500': "#2b7fff";
|
|
221
|
+
readonly 'blue.600': "#155dfc";
|
|
222
|
+
readonly 'blue.700': "#1447e6";
|
|
223
|
+
readonly 'blue.800': "#193cb8";
|
|
224
|
+
readonly 'blue.900': "#1c398e";
|
|
225
|
+
readonly 'blue.950': "#162456";
|
|
226
|
+
readonly 'indigo.50': "#eef2ff";
|
|
227
|
+
readonly 'indigo.100': "#e0e7ff";
|
|
228
|
+
readonly 'indigo.200': "#c6d2ff";
|
|
229
|
+
readonly 'indigo.300': "#a3b3ff";
|
|
230
|
+
readonly 'indigo.400': "#7c86ff";
|
|
231
|
+
readonly 'indigo.500': "#615fff";
|
|
232
|
+
readonly 'indigo.600': "#4f39f6";
|
|
233
|
+
readonly 'indigo.700': "#432dd7";
|
|
234
|
+
readonly 'indigo.800': "#372aac";
|
|
235
|
+
readonly 'indigo.900': "#312c85";
|
|
236
|
+
readonly 'indigo.950': "#1e1a4d";
|
|
237
|
+
readonly 'violet.50': "#f5f3ff";
|
|
238
|
+
readonly 'violet.100': "#ede9fe";
|
|
239
|
+
readonly 'violet.200': "#ddd6ff";
|
|
240
|
+
readonly 'violet.300': "#c4b4ff";
|
|
241
|
+
readonly 'violet.400': "#a684ff";
|
|
242
|
+
readonly 'violet.500': "#8e51ff";
|
|
243
|
+
readonly 'violet.600': "#7f22fe";
|
|
244
|
+
readonly 'violet.700': "#7008e7";
|
|
245
|
+
readonly 'violet.800': "#5d0ec0";
|
|
246
|
+
readonly 'violet.900': "#4d179a";
|
|
247
|
+
readonly 'violet.950': "#2f0d68";
|
|
248
|
+
readonly 'purple.50': "#faf5ff";
|
|
249
|
+
readonly 'purple.100': "#f3e8ff";
|
|
250
|
+
readonly 'purple.200': "#e9d4ff";
|
|
251
|
+
readonly 'purple.300': "#dab2ff";
|
|
252
|
+
readonly 'purple.400': "#c27aff";
|
|
253
|
+
readonly 'purple.500': "#ad46ff";
|
|
254
|
+
readonly 'purple.600': "#9810fa";
|
|
255
|
+
readonly 'purple.700': "#8200db";
|
|
256
|
+
readonly 'purple.800': "#6e11b0";
|
|
257
|
+
readonly 'purple.900': "#59168b";
|
|
258
|
+
readonly 'purple.950': "#3c0366";
|
|
259
|
+
readonly 'fuchsia.50': "#fdf4ff";
|
|
260
|
+
readonly 'fuchsia.100': "#fae8ff";
|
|
261
|
+
readonly 'fuchsia.200': "#f6cfff";
|
|
262
|
+
readonly 'fuchsia.300': "#f4a8ff";
|
|
263
|
+
readonly 'fuchsia.400': "#ed6bff";
|
|
264
|
+
readonly 'fuchsia.500': "#e12afb";
|
|
265
|
+
readonly 'fuchsia.600': "#c800de";
|
|
266
|
+
readonly 'fuchsia.700': "#a800b7";
|
|
267
|
+
readonly 'fuchsia.800': "#8a0194";
|
|
268
|
+
readonly 'fuchsia.900': "#721378";
|
|
269
|
+
readonly 'fuchsia.950': "#4b004f";
|
|
270
|
+
readonly 'pink.50': "#fdf2f8";
|
|
271
|
+
readonly 'pink.100': "#fce7f3";
|
|
272
|
+
readonly 'pink.200': "#fccee8";
|
|
273
|
+
readonly 'pink.300': "#fda5d5";
|
|
274
|
+
readonly 'pink.400': "#fb64b6";
|
|
275
|
+
readonly 'pink.500': "#f6339a";
|
|
276
|
+
readonly 'pink.600': "#e60076";
|
|
277
|
+
readonly 'pink.700': "#c6005c";
|
|
278
|
+
readonly 'pink.800': "#a3004c";
|
|
279
|
+
readonly 'pink.900': "#861043";
|
|
280
|
+
readonly 'pink.950': "#510424";
|
|
281
|
+
readonly 'rose.50': "#fff1f2";
|
|
282
|
+
readonly 'rose.100': "#ffe4e6";
|
|
283
|
+
readonly 'rose.200': "#ffccd3";
|
|
284
|
+
readonly 'rose.300': "#ffa1ad";
|
|
285
|
+
readonly 'rose.400': "#ff637e";
|
|
286
|
+
readonly 'rose.500': "#ff2056";
|
|
287
|
+
readonly 'rose.600': "#ec003f";
|
|
288
|
+
readonly 'rose.700': "#c70036";
|
|
289
|
+
readonly 'rose.800': "#a50036";
|
|
290
|
+
readonly 'rose.900': "#8b0836";
|
|
291
|
+
readonly 'rose.950': "#4d0218";
|
|
292
|
+
};
|
|
293
|
+
/** Border radii, in points (1rem = 16). */
|
|
294
|
+
export declare const radii: {
|
|
295
|
+
readonly xs: 2;
|
|
296
|
+
readonly sm: 4;
|
|
297
|
+
readonly md: 6;
|
|
298
|
+
readonly lg: 8;
|
|
299
|
+
readonly xl: 12;
|
|
300
|
+
readonly '2xl': 16;
|
|
301
|
+
readonly '3xl': 24;
|
|
302
|
+
readonly '4xl': 32;
|
|
303
|
+
readonly full: 9999;
|
|
304
|
+
};
|
|
305
|
+
/** Spacing scale, in points (1rem = 16). */
|
|
306
|
+
export declare const spacing: {
|
|
307
|
+
readonly 0: 0;
|
|
308
|
+
readonly 0.5: 2;
|
|
309
|
+
readonly 1: 4;
|
|
310
|
+
readonly 1.5: 6;
|
|
311
|
+
readonly 2: 8;
|
|
312
|
+
readonly 2.5: 10;
|
|
313
|
+
readonly 3: 12;
|
|
314
|
+
readonly 3.5: 14;
|
|
315
|
+
readonly 4: 16;
|
|
316
|
+
readonly 4.5: 18;
|
|
317
|
+
readonly 5: 20;
|
|
318
|
+
readonly 5.5: 22;
|
|
319
|
+
readonly 6: 24;
|
|
320
|
+
readonly 7: 28;
|
|
321
|
+
readonly 8: 32;
|
|
322
|
+
readonly 9: 36;
|
|
323
|
+
readonly 10: 40;
|
|
324
|
+
readonly 11: 44;
|
|
325
|
+
readonly 12: 48;
|
|
326
|
+
readonly 14: 56;
|
|
327
|
+
readonly 16: 64;
|
|
328
|
+
readonly 20: 80;
|
|
329
|
+
readonly 24: 96;
|
|
330
|
+
readonly 28: 112;
|
|
331
|
+
readonly 32: 128;
|
|
332
|
+
readonly 36: 144;
|
|
333
|
+
readonly 40: 160;
|
|
334
|
+
readonly 44: 176;
|
|
335
|
+
readonly 48: 192;
|
|
336
|
+
readonly 52: 208;
|
|
337
|
+
readonly 56: 224;
|
|
338
|
+
readonly 60: 240;
|
|
339
|
+
readonly 64: 256;
|
|
340
|
+
readonly 72: 288;
|
|
341
|
+
readonly 80: 320;
|
|
342
|
+
readonly 96: 384;
|
|
343
|
+
};
|
|
344
|
+
/** Font sizes, in points (1rem = 16). */
|
|
345
|
+
export declare const fontSizes: {
|
|
346
|
+
readonly '2xs': 8;
|
|
347
|
+
readonly xs: 12;
|
|
348
|
+
readonly sm: 14;
|
|
349
|
+
readonly md: 16;
|
|
350
|
+
readonly lg: 18;
|
|
351
|
+
readonly xl: 20;
|
|
352
|
+
readonly '2xl': 24;
|
|
353
|
+
readonly '3xl': 30;
|
|
354
|
+
readonly '4xl': 36;
|
|
355
|
+
readonly '5xl': 48;
|
|
356
|
+
readonly '6xl': 60;
|
|
357
|
+
readonly '7xl': 72;
|
|
358
|
+
readonly '8xl': 96;
|
|
359
|
+
readonly '9xl': 128;
|
|
360
|
+
};
|
|
361
|
+
/** Font weights. */
|
|
362
|
+
export declare const fontWeights: {
|
|
363
|
+
readonly thin: "100";
|
|
364
|
+
readonly extralight: "200";
|
|
365
|
+
readonly light: "300";
|
|
366
|
+
readonly normal: "400";
|
|
367
|
+
readonly medium: "500";
|
|
368
|
+
readonly semibold: "600";
|
|
369
|
+
readonly bold: "700";
|
|
370
|
+
readonly extrabold: "800";
|
|
371
|
+
readonly black: "900";
|
|
372
|
+
};
|
|
373
|
+
/** Line heights, as ratios of `fontSize`. */
|
|
374
|
+
export declare const lineHeights: {
|
|
375
|
+
readonly none: 1;
|
|
376
|
+
readonly tight: 1.25;
|
|
377
|
+
readonly snug: 1.375;
|
|
378
|
+
readonly normal: 1.5;
|
|
379
|
+
readonly relaxed: 1.625;
|
|
380
|
+
readonly loose: 2;
|
|
381
|
+
};
|
|
382
|
+
/** Letter spacings: em values converted to points at a 16px font size. */
|
|
383
|
+
export declare const letterSpacings: {
|
|
384
|
+
readonly tighter: -0.8;
|
|
385
|
+
readonly tight: -0.4;
|
|
386
|
+
readonly normal: 0;
|
|
387
|
+
readonly wide: 0.4;
|
|
388
|
+
readonly wider: 0.8;
|
|
389
|
+
readonly widest: 1.6;
|
|
390
|
+
};
|
|
391
|
+
/** Box shadows as single-layer RN shadows. Inset shadows are omitted. */
|
|
392
|
+
export declare const shadows: {
|
|
393
|
+
readonly '2xs': {
|
|
394
|
+
readonly shadowColor: "#000000";
|
|
395
|
+
readonly shadowOffset: {
|
|
396
|
+
readonly width: 0;
|
|
397
|
+
readonly height: 1;
|
|
398
|
+
};
|
|
399
|
+
readonly shadowOpacity: 0.05;
|
|
400
|
+
readonly shadowRadius: 0;
|
|
401
|
+
readonly elevation: 1;
|
|
402
|
+
};
|
|
403
|
+
readonly xs: {
|
|
404
|
+
readonly shadowColor: "#000000";
|
|
405
|
+
readonly shadowOffset: {
|
|
406
|
+
readonly width: 0;
|
|
407
|
+
readonly height: 1;
|
|
408
|
+
};
|
|
409
|
+
readonly shadowOpacity: 0.05;
|
|
410
|
+
readonly shadowRadius: 1;
|
|
411
|
+
readonly elevation: 1;
|
|
412
|
+
};
|
|
413
|
+
readonly sm: {
|
|
414
|
+
readonly shadowColor: "#000000";
|
|
415
|
+
readonly shadowOffset: {
|
|
416
|
+
readonly width: 0;
|
|
417
|
+
readonly height: 1;
|
|
418
|
+
};
|
|
419
|
+
readonly shadowOpacity: 0.1;
|
|
420
|
+
readonly shadowRadius: 1.5;
|
|
421
|
+
readonly elevation: 2;
|
|
422
|
+
};
|
|
423
|
+
readonly md: {
|
|
424
|
+
readonly shadowColor: "#000000";
|
|
425
|
+
readonly shadowOffset: {
|
|
426
|
+
readonly width: 0;
|
|
427
|
+
readonly height: 4;
|
|
428
|
+
};
|
|
429
|
+
readonly shadowOpacity: 0.1;
|
|
430
|
+
readonly shadowRadius: 3;
|
|
431
|
+
readonly elevation: 4;
|
|
432
|
+
};
|
|
433
|
+
readonly lg: {
|
|
434
|
+
readonly shadowColor: "#000000";
|
|
435
|
+
readonly shadowOffset: {
|
|
436
|
+
readonly width: 0;
|
|
437
|
+
readonly height: 10;
|
|
438
|
+
};
|
|
439
|
+
readonly shadowOpacity: 0.1;
|
|
440
|
+
readonly shadowRadius: 7.5;
|
|
441
|
+
readonly elevation: 8;
|
|
442
|
+
};
|
|
443
|
+
readonly xl: {
|
|
444
|
+
readonly shadowColor: "#000000";
|
|
445
|
+
readonly shadowOffset: {
|
|
446
|
+
readonly width: 0;
|
|
447
|
+
readonly height: 20;
|
|
448
|
+
};
|
|
449
|
+
readonly shadowOpacity: 0.1;
|
|
450
|
+
readonly shadowRadius: 12.5;
|
|
451
|
+
readonly elevation: 12;
|
|
452
|
+
};
|
|
453
|
+
readonly '2xl': {
|
|
454
|
+
readonly shadowColor: "#000000";
|
|
455
|
+
readonly shadowOffset: {
|
|
456
|
+
readonly width: 0;
|
|
457
|
+
readonly height: 25;
|
|
458
|
+
};
|
|
459
|
+
readonly shadowOpacity: 0.25;
|
|
460
|
+
readonly shadowRadius: 25;
|
|
461
|
+
readonly elevation: 16;
|
|
462
|
+
};
|
|
463
|
+
};
|