@whatsaaaa/design-system 0.0.0 → 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/README.md +151 -0
- package/assets/building-blocks/apple-touch-icon.png +0 -0
- package/assets/building-blocks/favicon-16.png +0 -0
- package/assets/building-blocks/favicon-32.png +0 -0
- package/assets/building-blocks/favicon.ico +0 -0
- package/assets/building-blocks/favicon.svg +1 -0
- package/assets/building-blocks/icon-192.png +0 -0
- package/assets/building-blocks/icon-512.png +0 -0
- package/assets/building-blocks/lockup-dark.svg +1 -0
- package/assets/building-blocks/lockup-light.svg +1 -0
- package/assets/building-blocks/mark-mono.svg +1 -0
- package/assets/building-blocks/mark-on-dark.svg +1 -0
- package/assets/building-blocks/mark-on-light.svg +1 -0
- package/assets/building-blocks/mark.svg +1 -0
- package/assets/building-blocks/readme-header.png +0 -0
- package/assets/building-blocks/readme-header.svg +1 -0
- package/assets/building-blocks/social-card.png +0 -0
- package/assets/building-blocks/social-card.svg +1 -0
- package/assets/building-blocks/wordmark-dark.svg +1 -0
- package/assets/building-blocks/wordmark-light.svg +1 -0
- package/assets/dotfiles/apple-touch-icon.png +0 -0
- package/assets/dotfiles/favicon-16.png +0 -0
- package/assets/dotfiles/favicon-32.png +0 -0
- package/assets/dotfiles/favicon.ico +0 -0
- package/assets/dotfiles/favicon.svg +1 -0
- package/assets/dotfiles/icon-192.png +0 -0
- package/assets/dotfiles/icon-512.png +0 -0
- package/assets/dotfiles/lockup-dark.svg +1 -0
- package/assets/dotfiles/lockup-light.svg +1 -0
- package/assets/dotfiles/mark-mono.svg +1 -0
- package/assets/dotfiles/mark-on-dark.svg +1 -0
- package/assets/dotfiles/mark-on-light.svg +1 -0
- package/assets/dotfiles/mark.svg +1 -0
- package/assets/dotfiles/readme-header.png +0 -0
- package/assets/dotfiles/readme-header.svg +1 -0
- package/assets/dotfiles/social-card.png +0 -0
- package/assets/dotfiles/social-card.svg +1 -0
- package/assets/dotfiles/wordmark-dark.svg +1 -0
- package/assets/dotfiles/wordmark-light.svg +1 -0
- package/assets/form-builder/apple-touch-icon.png +0 -0
- package/assets/form-builder/favicon-16.png +0 -0
- package/assets/form-builder/favicon-32.png +0 -0
- package/assets/form-builder/favicon.ico +0 -0
- package/assets/form-builder/favicon.svg +1 -0
- package/assets/form-builder/icon-192.png +0 -0
- package/assets/form-builder/icon-512.png +0 -0
- package/assets/form-builder/lockup-dark.svg +1 -0
- package/assets/form-builder/lockup-light.svg +1 -0
- package/assets/form-builder/mark-mono.svg +1 -0
- package/assets/form-builder/mark-on-dark.svg +1 -0
- package/assets/form-builder/mark-on-light.svg +1 -0
- package/assets/form-builder/mark.svg +1 -0
- package/assets/form-builder/readme-header.png +0 -0
- package/assets/form-builder/readme-header.svg +1 -0
- package/assets/form-builder/social-card.png +0 -0
- package/assets/form-builder/social-card.svg +1 -0
- package/assets/form-builder/wordmark-dark.svg +1 -0
- package/assets/form-builder/wordmark-light.svg +1 -0
- package/assets/manifest.json +541 -0
- package/assets/whatsaaaa/apple-touch-icon.png +0 -0
- package/assets/whatsaaaa/favicon-16.png +0 -0
- package/assets/whatsaaaa/favicon-32.png +0 -0
- package/assets/whatsaaaa/favicon.ico +0 -0
- package/assets/whatsaaaa/favicon.svg +1 -0
- package/assets/whatsaaaa/icon-192.png +0 -0
- package/assets/whatsaaaa/icon-512.png +0 -0
- package/assets/whatsaaaa/lockup-dark.svg +1 -0
- package/assets/whatsaaaa/lockup-light.svg +1 -0
- package/assets/whatsaaaa/mark-mono.svg +1 -0
- package/assets/whatsaaaa/mark-on-dark.svg +1 -0
- package/assets/whatsaaaa/mark-on-light.svg +1 -0
- package/assets/whatsaaaa/mark.svg +1 -0
- package/assets/whatsaaaa/pose-blink-dark.svg +1 -0
- package/assets/whatsaaaa/pose-blink-light.svg +1 -0
- package/assets/whatsaaaa/pose-idle-dark.svg +1 -0
- package/assets/whatsaaaa/pose-idle-light.svg +1 -0
- package/assets/whatsaaaa/pose-lost-dark.svg +1 -0
- package/assets/whatsaaaa/pose-lost-light.svg +1 -0
- package/assets/whatsaaaa/pose-shout-dark.svg +1 -0
- package/assets/whatsaaaa/pose-shout-light.svg +1 -0
- package/assets/whatsaaaa/pose-wag-left-dark.svg +1 -0
- package/assets/whatsaaaa/pose-wag-left-light.svg +1 -0
- package/assets/whatsaaaa/pose-wag-right-dark.svg +1 -0
- package/assets/whatsaaaa/pose-wag-right-light.svg +1 -0
- package/assets/whatsaaaa/readme-header.png +0 -0
- package/assets/whatsaaaa/readme-header.svg +1 -0
- package/assets/whatsaaaa/social-card.png +0 -0
- package/assets/whatsaaaa/social-card.svg +1 -0
- package/assets/whatsaaaa/wordmark-dark.svg +1 -0
- package/assets/whatsaaaa/wordmark-light.svg +1 -0
- package/dist/color.d.ts +5 -0
- package/dist/color.js +7 -0
- package/dist/css/base.css +50 -0
- package/dist/css/callout.css +64 -0
- package/dist/css/code.css +50 -0
- package/dist/css/ghost.css +93 -0
- package/dist/css/icons.css +8 -0
- package/dist/css/prose.css +320 -0
- package/dist/css/terminal.css +424 -0
- package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/inter.OFL.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono.OFL.txt +93 -0
- package/dist/fonts.css +85 -0
- package/dist/ghost/bubble.d.ts +16 -0
- package/dist/ghost/bubble.js +50 -0
- package/dist/ghost/glyphs.d.ts +12 -0
- package/dist/ghost/glyphs.js +19 -0
- package/dist/ghost/index.d.ts +57 -0
- package/dist/ghost/index.js +227 -0
- package/dist/identity/ghost.d.ts +28 -0
- package/dist/identity/ghost.js +129 -0
- package/dist/identity/marks.d.ts +48 -0
- package/dist/identity/marks.js +52 -0
- package/dist/identity/sprite.d.ts +43 -0
- package/dist/identity/sprite.js +100 -0
- package/dist/index.css +1404 -0
- package/dist/shiki/index.d.ts +20 -0
- package/dist/shiki/index.js +64 -0
- package/dist/shortcuts/index.d.ts +62 -0
- package/dist/shortcuts/index.js +169 -0
- package/dist/shortcuts/init.js +2 -0
- package/dist/theme/index.d.ts +24 -0
- package/dist/theme/index.js +60 -0
- package/dist/theme/init.js +2 -0
- package/dist/tokens.css +537 -0
- package/dist/tokens.d.ts +194 -0
- package/dist/tokens.js +336 -0
- package/dist/vitepress-config/index.d.ts +16 -0
- package/dist/vitepress-config/index.js +36 -0
- package/dist/vitepress-config/markdown.d.ts +6 -0
- package/dist/vitepress-config/markdown.js +50 -0
- package/dist/vitepress-config/types.d.ts +16 -0
- package/dist/vitepress-config/types.js +1 -0
- package/docs/usage.md +226 -0
- package/licenses/README.md +10 -0
- package/licenses/departure-mono.OFL.txt +93 -0
- package/licenses/rose-pine-palette.LICENSE +21 -0
- package/package.json +155 -3
- package/src/vitepress/Layout.vue +77 -0
- package/src/vitepress/components/Crumb.vue +32 -0
- package/src/vitepress/components/NavGhost.vue +23 -0
- package/src/vitepress/components/NotFound.vue +22 -0
- package/src/vitepress/components/StatusLine.vue +128 -0
- package/src/vitepress/env.d.ts +2 -0
- package/src/vitepress/index.ts +34 -0
- package/src/vitepress/path.ts +19 -0
- package/src/vitepress/styles/doc.css +385 -0
- package/src/vitepress/styles/home.css +47 -0
- package/src/vitepress/styles/layout.css +97 -0
- package/src/vitepress/styles/nav.css +441 -0
- package/src/vitepress/styles/search.css +55 -0
- package/src/vitepress/styles/sidebar.css +173 -0
- package/src/vitepress/styles/vars.css +204 -0
- package/src/vitepress/support.ts +15 -0
- package/src/vitepress/theme.d.ts +8 -0
- package/tokens/contrast.json +271 -0
- package/tokens/core.tokens.json +743 -0
- package/tokens/palette.tokens.json +222 -0
- package/tokens/theme-dark.tokens.json +146 -0
- package/tokens/theme-light.tokens.json +146 -0
- package/tokens/whatsaaaa.resolver.json +43 -0
package/dist/tokens.d.ts
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/** ------------------------------------------
|
|
2
|
+
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
3
|
+
* ------------------------------------------- */
|
|
4
|
+
import type {
|
|
5
|
+
TokenNormalizedSet,
|
|
6
|
+
DimensionTokenNormalized,
|
|
7
|
+
ColorTokenNormalized,
|
|
8
|
+
FontFamilyTokenNormalized,
|
|
9
|
+
NumberTokenNormalized,
|
|
10
|
+
FontWeightTokenNormalized,
|
|
11
|
+
DurationTokenNormalized,
|
|
12
|
+
CubicBezierTokenNormalized,
|
|
13
|
+
TypographyTokenNormalized,
|
|
14
|
+
} from "@terrazzo/token-types";
|
|
15
|
+
|
|
16
|
+
export const PERMUTATIONS: Record<string, TokenNormalizedSet>;
|
|
17
|
+
|
|
18
|
+
type InputType = {
|
|
19
|
+
"theme": "dark" | "light";
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type Dimension = Pick<DimensionTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
23
|
+
export type Color = Pick<ColorTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
24
|
+
export type FontFamily = Pick<FontFamilyTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
25
|
+
export type Number = Pick<NumberTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
26
|
+
export type FontWeight = Pick<FontWeightTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
27
|
+
export type Duration = Pick<DurationTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
28
|
+
export type CubicBezier = Pick<CubicBezierTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
29
|
+
export type Typography = Pick<TypographyTokenNormalized, "$type" | "$value" | "$description" | "$extensions" | "$deprecated">;
|
|
30
|
+
|
|
31
|
+
export interface Tokens {
|
|
32
|
+
"border-width.medium": Dimension;
|
|
33
|
+
"border-width.thick": Dimension;
|
|
34
|
+
"border-width.thin": Dimension;
|
|
35
|
+
"code.bg": Color;
|
|
36
|
+
"code.border": Color;
|
|
37
|
+
"code.header-bg": Color;
|
|
38
|
+
"code.line-added": Color;
|
|
39
|
+
"code.line-highlight": Color;
|
|
40
|
+
"code.line-removed": Color;
|
|
41
|
+
"code.selection": Color;
|
|
42
|
+
"code.text": Color;
|
|
43
|
+
"code.text-secondary": Color;
|
|
44
|
+
"color.bg": Color;
|
|
45
|
+
"color.border": Color;
|
|
46
|
+
"color.border-strong": Color;
|
|
47
|
+
"color.brand": Color;
|
|
48
|
+
"color.brand-fill": Color;
|
|
49
|
+
"color.danger": Color;
|
|
50
|
+
"color.danger-text": Color;
|
|
51
|
+
"color.danger-tint": Color;
|
|
52
|
+
"color.field-border": Color;
|
|
53
|
+
"color.interactive": Color;
|
|
54
|
+
"color.note": Color;
|
|
55
|
+
"color.note-text": Color;
|
|
56
|
+
"color.note-tint": Color;
|
|
57
|
+
"color.on-brand": Color;
|
|
58
|
+
"color.on-interactive": Color;
|
|
59
|
+
"color.raised": Color;
|
|
60
|
+
"color.selection": Color;
|
|
61
|
+
"color.surface": Color;
|
|
62
|
+
"color.tag-bg": Color;
|
|
63
|
+
"color.tag-text": Color;
|
|
64
|
+
"color.text": Color;
|
|
65
|
+
"color.text-faint": Color;
|
|
66
|
+
"color.text-secondary": Color;
|
|
67
|
+
"color.tip": Color;
|
|
68
|
+
"color.tip-text": Color;
|
|
69
|
+
"color.tip-tint": Color;
|
|
70
|
+
"color.warning": Color;
|
|
71
|
+
"color.warning-text": Color;
|
|
72
|
+
"color.warning-tint": Color;
|
|
73
|
+
"font.family.mono": FontFamily;
|
|
74
|
+
"font.family.sans": FontFamily;
|
|
75
|
+
"font.line-height.loose": Number;
|
|
76
|
+
"font.line-height.none": Number;
|
|
77
|
+
"font.line-height.normal": Number;
|
|
78
|
+
"font.line-height.relaxed": Number;
|
|
79
|
+
"font.line-height.snug": Number;
|
|
80
|
+
"font.line-height.tight": Number;
|
|
81
|
+
"font.size.11": Dimension;
|
|
82
|
+
"font.size.12": Dimension;
|
|
83
|
+
"font.size.13": Dimension;
|
|
84
|
+
"font.size.14": Dimension;
|
|
85
|
+
"font.size.15": Dimension;
|
|
86
|
+
"font.size.16": Dimension;
|
|
87
|
+
"font.size.17": Dimension;
|
|
88
|
+
"font.size.18": Dimension;
|
|
89
|
+
"font.size.20": Dimension;
|
|
90
|
+
"font.size.22": Dimension;
|
|
91
|
+
"font.size.32": Dimension;
|
|
92
|
+
"font.size.40": Dimension;
|
|
93
|
+
"font.size.64": Dimension;
|
|
94
|
+
"font.weight.bold": FontWeight;
|
|
95
|
+
"font.weight.extrabold": FontWeight;
|
|
96
|
+
"font.weight.medium": FontWeight;
|
|
97
|
+
"font.weight.regular": FontWeight;
|
|
98
|
+
"font.weight.semibold": FontWeight;
|
|
99
|
+
"mark.body": Color;
|
|
100
|
+
"mark.tile": Color;
|
|
101
|
+
"mark.tongue": Color;
|
|
102
|
+
"motion.duration.base": Duration;
|
|
103
|
+
"motion.duration.fast": Duration;
|
|
104
|
+
"motion.duration.slow": Duration;
|
|
105
|
+
"motion.easing.in": CubicBezier;
|
|
106
|
+
"motion.easing.out": CubicBezier;
|
|
107
|
+
"motion.easing.standard": CubicBezier;
|
|
108
|
+
"palette.dawn.base": Color;
|
|
109
|
+
"palette.dawn.foam": Color;
|
|
110
|
+
"palette.dawn.gold": Color;
|
|
111
|
+
"palette.dawn.highlight-high": Color;
|
|
112
|
+
"palette.dawn.highlight-low": Color;
|
|
113
|
+
"palette.dawn.highlight-med": Color;
|
|
114
|
+
"palette.dawn.iris": Color;
|
|
115
|
+
"palette.dawn.love": Color;
|
|
116
|
+
"palette.dawn.muted": Color;
|
|
117
|
+
"palette.dawn.overlay": Color;
|
|
118
|
+
"palette.dawn.pine": Color;
|
|
119
|
+
"palette.dawn.rose": Color;
|
|
120
|
+
"palette.dawn.subtle": Color;
|
|
121
|
+
"palette.dawn.surface": Color;
|
|
122
|
+
"palette.dawn.text": Color;
|
|
123
|
+
"palette.main.base": Color;
|
|
124
|
+
"palette.main.foam": Color;
|
|
125
|
+
"palette.main.gold": Color;
|
|
126
|
+
"palette.main.highlight-high": Color;
|
|
127
|
+
"palette.main.highlight-low": Color;
|
|
128
|
+
"palette.main.highlight-med": Color;
|
|
129
|
+
"palette.main.iris": Color;
|
|
130
|
+
"palette.main.love": Color;
|
|
131
|
+
"palette.main.muted": Color;
|
|
132
|
+
"palette.main.overlay": Color;
|
|
133
|
+
"palette.main.pine": Color;
|
|
134
|
+
"palette.main.rose": Color;
|
|
135
|
+
"palette.main.subtle": Color;
|
|
136
|
+
"palette.main.surface": Color;
|
|
137
|
+
"palette.main.text": Color;
|
|
138
|
+
"radius.full": Dimension;
|
|
139
|
+
"radius.lg": Dimension;
|
|
140
|
+
"radius.md": Dimension;
|
|
141
|
+
"radius.sm": Dimension;
|
|
142
|
+
"radius.xl": Dimension;
|
|
143
|
+
"radius.xs": Dimension;
|
|
144
|
+
"size.content": Dimension;
|
|
145
|
+
"size.frame": Dimension;
|
|
146
|
+
"size.outline": Dimension;
|
|
147
|
+
"size.sidebar": Dimension;
|
|
148
|
+
"size.status-line": Dimension;
|
|
149
|
+
"size.tab-bar": Dimension;
|
|
150
|
+
"space.2": Dimension;
|
|
151
|
+
"space.4": Dimension;
|
|
152
|
+
"space.6": Dimension;
|
|
153
|
+
"space.8": Dimension;
|
|
154
|
+
"space.10": Dimension;
|
|
155
|
+
"space.12": Dimension;
|
|
156
|
+
"space.14": Dimension;
|
|
157
|
+
"space.16": Dimension;
|
|
158
|
+
"space.20": Dimension;
|
|
159
|
+
"space.24": Dimension;
|
|
160
|
+
"space.32": Dimension;
|
|
161
|
+
"space.40": Dimension;
|
|
162
|
+
"space.48": Dimension;
|
|
163
|
+
"space.56": Dimension;
|
|
164
|
+
"space.64": Dimension;
|
|
165
|
+
"syntax.comment": Color;
|
|
166
|
+
"syntax.constant": Color;
|
|
167
|
+
"syntax.function": Color;
|
|
168
|
+
"syntax.keyword": Color;
|
|
169
|
+
"syntax.punctuation": Color;
|
|
170
|
+
"syntax.string": Color;
|
|
171
|
+
"syntax.type": Color;
|
|
172
|
+
"text.body": Typography;
|
|
173
|
+
"text.body-sm": Typography;
|
|
174
|
+
"text.caption": Typography;
|
|
175
|
+
"text.code": Typography;
|
|
176
|
+
"text.display": Typography;
|
|
177
|
+
"text.display-compact": Typography;
|
|
178
|
+
"text.h1": Typography;
|
|
179
|
+
"text.h1-compact": Typography;
|
|
180
|
+
"text.h2": Typography;
|
|
181
|
+
"text.h2-compact": Typography;
|
|
182
|
+
"text.h3": Typography;
|
|
183
|
+
"text.h4": Typography;
|
|
184
|
+
"text.label": Typography;
|
|
185
|
+
"text.label-sm": Typography;
|
|
186
|
+
"text.lead": Typography;
|
|
187
|
+
"text.overline": Typography;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** Produce a token set from a given input. */
|
|
191
|
+
export const resolver: {
|
|
192
|
+
apply(input: InputType): Tokens;
|
|
193
|
+
listPermutations(): InputType[];
|
|
194
|
+
};
|