@ticketlayer/theme 0.1.0 → 0.2.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/TOKENS.md +4 -1
- package/dist/generated/tokens.d.ts +10 -1
- package/dist/generated/tokens.d.ts.map +1 -1
- package/dist/generated/tokens.js +21 -0
- package/dist/generated/tokens.js.map +1 -1
- package/generated/tokens.css +6 -0
- package/generated/tokens.dark.css +3 -0
- package/package.json +1 -1
- package/tokens.json +21 -0
package/TOKENS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Ticketlayer design tokens
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
47 tokens, in 5 groups. Every one of them is
|
|
6
6
|
declared in `tokens.json` and generated from there into the web custom properties,
|
|
7
7
|
the Stencil global stylesheet the Elements load, the typed object a native harness
|
|
8
8
|
renders from, the JSON schema the theme editor and the sales-channel theme API
|
|
@@ -41,6 +41,9 @@ Palette. A channel theme overrides these through colours on GET /sales/theme.
|
|
|
41
41
|
| `--tl-error` | `#ef4444` | `#f87171` | `colors.destructive` | `--tl-color-error`, `--tl-destructive`, `--tl-color-destructive` |
|
|
42
42
|
| `--tl-error-foreground` | `#ffffff` | `#2a0a0a` | `colors.destructiveForeground` | `--tl-color-error-foreground`, `--tl-destructive-foreground`, `--tl-color-destructive-foreground` |
|
|
43
43
|
| `--tl-error-bg` | `#fee2e2` | `#450a0a` | - | `--tl-color-error-bg`, `--tl-destructive-bg`, `--tl-color-destructive-bg` |
|
|
44
|
+
| `--tl-info` | `#3b82f6` | `#60a5fa` | - | `--tl-color-info` |
|
|
45
|
+
| `--tl-info-foreground` | `#ffffff` | `#0a1a2a` | - | `--tl-color-info-foreground` |
|
|
46
|
+
| `--tl-info-bg` | `#dbeafe` | `#172554` | - | `--tl-color-info-bg` |
|
|
44
47
|
|
|
45
48
|
## Type
|
|
46
49
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* change a token there and regenerate.
|
|
4
4
|
*/
|
|
5
5
|
/** Every token name, in declaration order. */
|
|
6
|
-
export declare const TOKEN_NAMES: readonly ["primary", "primary-foreground", "secondary", "secondary-foreground", "accent", "accent-foreground", "background", "foreground", "card", "muted", "muted-foreground", "border", "border-hover", "input", "ring", "success", "success-foreground", "warning", "warning-foreground", "warning-bg", "error", "error-foreground", "error-bg", "font-family", "font-family-mono", "font-size-base", "font-scale", "radius-none", "radius-sm", "radius-md", "radius-lg", "radius-full", "spacing-1", "spacing-2", "spacing-3", "spacing-4", "spacing-5", "spacing-6", "spacing-8", "duration-fast", "duration-normal", "duration-slow", "easing-standard", "easing-emphasised"];
|
|
6
|
+
export declare const TOKEN_NAMES: readonly ["primary", "primary-foreground", "secondary", "secondary-foreground", "accent", "accent-foreground", "background", "foreground", "card", "muted", "muted-foreground", "border", "border-hover", "input", "ring", "success", "success-foreground", "warning", "warning-foreground", "warning-bg", "error", "error-foreground", "error-bg", "info", "info-foreground", "info-bg", "font-family", "font-family-mono", "font-size-base", "font-scale", "radius-none", "radius-sm", "radius-md", "radius-lg", "radius-full", "spacing-1", "spacing-2", "spacing-3", "spacing-4", "spacing-5", "spacing-6", "spacing-8", "duration-fast", "duration-normal", "duration-slow", "easing-standard", "easing-emphasised"];
|
|
7
7
|
/** A token name. Renaming a token in tokens.json changes this union, and every consumer that named the old one stops compiling. */
|
|
8
8
|
export type TokenName = (typeof TOKEN_NAMES)[number];
|
|
9
9
|
/** Alias name -> the token it resolves to. */
|
|
@@ -37,6 +37,9 @@ export declare const TOKEN_ALIASES: {
|
|
|
37
37
|
readonly 'color-error-bg': "error-bg";
|
|
38
38
|
readonly 'destructive-bg': "error-bg";
|
|
39
39
|
readonly 'color-destructive-bg': "error-bg";
|
|
40
|
+
readonly 'color-info': "info";
|
|
41
|
+
readonly 'color-info-foreground': "info-foreground";
|
|
42
|
+
readonly 'color-info-bg': "info-bg";
|
|
40
43
|
readonly 'base-size': "font-size-base";
|
|
41
44
|
readonly radius: "radius-md";
|
|
42
45
|
};
|
|
@@ -78,6 +81,9 @@ export declare const lightTheme: {
|
|
|
78
81
|
readonly error: "#ef4444";
|
|
79
82
|
readonly errorForeground: "#ffffff";
|
|
80
83
|
readonly errorBg: "#fee2e2";
|
|
84
|
+
readonly info: "#3b82f6";
|
|
85
|
+
readonly infoForeground: "#ffffff";
|
|
86
|
+
readonly infoBg: "#dbeafe";
|
|
81
87
|
};
|
|
82
88
|
readonly typography: {
|
|
83
89
|
readonly fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";
|
|
@@ -134,6 +140,9 @@ export declare const darkTheme: {
|
|
|
134
140
|
readonly error: "#f87171";
|
|
135
141
|
readonly errorForeground: "#2a0a0a";
|
|
136
142
|
readonly errorBg: "#450a0a";
|
|
143
|
+
readonly info: "#60a5fa";
|
|
144
|
+
readonly infoForeground: "#0a1a2a";
|
|
145
|
+
readonly infoBg: "#172554";
|
|
137
146
|
};
|
|
138
147
|
readonly typography: {
|
|
139
148
|
readonly fontFamily: "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/generated/tokens.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,8CAA8C;AAC9C,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/generated/tokens.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,8CAA8C;AAC9C,eAAO,MAAM,WAAW,2rBAgDd,CAAC;AAEX,mIAAmI;AACnI,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,8CAA8C;AAC9C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmChB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,aAAa,CAAC;AAEpD,+DAA+D;AAC/D,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAgDpD,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CA2BzD,CAAC;AAEF,0FAA0F;AAC1F,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CA6B/D,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAgDlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Db,CAAC;AAEX,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DZ,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,UAAU,CAAC"}
|
package/dist/generated/tokens.js
CHANGED
|
@@ -28,6 +28,9 @@ export const TOKEN_NAMES = [
|
|
|
28
28
|
'error',
|
|
29
29
|
'error-foreground',
|
|
30
30
|
'error-bg',
|
|
31
|
+
'info',
|
|
32
|
+
'info-foreground',
|
|
33
|
+
'info-bg',
|
|
31
34
|
'font-family',
|
|
32
35
|
'font-family-mono',
|
|
33
36
|
'font-size-base',
|
|
@@ -81,6 +84,9 @@ export const TOKEN_ALIASES = {
|
|
|
81
84
|
'color-error-bg': 'error-bg',
|
|
82
85
|
'destructive-bg': 'error-bg',
|
|
83
86
|
'color-destructive-bg': 'error-bg',
|
|
87
|
+
'color-info': 'info',
|
|
88
|
+
'color-info-foreground': 'info-foreground',
|
|
89
|
+
'color-info-bg': 'info-bg',
|
|
84
90
|
'base-size': 'font-size-base',
|
|
85
91
|
'radius': 'radius-md',
|
|
86
92
|
};
|
|
@@ -109,6 +115,9 @@ export const TOKEN_DEFAULTS = {
|
|
|
109
115
|
'error': '#ef4444',
|
|
110
116
|
'error-foreground': '#ffffff',
|
|
111
117
|
'error-bg': '#fee2e2',
|
|
118
|
+
'info': '#3b82f6',
|
|
119
|
+
'info-foreground': '#ffffff',
|
|
120
|
+
'info-bg': '#dbeafe',
|
|
112
121
|
'font-family': 'system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, sans-serif',
|
|
113
122
|
'font-family-mono': 'ui-monospace, SFMono-Regular, \'SF Mono\', Menlo, monospace',
|
|
114
123
|
'font-size-base': '16px',
|
|
@@ -156,6 +165,9 @@ export const TOKEN_DARK = {
|
|
|
156
165
|
'error': '#f87171',
|
|
157
166
|
'error-foreground': '#2a0a0a',
|
|
158
167
|
'error-bg': '#450a0a',
|
|
168
|
+
'info': '#60a5fa',
|
|
169
|
+
'info-foreground': '#0a1a2a',
|
|
170
|
+
'info-bg': '#172554',
|
|
159
171
|
};
|
|
160
172
|
/** The theme-document key that feeds each token, for the tokens the theme API can set. */
|
|
161
173
|
export const TOKEN_THEME_KEYS = {
|
|
@@ -213,6 +225,9 @@ export const TOKEN_GROUPS = {
|
|
|
213
225
|
'error': 'color',
|
|
214
226
|
'error-foreground': 'color',
|
|
215
227
|
'error-bg': 'color',
|
|
228
|
+
'info': 'color',
|
|
229
|
+
'info-foreground': 'color',
|
|
230
|
+
'info-bg': 'color',
|
|
216
231
|
'font-family': 'typography',
|
|
217
232
|
'font-family-mono': 'typography',
|
|
218
233
|
'font-size-base': 'typography',
|
|
@@ -264,6 +279,9 @@ export const lightTheme = {
|
|
|
264
279
|
'error': '#ef4444',
|
|
265
280
|
'errorForeground': '#ffffff',
|
|
266
281
|
'errorBg': '#fee2e2',
|
|
282
|
+
'info': '#3b82f6',
|
|
283
|
+
'infoForeground': '#ffffff',
|
|
284
|
+
'infoBg': '#dbeafe',
|
|
267
285
|
},
|
|
268
286
|
typography: {
|
|
269
287
|
'fontFamily': 'system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, sans-serif',
|
|
@@ -320,6 +338,9 @@ export const darkTheme = {
|
|
|
320
338
|
'error': '#f87171',
|
|
321
339
|
'errorForeground': '#2a0a0a',
|
|
322
340
|
'errorBg': '#450a0a',
|
|
341
|
+
'info': '#60a5fa',
|
|
342
|
+
'infoForeground': '#0a1a2a',
|
|
343
|
+
'infoBg': '#172554',
|
|
323
344
|
},
|
|
324
345
|
typography: {
|
|
325
346
|
'fontFamily': 'system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, sans-serif',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/generated/tokens.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF;;;GAGG;AAEH,8CAA8C;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,SAAS;IACT,oBAAoB;IACpB,WAAW;IACX,sBAAsB;IACtB,QAAQ;IACR,mBAAmB;IACnB,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,OAAO;IACP,kBAAkB;IAClB,QAAQ;IACR,cAAc;IACd,OAAO;IACP,MAAM;IACN,SAAS;IACT,oBAAoB;IACpB,SAAS;IACT,oBAAoB;IACpB,YAAY;IACZ,OAAO;IACP,kBAAkB;IAClB,UAAU;IACV,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,WAAW;IACX,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,eAAe;IACf,iBAAiB;IACjB,eAAe;IACf,iBAAiB;IACjB,mBAAmB;CACX,CAAC;AAKX,8CAA8C;AAC9C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,eAAe,EAAE,SAAS;IAC1B,0BAA0B,EAAE,oBAAoB;IAChD,iBA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IACpB,oBAAoB,EAAE,SAAS;IAC/B,YAAY,EAAE,SAAS;IACvB,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,SAAS;IAC7B,UAAU,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/generated/tokens.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF;;;GAGG;AAEH,8CAA8C;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,SAAS;IACT,oBAAoB;IACpB,WAAW;IACX,sBAAsB;IACtB,QAAQ;IACR,mBAAmB;IACnB,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,OAAO;IACP,kBAAkB;IAClB,QAAQ;IACR,cAAc;IACd,OAAO;IACP,MAAM;IACN,SAAS;IACT,oBAAoB;IACpB,SAAS;IACT,oBAAoB;IACpB,YAAY;IACZ,OAAO;IACP,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,iBAAiB;IACjB,SAAS;IACT,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,WAAW;IACX,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,eAAe;IACf,iBAAiB;IACjB,eAAe;IACf,iBAAiB;IACjB,mBAAmB;CACX,CAAC;AAKX,8CAA8C;AAC9C,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,eAAe,EAAE,SAAS;IAC1B,0BAA0B,EAAE,oBAAoB;IAChD,iBAAiB,EAAE,WAAW;IAC9B,4BAA4B,EAAE,sBAAsB;IACpD,cAAc,EAAE,QAAQ;IACxB,yBAAyB,EAAE,mBAAmB;IAC9C,kBAAkB,EAAE,YAAY;IAChC,kBAAkB,EAAE,YAAY;IAChC,YAAY,EAAE,MAAM;IACpB,aAAa,EAAE,OAAO;IACtB,wBAAwB,EAAE,kBAAkB;IAC5C,cAAc,EAAE,QA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 @@
|
|
|
53
53
|
--tl-color-error-bg: var(--tl-error-bg);
|
|
54
54
|
--tl-destructive-bg: var(--tl-error-bg);
|
|
55
55
|
--tl-color-destructive-bg: var(--tl-error-bg);
|
|
56
|
+
--tl-info: #3b82f6;
|
|
57
|
+
--tl-color-info: var(--tl-info);
|
|
58
|
+
--tl-info-foreground: #ffffff;
|
|
59
|
+
--tl-color-info-foreground: var(--tl-info-foreground);
|
|
60
|
+
--tl-info-bg: #dbeafe;
|
|
61
|
+
--tl-color-info-bg: var(--tl-info-bg);
|
|
56
62
|
|
|
57
63
|
/* Type: Font stacks and the base size the type scale is built from. */
|
|
58
64
|
--tl-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ticketlayer/theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The Ticketlayer Live design tokens: one source for the web custom properties, the native theme object and the theme document schema",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/tokens.json
CHANGED
|
@@ -210,6 +210,27 @@
|
|
|
210
210
|
"aliases": ["color-error-bg", "destructive-bg", "color-destructive-bg"],
|
|
211
211
|
"description": "The tinted background of an error banner. Not themeable through the API today."
|
|
212
212
|
},
|
|
213
|
+
"info": {
|
|
214
|
+
"group": "color",
|
|
215
|
+
"value": "#3b82f6",
|
|
216
|
+
"dark": "#60a5fa",
|
|
217
|
+
"aliases": ["color-info"],
|
|
218
|
+
"description": "A neutral notice rather than a problem: a waitlist to join, a queue to wait in. Not themeable through the API today."
|
|
219
|
+
},
|
|
220
|
+
"info-foreground": {
|
|
221
|
+
"group": "color",
|
|
222
|
+
"value": "#ffffff",
|
|
223
|
+
"dark": "#0a1a2a",
|
|
224
|
+
"aliases": ["color-info-foreground"],
|
|
225
|
+
"description": "Text on an info surface. Not themeable through the API today."
|
|
226
|
+
},
|
|
227
|
+
"info-bg": {
|
|
228
|
+
"group": "color",
|
|
229
|
+
"value": "#dbeafe",
|
|
230
|
+
"dark": "#172554",
|
|
231
|
+
"aliases": ["color-info-bg"],
|
|
232
|
+
"description": "The tinted background of an info banner. Not themeable through the API today."
|
|
233
|
+
},
|
|
213
234
|
"font-family": {
|
|
214
235
|
"group": "typography",
|
|
215
236
|
"value": "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
|