@lateralus-ai/shipping-ui 2.0.0-dev.19 → 2.0.0-dev.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/dist/components/Tabs.d.ts +1 -1
- package/dist/domain/Filters/FilterDropdown.d.ts +93 -0
- package/dist/domain/Filters/FilterPill.d.ts +12 -5
- package/dist/domain/Filters/FilterPills.d.ts +21 -0
- package/dist/domain/Filters/FilteredPill.d.ts +15 -5
- package/dist/domain/Filters/formatActiveFilterChipLabel.d.ts +11 -0
- package/dist/domain/Filters/index.d.ts +8 -3
- package/dist/index.cjs +33 -33
- package/dist/index.esm.js +7301 -5991
- package/package.json +2 -1
- package/src/components/EmptyState.tsx +44 -44
- package/src/components/Modal.tsx +141 -141
- package/src/components/PageHeader.tsx +132 -132
- package/src/components/ScrollableList.tsx +61 -61
- package/src/components/Tabs.tsx +146 -146
- package/src/components/index.ts +56 -56
- package/src/domain/Filters/FilterDropdown.tsx +438 -0
- package/src/domain/Filters/FilterPill.tsx +54 -18
- package/src/domain/Filters/FilterPills.tsx +41 -0
- package/src/domain/Filters/FilteredPill.tsx +40 -23
- package/src/domain/Filters/FiltersBar.tsx +15 -19
- package/src/domain/Filters/formatActiveFilterChipLabel.ts +23 -0
- package/src/domain/Filters/index.ts +35 -3
- package/src/icons/arrow-paths.ts +8 -8
- package/src/icons/chevron-paths.ts +17 -17
- package/src/icons/icons-data.ts +656 -656
- package/src/index.ts +85 -85
- package/src/patterns/Search/ResultRow.tsx +44 -44
- package/src/patterns/Search/SearchModal.tsx +310 -310
- package/src/patterns/Search/index.ts +31 -31
- package/src/patterns/Sidebar/assets/logo-compliance-mark.png +5 -5
- package/src/patterns/Sidebar/assets/logo-compliance-mask.png +13 -13
- package/src/patterns/Sidebar/assets/logo-compliance.svg +17 -17
- package/src/patterns/Sidebar/assets/logo-technical-avatar.svg +17 -17
- package/src/patterns/Sidebar/assets/logo-technical-mark.png +5 -5
- package/src/patterns/Sidebar/assets/logo-technical.svg +16 -16
- package/src/patterns/Skeleton/Skeleton.tsx +56 -56
- package/src/primitives/button-styles.ts +92 -92
- package/src/stories/canvases/ButtonsCanvas.tsx +107 -107
- package/src/stories/canvases/ButtonsMatrixCanvas.tsx +65 -65
- package/src/stories/canvases/ContentCanvas.tsx +353 -353
- package/src/stories/canvases/FiltersCanvas.tsx +156 -30
- package/src/stories/canvases/SearchCanvas.tsx +150 -150
- package/src/stories/canvases/figma-buttons-layout.ts +83 -83
- package/src/stories/canvases/figma-widths.ts +28 -28
- package/src/stories/canvases/helpers.tsx +146 -146
- package/src/stories/components/Buttons.stories.tsx +11 -11
- package/src/stories/components/Chat.stories.tsx +11 -11
- package/src/stories/components/Content.stories.tsx +11 -11
- package/src/stories/components/Core.stories.tsx +11 -11
- package/src/stories/components/DomainForms.stories.tsx +11 -11
- package/src/stories/components/Filters.stories.tsx +11 -11
- package/src/stories/components/Forms.stories.tsx +11 -11
- package/src/stories/components/Icons.stories.tsx +11 -11
- package/src/stories/components/Illustrations.stories.tsx +11 -11
- package/src/stories/components/Library.stories.tsx +11 -11
- package/src/stories/components/Modals.stories.tsx +11 -11
- package/src/stories/components/Report.stories.tsx +11 -11
- package/src/stories/components/ReportLayout.stories.tsx +11 -11
- package/src/stories/components/Search.stories.tsx +11 -11
- package/src/stories/components/Settings.stories.tsx +11 -11
- package/src/stories/components/Ships.stories.tsx +11 -11
- package/src/stories/components/SidebarLayouts.stories.tsx +11 -11
- package/src/stories/components/Skeletons.stories.tsx +11 -11
- package/src/stories/components/Workflows.stories.tsx +11 -11
- package/src/stories/style-guide/Buttons.stories.tsx +11 -11
- package/src/stories/style-guide/ColorTokens.stories.tsx +11 -11
- package/src/stories/style-guide/Colors.stories.tsx +11 -11
- package/src/stories/style-guide/RaiseLevels.stories.tsx +11 -11
- package/src/stories/style-guide/Typography.stories.tsx +11 -11
- package/src/tailwind-theme.ts +186 -186
- package/src/theme-entry.ts +2 -2
package/src/tailwind-theme.ts
CHANGED
|
@@ -1,186 +1,186 @@
|
|
|
1
|
-
import { colorScales } from "./tokens/colors";
|
|
2
|
-
import { elevation, borderRadius } from "./tokens/elevation";
|
|
3
|
-
|
|
4
|
-
const toTailwindFontSize = (
|
|
5
|
-
size: string,
|
|
6
|
-
opts: { lineHeight: string; letterSpacing: string; fontWeight?: number },
|
|
7
|
-
) =>
|
|
8
|
-
[
|
|
9
|
-
size,
|
|
10
|
-
{
|
|
11
|
-
lineHeight: opts.lineHeight,
|
|
12
|
-
letterSpacing: opts.letterSpacing,
|
|
13
|
-
...(opts.fontWeight ? { fontWeight: String(opts.fontWeight) } : {}),
|
|
14
|
-
},
|
|
15
|
-
] as const;
|
|
16
|
-
|
|
17
|
-
export const theme = {
|
|
18
|
-
fontFamily: {
|
|
19
|
-
heading: ['"TRY Vesterbro"', "Libre Baskerville", "Georgia", "serif"],
|
|
20
|
-
sans: ['"Matter-TRIAL"', "DM Sans", "system-ui", "sans-serif"],
|
|
21
|
-
mono: ["Roboto Mono", "monospace"],
|
|
22
|
-
},
|
|
23
|
-
fontSize: {
|
|
24
|
-
title: toTailwindFontSize("28px", { lineHeight: "34px", letterSpacing: "-0.02em" }),
|
|
25
|
-
"title-em": toTailwindFontSize("28px", {
|
|
26
|
-
lineHeight: "34px",
|
|
27
|
-
letterSpacing: "-0.02em",
|
|
28
|
-
fontWeight: 500,
|
|
29
|
-
}),
|
|
30
|
-
heading: toTailwindFontSize("22px", {
|
|
31
|
-
lineHeight: "28px",
|
|
32
|
-
letterSpacing: "0",
|
|
33
|
-
fontWeight: 500,
|
|
34
|
-
}),
|
|
35
|
-
subheader: toTailwindFontSize("18px", { lineHeight: "28px", letterSpacing: "-0.01em" }),
|
|
36
|
-
"subheader-em": toTailwindFontSize("18px", {
|
|
37
|
-
lineHeight: "28px",
|
|
38
|
-
letterSpacing: "-0.01em",
|
|
39
|
-
fontWeight: 500,
|
|
40
|
-
}),
|
|
41
|
-
body: toTailwindFontSize("16px", { lineHeight: "24px", letterSpacing: "-0.01em" }),
|
|
42
|
-
"body-em": toTailwindFontSize("16px", {
|
|
43
|
-
lineHeight: "24px",
|
|
44
|
-
letterSpacing: "-0.01em",
|
|
45
|
-
fontWeight: 500,
|
|
46
|
-
}),
|
|
47
|
-
"caption-1": toTailwindFontSize("16px", { lineHeight: "22px", letterSpacing: "0.02em" }),
|
|
48
|
-
"caption-1-em": toTailwindFontSize("16px", {
|
|
49
|
-
lineHeight: "22px",
|
|
50
|
-
letterSpacing: "0.02em",
|
|
51
|
-
fontWeight: 500,
|
|
52
|
-
}),
|
|
53
|
-
"caption-2": toTailwindFontSize("14px", { lineHeight: "20px", letterSpacing: "0.01em" }),
|
|
54
|
-
"caption-2-em": toTailwindFontSize("14px", {
|
|
55
|
-
lineHeight: "20px",
|
|
56
|
-
letterSpacing: "0.01em",
|
|
57
|
-
fontWeight: 500,
|
|
58
|
-
}),
|
|
59
|
-
footnote: toTailwindFontSize("13px", { lineHeight: "17px", letterSpacing: "0" }),
|
|
60
|
-
"footnote-em": toTailwindFontSize("13px", {
|
|
61
|
-
lineHeight: "17px",
|
|
62
|
-
letterSpacing: "0",
|
|
63
|
-
fontWeight: 500,
|
|
64
|
-
}),
|
|
65
|
-
},
|
|
66
|
-
boxShadow: {
|
|
67
|
-
raise1: elevation.raise1,
|
|
68
|
-
raise2: elevation.raise2,
|
|
69
|
-
raise3: elevation.raise3,
|
|
70
|
-
},
|
|
71
|
-
borderRadius: {
|
|
72
|
-
control: borderRadius.control,
|
|
73
|
-
lg: borderRadius.lg,
|
|
74
|
-
md: borderRadius.md,
|
|
75
|
-
sm: borderRadius.sm,
|
|
76
|
-
},
|
|
77
|
-
/** Extends Tailwind’s max-width scale (7xl = 1280px). */
|
|
78
|
-
maxWidth: {
|
|
79
|
-
"8xl": "1640px",
|
|
80
|
-
},
|
|
81
|
-
colors: {
|
|
82
|
-
grey: colorScales.grey,
|
|
83
|
-
gray: colorScales.grey,
|
|
84
|
-
green: colorScales.green,
|
|
85
|
-
blue: colorScales.blue,
|
|
86
|
-
red: colorScales.red,
|
|
87
|
-
orange: colorScales.orange,
|
|
88
|
-
purple: colorScales.purple,
|
|
89
|
-
white: "#ffffff",
|
|
90
|
-
action: {
|
|
91
|
-
primary: {
|
|
92
|
-
idle: "var(--action-primary-idle)",
|
|
93
|
-
"on-idle": "var(--action-primary-on-idle)",
|
|
94
|
-
hover: "var(--action-primary-hover)",
|
|
95
|
-
"on-hover": "var(--action-primary-on-hover)",
|
|
96
|
-
disabled: "var(--action-primary-disabled)",
|
|
97
|
-
"on-disabled": "var(--action-primary-on-disabled)",
|
|
98
|
-
},
|
|
99
|
-
secondary: {
|
|
100
|
-
idle: "var(--action-secondary-idle)",
|
|
101
|
-
"on-idle": "var(--action-secondary-on-idle)",
|
|
102
|
-
hover: "var(--action-secondary-hover)",
|
|
103
|
-
"on-hover": "var(--action-secondary-on-hover)",
|
|
104
|
-
disabled: "var(--action-secondary-disabled)",
|
|
105
|
-
"on-disabled": "var(--action-secondary-on-disabled)",
|
|
106
|
-
},
|
|
107
|
-
tertiary: {
|
|
108
|
-
idle: "var(--action-tertiary-idle)",
|
|
109
|
-
"on-idle": "var(--action-tertiary-on-idle)",
|
|
110
|
-
hover: "var(--action-tertiary-hover)",
|
|
111
|
-
"on-hover": "var(--action-tertiary-on-hover)",
|
|
112
|
-
disabled: "var(--action-tertiary-disabled)",
|
|
113
|
-
"on-disabled": "var(--action-tertiary-on-disabled)",
|
|
114
|
-
},
|
|
115
|
-
quaternary: {
|
|
116
|
-
idle: "var(--action-quaternary-idle)",
|
|
117
|
-
"on-idle": "var(--action-quaternary-on-idle)",
|
|
118
|
-
hover: "var(--action-quaternary-hover)",
|
|
119
|
-
"on-hover": "var(--action-quaternary-on-hover)",
|
|
120
|
-
disabled: "var(--action-quaternary-disabled)",
|
|
121
|
-
"on-disabled": "var(--action-quaternary-on-disabled)",
|
|
122
|
-
},
|
|
123
|
-
destructive: {
|
|
124
|
-
idle: "var(--action-destructive-idle)",
|
|
125
|
-
"on-idle": "var(--action-destructive-on-idle)",
|
|
126
|
-
hover: "var(--action-destructive-hover)",
|
|
127
|
-
"on-hover": "var(--action-destructive-on-hover)",
|
|
128
|
-
disabled: "var(--action-destructive-disabled)",
|
|
129
|
-
"on-disabled": "var(--action-destructive-on-disabled)",
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
background: {
|
|
133
|
-
primary: "var(--background-primary)",
|
|
134
|
-
secondary: "var(--background-secondary)",
|
|
135
|
-
tertiary: "var(--background-tertiary)",
|
|
136
|
-
hover: "var(--background-hover)",
|
|
137
|
-
selected: "var(--background-selected)",
|
|
138
|
-
overlay: "var(--background-overlay)",
|
|
139
|
-
},
|
|
140
|
-
display: {
|
|
141
|
-
"on-light": {
|
|
142
|
-
primary: "var(--display-on-light-primary)",
|
|
143
|
-
secondary: "var(--display-on-light-secondary)",
|
|
144
|
-
tertiary: "var(--display-on-light-tertiary)",
|
|
145
|
-
quaternary: "var(--display-on-light-quaternary)",
|
|
146
|
-
},
|
|
147
|
-
"on-dark": {
|
|
148
|
-
primary: "var(--display-on-dark-primary)",
|
|
149
|
-
secondary: "var(--display-on-dark-secondary)",
|
|
150
|
-
tertiary: "var(--display-on-dark-tertiary)",
|
|
151
|
-
quaternary: "var(--display-on-dark-quaternary)",
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
accent: {
|
|
155
|
-
"on-light": "var(--accent-on-light)",
|
|
156
|
-
"on-dark": "var(--accent-on-dark)",
|
|
157
|
-
"bg-light": "var(--accent-bg-light)",
|
|
158
|
-
"bg-lighter": "var(--accent-bg-lighter)",
|
|
159
|
-
},
|
|
160
|
-
divider: {
|
|
161
|
-
primary: "var(--divider-primary)",
|
|
162
|
-
secondary: "var(--divider-secondary)",
|
|
163
|
-
},
|
|
164
|
-
meta: {
|
|
165
|
-
green: "var(--meta-green)",
|
|
166
|
-
onGreen: "var(--meta-on-green)",
|
|
167
|
-
orange: "var(--meta-orange)",
|
|
168
|
-
onOrange: "var(--meta-on-orange)",
|
|
169
|
-
red: "var(--meta-red)",
|
|
170
|
-
onRed: "var(--meta-on-red)",
|
|
171
|
-
blue: "var(--meta-blue)",
|
|
172
|
-
onBlue: "var(--meta-on-blue)",
|
|
173
|
-
purple: "var(--meta-purple)",
|
|
174
|
-
onPurple: "var(--meta-on-purple)",
|
|
175
|
-
},
|
|
176
|
-
/* Legacy aliases */
|
|
177
|
-
"text-primary": "var(--display-on-light-primary)",
|
|
178
|
-
"text-secondary": "var(--display-on-light-secondary)",
|
|
179
|
-
"text-tertiary": "var(--display-on-light-tertiary)",
|
|
180
|
-
"surface-primary": "var(--background-primary)",
|
|
181
|
-
"surface-secondary": "var(--background-secondary)",
|
|
182
|
-
"surface-hover": "var(--background-secondary)",
|
|
183
|
-
"border-light": "var(--divider-primary)",
|
|
184
|
-
"border-medium": "var(--divider-secondary)",
|
|
185
|
-
},
|
|
186
|
-
};
|
|
1
|
+
import { colorScales } from "./tokens/colors";
|
|
2
|
+
import { elevation, borderRadius } from "./tokens/elevation";
|
|
3
|
+
|
|
4
|
+
const toTailwindFontSize = (
|
|
5
|
+
size: string,
|
|
6
|
+
opts: { lineHeight: string; letterSpacing: string; fontWeight?: number },
|
|
7
|
+
) =>
|
|
8
|
+
[
|
|
9
|
+
size,
|
|
10
|
+
{
|
|
11
|
+
lineHeight: opts.lineHeight,
|
|
12
|
+
letterSpacing: opts.letterSpacing,
|
|
13
|
+
...(opts.fontWeight ? { fontWeight: String(opts.fontWeight) } : {}),
|
|
14
|
+
},
|
|
15
|
+
] as const;
|
|
16
|
+
|
|
17
|
+
export const theme = {
|
|
18
|
+
fontFamily: {
|
|
19
|
+
heading: ['"TRY Vesterbro"', "Libre Baskerville", "Georgia", "serif"],
|
|
20
|
+
sans: ['"Matter-TRIAL"', "DM Sans", "system-ui", "sans-serif"],
|
|
21
|
+
mono: ["Roboto Mono", "monospace"],
|
|
22
|
+
},
|
|
23
|
+
fontSize: {
|
|
24
|
+
title: toTailwindFontSize("28px", { lineHeight: "34px", letterSpacing: "-0.02em" }),
|
|
25
|
+
"title-em": toTailwindFontSize("28px", {
|
|
26
|
+
lineHeight: "34px",
|
|
27
|
+
letterSpacing: "-0.02em",
|
|
28
|
+
fontWeight: 500,
|
|
29
|
+
}),
|
|
30
|
+
heading: toTailwindFontSize("22px", {
|
|
31
|
+
lineHeight: "28px",
|
|
32
|
+
letterSpacing: "0",
|
|
33
|
+
fontWeight: 500,
|
|
34
|
+
}),
|
|
35
|
+
subheader: toTailwindFontSize("18px", { lineHeight: "28px", letterSpacing: "-0.01em" }),
|
|
36
|
+
"subheader-em": toTailwindFontSize("18px", {
|
|
37
|
+
lineHeight: "28px",
|
|
38
|
+
letterSpacing: "-0.01em",
|
|
39
|
+
fontWeight: 500,
|
|
40
|
+
}),
|
|
41
|
+
body: toTailwindFontSize("16px", { lineHeight: "24px", letterSpacing: "-0.01em" }),
|
|
42
|
+
"body-em": toTailwindFontSize("16px", {
|
|
43
|
+
lineHeight: "24px",
|
|
44
|
+
letterSpacing: "-0.01em",
|
|
45
|
+
fontWeight: 500,
|
|
46
|
+
}),
|
|
47
|
+
"caption-1": toTailwindFontSize("16px", { lineHeight: "22px", letterSpacing: "0.02em" }),
|
|
48
|
+
"caption-1-em": toTailwindFontSize("16px", {
|
|
49
|
+
lineHeight: "22px",
|
|
50
|
+
letterSpacing: "0.02em",
|
|
51
|
+
fontWeight: 500,
|
|
52
|
+
}),
|
|
53
|
+
"caption-2": toTailwindFontSize("14px", { lineHeight: "20px", letterSpacing: "0.01em" }),
|
|
54
|
+
"caption-2-em": toTailwindFontSize("14px", {
|
|
55
|
+
lineHeight: "20px",
|
|
56
|
+
letterSpacing: "0.01em",
|
|
57
|
+
fontWeight: 500,
|
|
58
|
+
}),
|
|
59
|
+
footnote: toTailwindFontSize("13px", { lineHeight: "17px", letterSpacing: "0" }),
|
|
60
|
+
"footnote-em": toTailwindFontSize("13px", {
|
|
61
|
+
lineHeight: "17px",
|
|
62
|
+
letterSpacing: "0",
|
|
63
|
+
fontWeight: 500,
|
|
64
|
+
}),
|
|
65
|
+
},
|
|
66
|
+
boxShadow: {
|
|
67
|
+
raise1: elevation.raise1,
|
|
68
|
+
raise2: elevation.raise2,
|
|
69
|
+
raise3: elevation.raise3,
|
|
70
|
+
},
|
|
71
|
+
borderRadius: {
|
|
72
|
+
control: borderRadius.control,
|
|
73
|
+
lg: borderRadius.lg,
|
|
74
|
+
md: borderRadius.md,
|
|
75
|
+
sm: borderRadius.sm,
|
|
76
|
+
},
|
|
77
|
+
/** Extends Tailwind’s max-width scale (7xl = 1280px). */
|
|
78
|
+
maxWidth: {
|
|
79
|
+
"8xl": "1640px",
|
|
80
|
+
},
|
|
81
|
+
colors: {
|
|
82
|
+
grey: colorScales.grey,
|
|
83
|
+
gray: colorScales.grey,
|
|
84
|
+
green: colorScales.green,
|
|
85
|
+
blue: colorScales.blue,
|
|
86
|
+
red: colorScales.red,
|
|
87
|
+
orange: colorScales.orange,
|
|
88
|
+
purple: colorScales.purple,
|
|
89
|
+
white: "#ffffff",
|
|
90
|
+
action: {
|
|
91
|
+
primary: {
|
|
92
|
+
idle: "var(--action-primary-idle)",
|
|
93
|
+
"on-idle": "var(--action-primary-on-idle)",
|
|
94
|
+
hover: "var(--action-primary-hover)",
|
|
95
|
+
"on-hover": "var(--action-primary-on-hover)",
|
|
96
|
+
disabled: "var(--action-primary-disabled)",
|
|
97
|
+
"on-disabled": "var(--action-primary-on-disabled)",
|
|
98
|
+
},
|
|
99
|
+
secondary: {
|
|
100
|
+
idle: "var(--action-secondary-idle)",
|
|
101
|
+
"on-idle": "var(--action-secondary-on-idle)",
|
|
102
|
+
hover: "var(--action-secondary-hover)",
|
|
103
|
+
"on-hover": "var(--action-secondary-on-hover)",
|
|
104
|
+
disabled: "var(--action-secondary-disabled)",
|
|
105
|
+
"on-disabled": "var(--action-secondary-on-disabled)",
|
|
106
|
+
},
|
|
107
|
+
tertiary: {
|
|
108
|
+
idle: "var(--action-tertiary-idle)",
|
|
109
|
+
"on-idle": "var(--action-tertiary-on-idle)",
|
|
110
|
+
hover: "var(--action-tertiary-hover)",
|
|
111
|
+
"on-hover": "var(--action-tertiary-on-hover)",
|
|
112
|
+
disabled: "var(--action-tertiary-disabled)",
|
|
113
|
+
"on-disabled": "var(--action-tertiary-on-disabled)",
|
|
114
|
+
},
|
|
115
|
+
quaternary: {
|
|
116
|
+
idle: "var(--action-quaternary-idle)",
|
|
117
|
+
"on-idle": "var(--action-quaternary-on-idle)",
|
|
118
|
+
hover: "var(--action-quaternary-hover)",
|
|
119
|
+
"on-hover": "var(--action-quaternary-on-hover)",
|
|
120
|
+
disabled: "var(--action-quaternary-disabled)",
|
|
121
|
+
"on-disabled": "var(--action-quaternary-on-disabled)",
|
|
122
|
+
},
|
|
123
|
+
destructive: {
|
|
124
|
+
idle: "var(--action-destructive-idle)",
|
|
125
|
+
"on-idle": "var(--action-destructive-on-idle)",
|
|
126
|
+
hover: "var(--action-destructive-hover)",
|
|
127
|
+
"on-hover": "var(--action-destructive-on-hover)",
|
|
128
|
+
disabled: "var(--action-destructive-disabled)",
|
|
129
|
+
"on-disabled": "var(--action-destructive-on-disabled)",
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
background: {
|
|
133
|
+
primary: "var(--background-primary)",
|
|
134
|
+
secondary: "var(--background-secondary)",
|
|
135
|
+
tertiary: "var(--background-tertiary)",
|
|
136
|
+
hover: "var(--background-hover)",
|
|
137
|
+
selected: "var(--background-selected)",
|
|
138
|
+
overlay: "var(--background-overlay)",
|
|
139
|
+
},
|
|
140
|
+
display: {
|
|
141
|
+
"on-light": {
|
|
142
|
+
primary: "var(--display-on-light-primary)",
|
|
143
|
+
secondary: "var(--display-on-light-secondary)",
|
|
144
|
+
tertiary: "var(--display-on-light-tertiary)",
|
|
145
|
+
quaternary: "var(--display-on-light-quaternary)",
|
|
146
|
+
},
|
|
147
|
+
"on-dark": {
|
|
148
|
+
primary: "var(--display-on-dark-primary)",
|
|
149
|
+
secondary: "var(--display-on-dark-secondary)",
|
|
150
|
+
tertiary: "var(--display-on-dark-tertiary)",
|
|
151
|
+
quaternary: "var(--display-on-dark-quaternary)",
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
accent: {
|
|
155
|
+
"on-light": "var(--accent-on-light)",
|
|
156
|
+
"on-dark": "var(--accent-on-dark)",
|
|
157
|
+
"bg-light": "var(--accent-bg-light)",
|
|
158
|
+
"bg-lighter": "var(--accent-bg-lighter)",
|
|
159
|
+
},
|
|
160
|
+
divider: {
|
|
161
|
+
primary: "var(--divider-primary)",
|
|
162
|
+
secondary: "var(--divider-secondary)",
|
|
163
|
+
},
|
|
164
|
+
meta: {
|
|
165
|
+
green: "var(--meta-green)",
|
|
166
|
+
onGreen: "var(--meta-on-green)",
|
|
167
|
+
orange: "var(--meta-orange)",
|
|
168
|
+
onOrange: "var(--meta-on-orange)",
|
|
169
|
+
red: "var(--meta-red)",
|
|
170
|
+
onRed: "var(--meta-on-red)",
|
|
171
|
+
blue: "var(--meta-blue)",
|
|
172
|
+
onBlue: "var(--meta-on-blue)",
|
|
173
|
+
purple: "var(--meta-purple)",
|
|
174
|
+
onPurple: "var(--meta-on-purple)",
|
|
175
|
+
},
|
|
176
|
+
/* Legacy aliases */
|
|
177
|
+
"text-primary": "var(--display-on-light-primary)",
|
|
178
|
+
"text-secondary": "var(--display-on-light-secondary)",
|
|
179
|
+
"text-tertiary": "var(--display-on-light-tertiary)",
|
|
180
|
+
"surface-primary": "var(--background-primary)",
|
|
181
|
+
"surface-secondary": "var(--background-secondary)",
|
|
182
|
+
"surface-hover": "var(--background-secondary)",
|
|
183
|
+
"border-light": "var(--divider-primary)",
|
|
184
|
+
"border-medium": "var(--divider-secondary)",
|
|
185
|
+
},
|
|
186
|
+
};
|
package/src/theme-entry.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { theme as tailwindTheme } from "./tailwind-theme";
|
|
2
|
-
export { theme } from "./tailwind-theme";
|
|
1
|
+
export { theme as tailwindTheme } from "./tailwind-theme";
|
|
2
|
+
export { theme } from "./tailwind-theme";
|