@astryxdesign/theme-butter 0.0.0-bootstrap.0 → 0.0.15
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 +55 -1
- package/dist/butter.d.ts +11 -0
- package/dist/butter.js +198 -0
- package/dist/butter.variants.d.ts +112 -0
- package/dist/butterTheme.d.ts +344 -0
- package/dist/butterTheme.d.ts.map +1 -0
- package/dist/chunk-KRFM4EWN.mjs +66 -0
- package/dist/icons.d.ts +3 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +63 -0
- package/dist/icons.mjs +6 -0
- package/dist/source.d.ts +3 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +918 -0
- package/dist/source.mjs +855 -0
- package/dist/theme.css +773 -0
- package/package.json +56 -5
- package/src/butterTheme.ts +916 -0
- package/src/icons.tsx +77 -0
- package/src/source.ts +4 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Meta Platforms, Inc.
|
|
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
CHANGED
|
@@ -1,3 +1,57 @@
|
|
|
1
1
|
# @astryxdesign/theme-butter
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Golden buttery theme for Astryx with blue accents. Sarina for display type, Outfit for headings and body.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @astryxdesign/theme-butter
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import {butterTheme} from '@astryxdesign/theme-butter/built';
|
|
15
|
+
import {XDSTheme} from '@astryxdesign/core/theme';
|
|
16
|
+
import '@astryxdesign/theme-butter/theme.css';
|
|
17
|
+
|
|
18
|
+
function App() {
|
|
19
|
+
return <XDSTheme theme={butterTheme}>{/* Your app content */}</XDSTheme>;
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Colors
|
|
24
|
+
|
|
25
|
+
Source palette:
|
|
26
|
+
|
|
27
|
+
| Role | Hex |
|
|
28
|
+
| ------- | --------- |
|
|
29
|
+
| Accent | `#225BFF` |
|
|
30
|
+
| Yellow | `#FDEE8C` |
|
|
31
|
+
| Error | `#FC473B` |
|
|
32
|
+
| Warning | `#FFC502` |
|
|
33
|
+
| Success | `#91D143` |
|
|
34
|
+
| Info | `#4883FD` |
|
|
35
|
+
|
|
36
|
+
Each color (Blue, Cyan, Green, Orange, Pink, Purple, Red, Teal, Yellow,
|
|
37
|
+
plus Error / Warning / Success) is published as a smooth 21-step tonal
|
|
38
|
+
palette in `butterPalettes`. Categorical badges, cards, and banner text
|
|
39
|
+
roles read from these palettes via:
|
|
40
|
+
|
|
41
|
+
- `T90` light / `T15` dark: background surfaces
|
|
42
|
+
- `T80` light / `T25` dark: borders, dark-mode text
|
|
43
|
+
- `T25` light / `T80` dark: light-mode text, icons
|
|
44
|
+
|
|
45
|
+
To regenerate the palettes after changing a source color, edit the
|
|
46
|
+
`SOURCES` map in `scripts/generate-palettes.mjs`, run the script, and
|
|
47
|
+
paste the output back into `src/butterTheme.ts`.
|
|
48
|
+
|
|
49
|
+
## Typography
|
|
50
|
+
|
|
51
|
+
- **Display**: Sarina (cursive), applied per-page via inline style.
|
|
52
|
+
- **Heading & Body**: Outfit, base 14px, ratio 1.25.
|
|
53
|
+
- **Code**: JetBrains Mono.
|
|
54
|
+
|
|
55
|
+
Sarina and Outfit ship via Google Fonts. Add the appropriate
|
|
56
|
+
`<link rel="stylesheet" href="...">` to your document `<head>` to avoid
|
|
57
|
+
runtime font fetching.
|
package/dist/butter.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated by `astryx theme build` — do not edit manually.
|
|
3
|
+
* Source: src/butterTheme.ts
|
|
4
|
+
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
+
* Generated: 2026-06-24T18:16:24.164Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { DefinedTheme } from '@astryxdesign/core/theme';
|
|
9
|
+
import type { IconRegistry } from '@astryxdesign/core/Icon';
|
|
10
|
+
export declare const butterIconRegistry: IconRegistry;
|
|
11
|
+
export declare const butterTheme: DefinedTheme;
|
package/dist/butter.js
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated by `astryx theme build` — do not edit manually.
|
|
3
|
+
* Source: src/butterTheme.ts
|
|
4
|
+
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
+
* Generated: 2026-06-24T18:16:24.163Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { butterIconRegistry } from './icons';
|
|
9
|
+
/**
|
|
10
|
+
* butter theme — built by `pnpm exec astryx theme build`
|
|
11
|
+
* Import the CSS file alongside this module:
|
|
12
|
+
*
|
|
13
|
+
* import { butterTheme } from './butter';
|
|
14
|
+
* import './butter.css';
|
|
15
|
+
*/
|
|
16
|
+
export const butterTheme = {
|
|
17
|
+
name: 'butter',
|
|
18
|
+
__built: true,
|
|
19
|
+
tokens: {
|
|
20
|
+
"--font-size-4xs": "0.3125rem",
|
|
21
|
+
"--font-size-3xs": "0.375rem",
|
|
22
|
+
"--font-size-2xs": "0.4375rem",
|
|
23
|
+
"--font-size-xs": "0.5625rem",
|
|
24
|
+
"--font-size-sm": "0.6875rem",
|
|
25
|
+
"--font-size-base": "0.875rem",
|
|
26
|
+
"--font-size-lg": "1.125rem",
|
|
27
|
+
"--font-size-xl": "1.375rem",
|
|
28
|
+
"--font-size-2xl": "1.6875rem",
|
|
29
|
+
"--font-size-3xl": "2.125rem",
|
|
30
|
+
"--font-size-4xl": "2.6875rem",
|
|
31
|
+
"--font-size-5xl": "3.3125rem",
|
|
32
|
+
"--text-heading-1-size": "var(--font-size-2xl)",
|
|
33
|
+
"--text-heading-1-weight": "var(--font-weight-semibold)",
|
|
34
|
+
"--text-heading-1-leading": "1.3333",
|
|
35
|
+
"--text-heading-2-size": "var(--font-size-xl)",
|
|
36
|
+
"--text-heading-2-weight": "var(--font-weight-semibold)",
|
|
37
|
+
"--text-heading-2-leading": "1.4545",
|
|
38
|
+
"--text-heading-3-size": "var(--font-size-lg)",
|
|
39
|
+
"--text-heading-3-weight": "var(--font-weight-bold)",
|
|
40
|
+
"--text-heading-3-leading": "1.5556",
|
|
41
|
+
"--text-heading-4-size": "var(--font-size-base)",
|
|
42
|
+
"--text-heading-4-weight": "var(--font-weight-bold)",
|
|
43
|
+
"--text-heading-4-leading": "1.4286",
|
|
44
|
+
"--text-heading-5-size": "var(--font-size-sm)",
|
|
45
|
+
"--text-heading-5-weight": "var(--font-weight-semibold)",
|
|
46
|
+
"--text-heading-5-leading": "1.4545",
|
|
47
|
+
"--text-heading-6-size": "var(--font-size-xs)",
|
|
48
|
+
"--text-heading-6-weight": "var(--font-weight-semibold)",
|
|
49
|
+
"--text-heading-6-leading": "1.7778",
|
|
50
|
+
"--text-body-size": "var(--font-size-base)",
|
|
51
|
+
"--text-body-weight": "var(--font-weight-normal)",
|
|
52
|
+
"--text-body-leading": "1.4286",
|
|
53
|
+
"--text-large-size": "var(--font-size-lg)",
|
|
54
|
+
"--text-large-weight": "var(--font-weight-semibold)",
|
|
55
|
+
"--text-large-leading": "1.5556",
|
|
56
|
+
"--text-label-size": "var(--font-size-base)",
|
|
57
|
+
"--text-label-weight": "var(--font-weight-medium)",
|
|
58
|
+
"--text-label-leading": "1.4286",
|
|
59
|
+
"--text-code-size": "var(--font-size-base)",
|
|
60
|
+
"--text-code-weight": "var(--font-weight-normal)",
|
|
61
|
+
"--text-code-leading": "1.4286",
|
|
62
|
+
"--text-supporting-size": "12px",
|
|
63
|
+
"--text-supporting-weight": "var(--font-weight-normal)",
|
|
64
|
+
"--text-supporting-leading": "1.4545",
|
|
65
|
+
"--text-display-1-size": "var(--font-size-5xl)",
|
|
66
|
+
"--text-display-1-weight": "var(--font-weight-normal)",
|
|
67
|
+
"--text-display-1-leading": "1.283",
|
|
68
|
+
"--text-display-2-size": "var(--font-size-4xl)",
|
|
69
|
+
"--text-display-2-weight": "var(--font-weight-normal)",
|
|
70
|
+
"--text-display-2-leading": "1.2093",
|
|
71
|
+
"--text-display-3-size": "var(--font-size-3xl)",
|
|
72
|
+
"--text-display-3-weight": "var(--font-weight-normal)",
|
|
73
|
+
"--text-display-3-leading": "1.2941",
|
|
74
|
+
"--duration-fast-min": "95ms",
|
|
75
|
+
"--duration-fast": "125ms",
|
|
76
|
+
"--duration-fast-max": "165ms",
|
|
77
|
+
"--duration-medium-min": "225ms",
|
|
78
|
+
"--duration-medium": "300ms",
|
|
79
|
+
"--duration-medium-max": "400ms",
|
|
80
|
+
"--duration-slow-min": "525ms",
|
|
81
|
+
"--duration-slow": "700ms",
|
|
82
|
+
"--duration-slow-max": "935ms",
|
|
83
|
+
"--font-family-body": "Outfit, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
84
|
+
"--font-family-heading": "Outfit, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
85
|
+
"--font-family-code": "\"JetBrains Mono\", \"SF Mono\", Monaco, Consolas, monospace",
|
|
86
|
+
"--color-syntax-keyword": "light-dark(#52237b, #ddb9f6)",
|
|
87
|
+
"--color-syntax-string": "light-dark(#004800, #a5d29d)",
|
|
88
|
+
"--color-syntax-comment": "light-dark(#605f52, #adac9e)",
|
|
89
|
+
"--color-syntax-number": "light-dark(#622e00, #f2bd81)",
|
|
90
|
+
"--color-syntax-function": "light-dark(#203a6c, #bdc5eb)",
|
|
91
|
+
"--color-syntax-type": "light-dark(#52237b, #ddb9f6)",
|
|
92
|
+
"--color-syntax-variable": "light-dark(#605f52, #adac9e)",
|
|
93
|
+
"--color-syntax-operator": "light-dark(#605f52, #adac9e)",
|
|
94
|
+
"--color-syntax-constant": "light-dark(#622e00, #f2bd81)",
|
|
95
|
+
"--color-syntax-tag": "light-dark(#6d211c, #f4b8ae)",
|
|
96
|
+
"--color-syntax-attribute": "light-dark(#413e00, #d6c957)",
|
|
97
|
+
"--color-syntax-property": "light-dark(#00482d, #94d3bb)",
|
|
98
|
+
"--color-syntax-punctuation": "light-dark(#605f52, #adac9e)",
|
|
99
|
+
"--color-syntax-background": "light-dark(#FDFBE4, #131107)",
|
|
100
|
+
"--color-accent": "light-dark(#225BFF, #FDEE8C)",
|
|
101
|
+
"--color-accent-muted": "light-dark(#225BFF33, #FDEE8C40)",
|
|
102
|
+
"--color-neutral": "light-dark(#1d1c110F, #f3f2e21A)",
|
|
103
|
+
"--color-background-surface": "light-dark(#FFFFFF, #2E2117)",
|
|
104
|
+
"--color-background-body": "light-dark(#FDFBE4, #261A13)",
|
|
105
|
+
"--color-overlay": "light-dark(#1d1c1180, #261A13cc)",
|
|
106
|
+
"--color-overlay-hover": "light-dark(#1d1c110D, #f3f2e20D)",
|
|
107
|
+
"--color-overlay-pressed": "light-dark(#1d1c111A, #f3f2e21A)",
|
|
108
|
+
"--color-background-muted": "light-dark(#f3f2e2, #3A2A1F)",
|
|
109
|
+
"--color-text-primary": "light-dark(#1d1c11, #f3f2e2)",
|
|
110
|
+
"--color-text-secondary": "light-dark(#605f52, #adac9e)",
|
|
111
|
+
"--color-text-disabled": "light-dark(#adac9e, #605f52)",
|
|
112
|
+
"--color-text-accent": "light-dark(#225BFF, #FDEE8C)",
|
|
113
|
+
"--color-on-dark": "#ffffff",
|
|
114
|
+
"--color-on-light": "#1d1c11",
|
|
115
|
+
"--color-on-accent": "light-dark(#ffffff, #1d1c11)",
|
|
116
|
+
"--color-on-success": "light-dark(#ccff88, #0b2e00)",
|
|
117
|
+
"--color-on-error": "light-dark(#ffe3de, #600000)",
|
|
118
|
+
"--color-on-warning": "light-dark(#ffeec3, #3b2200)",
|
|
119
|
+
"--color-icon-accent": "light-dark(#225BFF, #FDEE8C)",
|
|
120
|
+
"--color-icon-primary": "light-dark(#1d1c11, #f3f2e2)",
|
|
121
|
+
"--color-icon-secondary": "light-dark(#605f52, #adac9e)",
|
|
122
|
+
"--color-icon-disabled": "light-dark(#adac9e, #605f52)",
|
|
123
|
+
"--color-background-card": "light-dark(#FFFFFF, #3A2A1F)",
|
|
124
|
+
"--color-background-popover": "light-dark(#FFFFFF, #3A2A1F)",
|
|
125
|
+
"--color-background-inverted": "light-dark(#1d1c11, #FDFBE4)",
|
|
126
|
+
"--color-error": "light-dark(#771210, #ffb4a6)",
|
|
127
|
+
"--color-error-muted": "light-dark(#77121033, #ffb4a640)",
|
|
128
|
+
"--color-warning": "light-dark(#543700, #f7be00)",
|
|
129
|
+
"--color-warning-muted": "light-dark(#54370033, #f7be0040)",
|
|
130
|
+
"--color-success": "light-dark(#004700, #99d94b)",
|
|
131
|
+
"--color-success-muted": "light-dark(#00470033, #99d94b40)",
|
|
132
|
+
"--color-border": "light-dark(#e5e3d4, #f3f2e21A)",
|
|
133
|
+
"--color-border-emphasized": "light-dark(#C7C4B2, #939184)",
|
|
134
|
+
"--color-skeleton": "light-dark(#e5e3d4, #49473b)",
|
|
135
|
+
"--color-shadow": "light-dark(#1d1c111A, #0000004D)",
|
|
136
|
+
"--color-tint-hover": "light-dark(black, white)",
|
|
137
|
+
"--size-element-sm": "32px",
|
|
138
|
+
"--size-element-md": "40px",
|
|
139
|
+
"--size-element-lg": "48px",
|
|
140
|
+
"--color-background-blue": "light-dark(#dbe1ff, #dbe1ff)",
|
|
141
|
+
"--color-border-blue": "light-dark(#bdc5eb, #bdc5eb)",
|
|
142
|
+
"--color-icon-blue": "light-dark(#203a6c, #203a6c)",
|
|
143
|
+
"--color-text-blue": "light-dark(#203a6c, #203a6c)",
|
|
144
|
+
"--color-background-cyan": "light-dark(#a9eff0, #a9eff0)",
|
|
145
|
+
"--color-border-cyan": "light-dark(#8dd2d3, #8dd2d3)",
|
|
146
|
+
"--color-icon-cyan": "light-dark(#004649, #004649)",
|
|
147
|
+
"--color-text-cyan": "light-dark(#004649, #004649)",
|
|
148
|
+
"--color-background-gray": "light-dark(#f0edd4, #f0edd4)",
|
|
149
|
+
"--color-border-gray": "light-dark(#d6d3b8, #d6d3b8)",
|
|
150
|
+
"--color-icon-gray": "light-dark(#4a4732, #4a4732)",
|
|
151
|
+
"--color-text-gray": "light-dark(#4a4732, #4a4732)",
|
|
152
|
+
"--color-background-green": "light-dark(#c1efb8, #c1efb8)",
|
|
153
|
+
"--color-border-green": "light-dark(#a5d29d, #a5d29d)",
|
|
154
|
+
"--color-icon-green": "light-dark(#004800, #004800)",
|
|
155
|
+
"--color-text-green": "light-dark(#004800, #004800)",
|
|
156
|
+
"--color-background-orange": "light-dark(#ffdcb6, #ffdcb6)",
|
|
157
|
+
"--color-border-orange": "light-dark(#f2bd81, #f2bd81)",
|
|
158
|
+
"--color-icon-orange": "light-dark(#622e00, #622e00)",
|
|
159
|
+
"--color-text-orange": "light-dark(#622e00, #622e00)",
|
|
160
|
+
"--color-background-pink": "light-dark(#ffd5fb, #ffd5fb)",
|
|
161
|
+
"--color-border-pink": "light-dark(#f0b3e8, #f0b3e8)",
|
|
162
|
+
"--color-icon-pink": "light-dark(#6c0a68, #6c0a68)",
|
|
163
|
+
"--color-text-pink": "light-dark(#6c0a68, #6c0a68)",
|
|
164
|
+
"--color-background-purple": "light-dark(#f2daff, #f2daff)",
|
|
165
|
+
"--color-border-purple": "light-dark(#ddb9f6, #ddb9f6)",
|
|
166
|
+
"--color-icon-purple": "light-dark(#52237b, #52237b)",
|
|
167
|
+
"--color-text-purple": "light-dark(#52237b, #52237b)",
|
|
168
|
+
"--color-background-red": "light-dark(#ffdad3, #ffdad3)",
|
|
169
|
+
"--color-border-red": "light-dark(#f4b8ae, #f4b8ae)",
|
|
170
|
+
"--color-icon-red": "light-dark(#6d211c, #6d211c)",
|
|
171
|
+
"--color-text-red": "light-dark(#6d211c, #6d211c)",
|
|
172
|
+
"--color-background-teal": "light-dark(#b0f0d7, #b0f0d7)",
|
|
173
|
+
"--color-border-teal": "light-dark(#94d3bb, #94d3bb)",
|
|
174
|
+
"--color-icon-teal": "light-dark(#00482d, #00482d)",
|
|
175
|
+
"--color-text-teal": "light-dark(#00482d, #00482d)",
|
|
176
|
+
"--color-background-yellow": "light-dark(#feee7b, #feee7b)",
|
|
177
|
+
"--color-border-yellow": "light-dark(#d6c957, #d6c957)",
|
|
178
|
+
"--color-icon-yellow": "light-dark(#413e00, #413e00)",
|
|
179
|
+
"--color-text-yellow": "light-dark(#413e00, #413e00)",
|
|
180
|
+
"--radius-none": "0.125rem",
|
|
181
|
+
"--radius-inner": "0.375rem",
|
|
182
|
+
"--radius-element": "0.5rem",
|
|
183
|
+
"--radius-container": "0.75rem",
|
|
184
|
+
"--radius-page": "1.5rem",
|
|
185
|
+
"--radius-full": "9999px",
|
|
186
|
+
"--shadow-low": "0 2px 4px #1d1c110D, 0 4px 8px #1d1c111A",
|
|
187
|
+
"--shadow-med": "0 2px 4px #1d1c110D, 0 4px 12px #1d1c111A",
|
|
188
|
+
"--shadow-high": "0 4px 6px #1d1c111A, 0 12px 24px #1d1c1126",
|
|
189
|
+
"--shadow-inset-hover": "inset 0px 0px 0px 2px #79786a30",
|
|
190
|
+
"--shadow-inset-selected": "inset 0px 0px 0px 2px #79786a50",
|
|
191
|
+
"--shadow-inset-success": "inset 0px 0px 0px 2px #00470030",
|
|
192
|
+
"--shadow-inset-warning": "inset 0px 0px 0px 2px #54370030",
|
|
193
|
+
"--shadow-inset-error": "inset 0px 0px 0px 2px #77121030"
|
|
194
|
+
},
|
|
195
|
+
icons: butterIconRegistry,
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
export { butterIconRegistry };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated by `astryx theme build` — do not edit manually.
|
|
3
|
+
* Source: src/butterTheme.ts
|
|
4
|
+
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
+
* Generated: 2026-06-24T18:16:24.174Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Generated by astryx theme build
|
|
9
|
+
export {};
|
|
10
|
+
|
|
11
|
+
declare module '@astryxdesign/core/Heading' {
|
|
12
|
+
interface XDSHeadingLevelMap {
|
|
13
|
+
'1': true;
|
|
14
|
+
'2': true;
|
|
15
|
+
'3': true;
|
|
16
|
+
'4': true;
|
|
17
|
+
'5': true;
|
|
18
|
+
'6': true;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare module '@astryxdesign/core/Card' {
|
|
23
|
+
interface XDSCardVariantMap {
|
|
24
|
+
'info': true;
|
|
25
|
+
'success': true;
|
|
26
|
+
'warning': true;
|
|
27
|
+
'error': true;
|
|
28
|
+
'blue': true;
|
|
29
|
+
'cyan': true;
|
|
30
|
+
'gray': true;
|
|
31
|
+
'green': true;
|
|
32
|
+
'orange': true;
|
|
33
|
+
'pink': true;
|
|
34
|
+
'purple': true;
|
|
35
|
+
'red': true;
|
|
36
|
+
'teal': true;
|
|
37
|
+
'yellow': true;
|
|
38
|
+
'muted': true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare module '@astryxdesign/core/ProgressbarFill' {
|
|
43
|
+
interface XDSProgressbarFillVariantMap {
|
|
44
|
+
'success': true;
|
|
45
|
+
'warning': true;
|
|
46
|
+
'error': true;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare module '@astryxdesign/core/FieldStatus' {
|
|
51
|
+
interface XDSFieldStatusTypeMap {
|
|
52
|
+
'success': true;
|
|
53
|
+
'warning': true;
|
|
54
|
+
'error': true;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare module '@astryxdesign/core/TextInput' {
|
|
59
|
+
interface XDSTextInputStatusMap {
|
|
60
|
+
'success': true;
|
|
61
|
+
'warning': true;
|
|
62
|
+
'error': true;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare module '@astryxdesign/core/NumberInput' {
|
|
67
|
+
interface XDSNumberInputStatusMap {
|
|
68
|
+
'success': true;
|
|
69
|
+
'warning': true;
|
|
70
|
+
'error': true;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare module '@astryxdesign/core/DateInput' {
|
|
75
|
+
interface XDSDateInputStatusMap {
|
|
76
|
+
'success': true;
|
|
77
|
+
'warning': true;
|
|
78
|
+
'error': true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare module '@astryxdesign/core/TimeInput' {
|
|
83
|
+
interface XDSTimeInputStatusMap {
|
|
84
|
+
'success': true;
|
|
85
|
+
'warning': true;
|
|
86
|
+
'error': true;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare module '@astryxdesign/core/MultiSelector' {
|
|
91
|
+
interface XDSMultiSelectorStatusMap {
|
|
92
|
+
'success': true;
|
|
93
|
+
'warning': true;
|
|
94
|
+
'error': true;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare module '@astryxdesign/core/Typeahead' {
|
|
99
|
+
interface XDSTypeaheadStatusMap {
|
|
100
|
+
'success': true;
|
|
101
|
+
'warning': true;
|
|
102
|
+
'error': true;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare module '@astryxdesign/core/Tokenizer' {
|
|
107
|
+
interface XDSTokenizerStatusMap {
|
|
108
|
+
'success': true;
|
|
109
|
+
'warning': true;
|
|
110
|
+
'error': true;
|
|
111
|
+
}
|
|
112
|
+
}
|