@moderneinc/design-system-tokens 6.0.0-next.02da4a
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 +173 -0
- package/dist/border-radius.css +10 -0
- package/dist/border-radius.d.ts +40 -0
- package/dist/border-radius.js +69 -0
- package/dist/breakpoints.d.ts +22 -0
- package/dist/breakpoints.js +33 -0
- package/dist/colors.css +114 -0
- package/dist/colors.d.ts +200 -0
- package/dist/colors.js +147 -0
- package/dist/height.css +12 -0
- package/dist/height.d.ts +42 -0
- package/dist/height.js +45 -0
- package/dist/index.d.ts +2692 -0
- package/dist/index.esm.js +27 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +63 -0
- package/dist/index.js.map +1 -0
- package/dist/padding.css +7 -0
- package/dist/padding.d.ts +31 -0
- package/dist/padding.js +51 -0
- package/dist/semantic-colors-dark.d.ts +494 -0
- package/dist/semantic-colors-dark.js +255 -0
- package/dist/semantic-colors-light.d.ts +494 -0
- package/dist/semantic-colors-light.js +255 -0
- package/dist/semantic-colors.css +581 -0
- package/dist/semantic-colors.d.ts +494 -0
- package/dist/semantic-colors.js +255 -0
- package/dist/semantic-typography.css +159 -0
- package/dist/semantic-typography.d.ts +315 -0
- package/dist/semantic-typography.js +119 -0
- package/dist/shadows.css +14 -0
- package/dist/shadows.d.ts +140 -0
- package/dist/shadows.js +79 -0
- package/dist/spacing.css +25 -0
- package/dist/spacing.d.ts +85 -0
- package/dist/spacing.js +154 -0
- package/dist/strokes.css +3 -0
- package/dist/strokes.d.ts +19 -0
- package/dist/strokes.js +19 -0
- package/dist/typography.css +25 -0
- package/dist/typography.d.ts +63 -0
- package/dist/typography.js +64 -0
- package/package.json +71 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Moderne Design System
|
|
3
|
+
* Generated from Figma design tokens
|
|
4
|
+
* @generated
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @typedef {{ hoverBorder: string, pressedBackground: string, inverse: string, hover: string, hoverBackground: string, disabled: string, placeholder: string, pressed: string, utility: string, default: string, active: string }} Icons
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @type {Icons}
|
|
13
|
+
*/
|
|
14
|
+
export const icons = {"hoverBorder":"var(--mod-icons-hover-border)","pressedBackground":"var(--mod-icons-pressed-background)","inverse":"var(--mod-icons-inverse)","hover":"var(--mod-icons-hover)","hoverBackground":"var(--mod-icons-hover-background)","disabled":"var(--mod-icons-disabled)","placeholder":"var(--mod-icons-placeholder)","pressed":"var(--mod-icons-pressed)","utility":"var(--mod-icons-utility)","default":"var(--mod-icons-default)","active":"var(--mod-icons-active)"};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {{ highlightBackground: string, activeHighlight: string, dataGrid: object, toggleKnob: string, page: string, card: string, cardHeader: string, tabActive: string, listHover: string, shadowNeutral: string, shadowPrimary: string, tooltip: string, scrim: string, tabSecondaryBackground: string, snackbarDarkMode: string, snackbarBrand: string, snackbarLightMode: string, white: string, black: string }} Surfaces
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @type {Surfaces}
|
|
22
|
+
*/
|
|
23
|
+
export const surfaces = {"highlightBackground":"var(--mod-surfaces-highlight-background)","activeHighlight":"var(--mod-surfaces-active-highlight)","dataGrid":{"header":"var(--mod-surfaces-data-grid-header)","selected":"var(--mod-surfaces-data-grid-selected)","selectedHover":"var(--mod-surfaces-data-grid-selected-hover)","hover":"var(--mod-surfaces-data-grid-hover)","default":"var(--mod-surfaces-data-grid-default)","border":"var(--mod-surfaces-data-grid-border)","borderStrong":"var(--mod-surfaces-data-grid-border-strong)","stripe":"var(--mod-surfaces-data-grid-stripe)","focused":"var(--mod-surfaces-data-grid-focused)","pinned":"var(--mod-surfaces-data-grid-pinned)","disabled":"var(--mod-surfaces-data-grid-disabled)","background":"var(--mod-surfaces-data-grid-background)"},"toggleKnob":"var(--mod-surfaces-toggle-knob)","page":"var(--mod-surfaces-page)","card":"var(--mod-surfaces-card)","cardHeader":"var(--mod-surfaces-card-header)","tabActive":"var(--mod-surfaces-tab-active)","listHover":"var(--mod-surfaces-list-hover)","shadowNeutral":"var(--mod-surfaces-shadow-neutral)","shadowPrimary":"var(--mod-surfaces-shadow-primary)","tooltip":"var(--mod-surfaces-tooltip)","scrim":"var(--mod-surfaces-scrim)","tabSecondaryBackground":"var(--mod-surfaces-tab-secondary-background)","snackbarDarkMode":"var(--mod-surfaces-snackbar-dark-mode)","snackbarBrand":"var(--mod-surfaces-snackbar-brand)","snackbarLightMode":"var(--mod-surfaces-snackbar-light-mode)","white":"var(--mod-surfaces-white)","black":"var(--mod-surfaces-black)"};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @typedef {{ searchInputBackground: string, linkDefault: string, linkHover: string, navigation: object, linkWhite: string, linkWhiteHover: string, tab: object, tooltip: object, input: object, code: object, button: object, link: object, error: string, success: string, warning: string, legal: string, bodySecondary: string, body: string }} Typography
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @type {Typography}
|
|
31
|
+
*/
|
|
32
|
+
export const typography = {"searchInputBackground":"var(--mod-typography-search-input-background)","linkDefault":"var(--mod-typography-link-default-legacy)","linkHover":"var(--mod-typography-link-hover)","navigation":{"search":{"highlightText":"var(--mod-typography-navigation-search-highlight-text)","highlightBackground":"var(--mod-typography-navigation-search-highlight-background)","inputBackground":"var(--mod-typography-navigation-search-input-background)","highlightBackgroundActive":"var(--mod-typography-navigation-search-highlight-background-active)"},"default":"var(--mod-typography-navigation-default)"},"linkWhite":"var(--mod-typography-link-white-legacy)","linkWhiteHover":"var(--mod-typography-link-white-hover)","tab":{"disabled":"var(--mod-typography-tab-disabled)","inactive":"var(--mod-typography-tab-inactive)","active":"var(--mod-typography-tab-active)"},"tooltip":{"secondary":"var(--mod-typography-tooltip-secondary)","default":"var(--mod-typography-tooltip-default)"},"input":{"placeholder":"var(--mod-typography-input-placeholder)","default":"var(--mod-typography-input-default)","label":"var(--mod-typography-input-label)","helper":"var(--mod-typography-input-helper)"},"code":{"primary":"var(--mod-typography-code-primary)","secondary":"var(--mod-typography-code-secondary)"},"button":{"disabled":"var(--mod-typography-button-disabled)"},"link":{"primary":"var(--mod-typography-link-primary)","disabled":"var(--mod-typography-link-disabled)","default":"var(--mod-typography-link-default)","white":"var(--mod-typography-link-white)"},"error":"var(--mod-typography-error)","success":"var(--mod-typography-success)","warning":"var(--mod-typography-warning)","legal":"var(--mod-typography-legal)","bodySecondary":"var(--mod-typography-body-secondary)","body":"var(--mod-typography-body)"};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @typedef {{ overlay: string, subtle: string, strong: string, hairline: string, primary: string, secondary: string, focus: string }} Border
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @type {Border}
|
|
40
|
+
*/
|
|
41
|
+
export const border = {"overlay":"var(--mod-border-overlay)","subtle":"var(--mod-border-subtle)","strong":"var(--mod-border-strong)","hairline":"var(--mod-border-hairline)","primary":"var(--mod-border-primary)","secondary":"var(--mod-border-secondary)","focus":"var(--mod-border-focus)"};
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @typedef {{ active: object, queued: object, canceled: object, success: object, error: object, warning: object, info: object, neutral: object, successText: string, successTint: string, successBorder: string, errorText: string, errorTint: string, errorBorder: string, warningText: string, warningTint: string, warningBorder: string, queuedTint: string, queuedBorder: string }} Status
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @type {Status}
|
|
49
|
+
*/
|
|
50
|
+
export const status = {"active":{"dark":"var(--mod-status-active-dark)","default":"var(--mod-status-active-default)","light":"var(--mod-status-active-light)","transparent":"var(--mod-status-active-transparent)","border":"var(--mod-status-active-border)"},"queued":{"dark":"var(--mod-status-queued-dark)","default":"var(--mod-status-queued-default)","light":"var(--mod-status-queued-light)","transparent":"var(--mod-status-queued-transparent)","border":"var(--mod-status-queued-border-nested)"},"canceled":{"dark":"var(--mod-status-canceled-dark)","default":"var(--mod-status-canceled-default)","light":"var(--mod-status-canceled-light)","transparent":"var(--mod-status-canceled-transparent)","border":"var(--mod-status-canceled-border)"},"success":{"border":"var(--mod-status-success-border-nested)","light":"var(--mod-status-success-light)","default":"var(--mod-status-success-default)","transparent":"var(--mod-status-success-transparent)","dark":"var(--mod-status-success-dark)"},"error":{"border":"var(--mod-status-error-border-nested)","light":"var(--mod-status-error-light)","default":"var(--mod-status-error-default)","transparent":"var(--mod-status-error-transparent)","dark":"var(--mod-status-error-dark)"},"warning":{"border":"var(--mod-status-warning-border-nested)","light":"var(--mod-status-warning-light)","default":"var(--mod-status-warning-default)","transparent":"var(--mod-status-warning-transparent)","dark":"var(--mod-status-warning-dark)"},"info":{"border":"var(--mod-status-info-border)","dark":"var(--mod-status-info-dark)","default":"var(--mod-status-info-default)","light":"var(--mod-status-info-light)","transparent":"var(--mod-status-info-transparent)"},"neutral":{"border":"var(--mod-status-neutral-border)","dark":"var(--mod-status-neutral-dark)","default":"var(--mod-status-neutral-default)","light":"var(--mod-status-neutral-light)","transparent":"var(--mod-status-neutral-transparent)"},"successText":"var(--mod-status-success-text)","successTint":"var(--mod-status-success-tint)","successBorder":"var(--mod-status-success-border)","errorText":"var(--mod-status-error-text)","errorTint":"var(--mod-status-error-tint)","errorBorder":"var(--mod-status-error-border)","warningText":"var(--mod-status-warning-text)","warningTint":"var(--mod-status-warning-tint)","warningBorder":"var(--mod-status-warning-border)","queuedTint":"var(--mod-status-queued-tint)","queuedBorder":"var(--mod-status-queued-border)"};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @typedef {{ default: string, hover: string, tint: string, tintBorder: string }} Link
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @type {Link}
|
|
58
|
+
*/
|
|
59
|
+
export const link = {"default":"var(--mod-link-default)","hover":"var(--mod-link-hover)","tint":"var(--mod-link-tint)","tintBorder":"var(--mod-link-tint-border)"};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @typedef {{ border: string, borderSelected: string, glyph: string, checkedBg: string, checkedFg: string }} Control
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @type {Control}
|
|
67
|
+
*/
|
|
68
|
+
export const control = {"border":"var(--mod-control-border)","borderSelected":"var(--mod-control-border-selected)","glyph":"var(--mod-control-glyph)","checkedBg":"var(--mod-control-checked-bg)","checkedFg":"var(--mod-control-checked-fg)"};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @typedef {{ track: string, fill: string, label: string }} Progress
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @type {Progress}
|
|
76
|
+
*/
|
|
77
|
+
export const progress = {"track":"var(--mod-progress-track)","fill":"var(--mod-progress-fill)","label":"var(--mod-progress-label)"};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @typedef {{ panel: string, stroke: string, strokeMuted: string, inset: string, accent: string, positive: string }} Illustration
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @type {Illustration}
|
|
85
|
+
*/
|
|
86
|
+
export const illustration = {"panel":"var(--mod-illustration-panel)","stroke":"var(--mod-illustration-stroke)","strokeMuted":"var(--mod-illustration-stroke-muted)","inset":"var(--mod-illustration-inset)","accent":"var(--mod-illustration-accent)","positive":"var(--mod-illustration-positive)"};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @typedef {{ categorical: object, boundary: object, na: string, grid: string }} Dataviz
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @type {Dataviz}
|
|
94
|
+
*/
|
|
95
|
+
export const dataviz = {"categorical":{"coral":"var(--mod-dataviz-categorical-coral)","orange":"var(--mod-dataviz-categorical-orange)","tangerine":"var(--mod-dataviz-categorical-tangerine)","gold":"var(--mod-dataviz-categorical-gold)","green":"var(--mod-dataviz-categorical-green)","periwinkle":"var(--mod-dataviz-categorical-periwinkle)","teal":"var(--mod-dataviz-categorical-teal)","lilac":"var(--mod-dataviz-categorical-lilac)","magenta":"var(--mod-dataviz-categorical-magenta)","lime":"var(--mod-dataviz-categorical-lime)"},"boundary":{"coral":"var(--mod-dataviz-boundary-coral)","orange":"var(--mod-dataviz-boundary-orange)","tangerine":"var(--mod-dataviz-boundary-tangerine)","gold":"var(--mod-dataviz-boundary-gold)","green":"var(--mod-dataviz-boundary-green)","na":"var(--mod-dataviz-boundary-na)","periwinkle":"var(--mod-dataviz-boundary-periwinkle)","teal":"var(--mod-dataviz-boundary-teal)","lilac":"var(--mod-dataviz-boundary-lilac)","magenta":"var(--mod-dataviz-boundary-magenta)","lime":"var(--mod-dataviz-boundary-lime)"},"na":"var(--mod-dataviz-na)","grid":"var(--mod-dataviz-grid)"};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @typedef {{ successText: string, successBg: string, successBorder: string, warningText: string, warningBg: string, warningBorder: string, errorText: string, errorBg: string, errorBorder: string, infoText: string, infoBg: string, infoBorder: string }} Toast
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @type {Toast}
|
|
103
|
+
*/
|
|
104
|
+
export const toast = {"successText":"var(--mod-toast-success-text)","successBg":"var(--mod-toast-success-bg)","successBorder":"var(--mod-toast-success-border)","warningText":"var(--mod-toast-warning-text)","warningBg":"var(--mod-toast-warning-bg)","warningBorder":"var(--mod-toast-warning-border)","errorText":"var(--mod-toast-error-text)","errorBg":"var(--mod-toast-error-bg)","errorBorder":"var(--mod-toast-error-border)","infoText":"var(--mod-toast-info-text)","infoBg":"var(--mod-toast-info-bg)","infoBorder":"var(--mod-toast-info-border)"};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @typedef {{ canvasChrome: string, canvasContent: string, field: string, sunken: string, sunken2: string, rowHover: string, scrim: string, tooltip: string, cardFrosted: string }} Surface
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @type {Surface}
|
|
112
|
+
*/
|
|
113
|
+
export const surface = {"canvasChrome":"var(--mod-surface-canvas-chrome)","canvasContent":"var(--mod-surface-canvas-content)","field":"var(--mod-surface-field)","sunken":"var(--mod-surface-sunken)","sunken2":"var(--mod-surface-sunken2)","rowHover":"var(--mod-surface-row-hover)","scrim":"var(--mod-surface-scrim)","tooltip":"var(--mod-surface-tooltip)","cardFrosted":"var(--mod-surface-card-frosted)"};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @typedef {{ primary: string, muted: string, link: string, tabActive: string, onPrimary: string, codePrimary: string, codeSecondary: string, inputPlaceholder: string }} Text
|
|
117
|
+
*/
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @type {Text}
|
|
121
|
+
*/
|
|
122
|
+
export const text = {"primary":"var(--mod-text-primary)","muted":"var(--mod-text-muted)","link":"var(--mod-text-link)","tabActive":"var(--mod-text-tab-active)","onPrimary":"var(--mod-text-on-primary)","codePrimary":"var(--mod-text-code-primary)","codeSecondary":"var(--mod-text-code-secondary)","inputPlaceholder":"var(--mod-text-input-placeholder)"};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @typedef {{ primaryBg: string, primaryFg: string, primaryBgHover: string, destructiveBg: string, destructiveBgHover: string }} Button
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @type {Button}
|
|
130
|
+
*/
|
|
131
|
+
export const button = {"primaryBg":"var(--mod-button-primary-bg)","primaryFg":"var(--mod-button-primary-fg)","primaryBgHover":"var(--mod-button-primary-bg-hover)","destructiveBg":"var(--mod-button-destructive-bg)","destructiveBgHover":"var(--mod-button-destructive-bg-hover)"};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @typedef {{ periwinkle: string, teal: string, lilac: string, coral: string, green: string, yellow: string, orange1: string, orange2: string, orange3: string, red1: string, red2: string, red3: string }} Data
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @type {Data}
|
|
139
|
+
*/
|
|
140
|
+
export const data = {"periwinkle":"var(--mod-data-periwinkle)","teal":"var(--mod-data-teal)","lilac":"var(--mod-data-lilac)","coral":"var(--mod-data-coral)","green":"var(--mod-data-green)","yellow":"var(--mod-data-yellow)","orange1":"var(--mod-data-orange1)","orange2":"var(--mod-data-orange2)","orange3":"var(--mod-data-orange3)","red1":"var(--mod-data-red1)","red2":"var(--mod-data-red2)","red3":"var(--mod-data-red3)"};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @typedef {{ background: string, wave: string }} Skeleton
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @type {Skeleton}
|
|
148
|
+
*/
|
|
149
|
+
export const skeleton = {"background":"var(--mod-skeleton-background)","wave":"var(--mod-skeleton-wave)"};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @typedef {{ default: string, deep: string, tint: string, border: string, primaryFg: string, glow: string, glowSecondary: string }} Accent
|
|
153
|
+
*/
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @type {Accent}
|
|
157
|
+
*/
|
|
158
|
+
export const accent = {"default":"var(--mod-accent-default)","deep":"var(--mod-accent-deep)","tint":"var(--mod-accent-tint)","border":"var(--mod-accent-border)","primaryFg":"var(--mod-accent-primary-fg)","glow":"var(--mod-accent-glow)","glowSecondary":"var(--mod-accent-glow-secondary)"};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @typedef {{ violetBorder: string, magentaTint: string, magentaText: string, magentaBorder: string, tealTint: string, tealText: string, tealBorder: string, violetTint: string, violetText: string }} Role
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @type {Role}
|
|
166
|
+
*/
|
|
167
|
+
export const role = {"violetBorder":"var(--mod-role-violet-border)","magentaTint":"var(--mod-role-magenta-tint)","magentaText":"var(--mod-role-magenta-text)","magentaBorder":"var(--mod-role-magenta-border)","tealTint":"var(--mod-role-teal-tint)","tealText":"var(--mod-role-teal-text)","tealBorder":"var(--mod-role-teal-border)","violetTint":"var(--mod-role-violet-tint)","violetText":"var(--mod-role-violet-text)"};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @typedef {{ userDefaultBg: string, userDefaultText: string, initials: object }} Avatar
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @type {Avatar}
|
|
175
|
+
*/
|
|
176
|
+
export const avatar = {"userDefaultBg":"var(--mod-avatar-user-default-bg)","userDefaultText":"var(--mod-avatar-user-default-text)","initials":{"text1":"var(--mod-avatar-initials-text1)","text2":"var(--mod-avatar-initials-text2)","text3":"var(--mod-avatar-initials-text3)","text4":"var(--mod-avatar-initials-text4)","text5":"var(--mod-avatar-initials-text5)","text6":"var(--mod-avatar-initials-text6)","text7":"var(--mod-avatar-initials-text7)","border1":"var(--mod-avatar-initials-border1)","border2":"var(--mod-avatar-initials-border2)","border3":"var(--mod-avatar-initials-border3)","border4":"var(--mod-avatar-initials-border4)","border5":"var(--mod-avatar-initials-border5)","border6":"var(--mod-avatar-initials-border6)","border7":"var(--mod-avatar-initials-border7)","background1":"var(--mod-avatar-initials-background1)","background2":"var(--mod-avatar-initials-background2)","background3":"var(--mod-avatar-initials-background3)","background4":"var(--mod-avatar-initials-background4)","background5":"var(--mod-avatar-initials-background5)","background6":"var(--mod-avatar-initials-background6)","background7":"var(--mod-avatar-initials-background7)"}};
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @typedef {{ radio: string, checkbox: string, hoverBackground: string, background: string, disabledBackground: string }} Input
|
|
180
|
+
*/
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @type {Input}
|
|
184
|
+
*/
|
|
185
|
+
export const input = {"radio":"var(--mod-input-radio)","checkbox":"var(--mod-input-checkbox)","hoverBackground":"var(--mod-input-hover-background)","background":"var(--mod-input-background)","disabledBackground":"var(--mod-input-disabled-background)"};
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @typedef {{ primary: object, secondary: object, tertiary: object, destructive: string, navigation: object }} Buttons
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @type {Buttons}
|
|
193
|
+
*/
|
|
194
|
+
export const buttons = {"primary":{"hover":"var(--mod-buttons-primary-hover)","disabled":"var(--mod-buttons-primary-disabled)","pressed":"var(--mod-buttons-primary-pressed)","default":"var(--mod-buttons-primary-default)"},"secondary":{"defaultBorder":"var(--mod-buttons-secondary-default-border)","hoverBackground":"var(--mod-buttons-secondary-hover-background)","pressedBackground":"var(--mod-buttons-secondary-pressed-background)","disabledBackground":"var(--mod-buttons-secondary-disabled-background)","defaultBackground":"var(--mod-buttons-secondary-default-background)","default":"var(--mod-buttons-secondary-default)"},"tertiary":{"default":"var(--mod-buttons-tertiary-default)","hover":"var(--mod-buttons-tertiary-hover)","pressed":"var(--mod-buttons-tertiary-pressed)","disabled":"var(--mod-buttons-tertiary-disabled)"},"destructive":"var(--mod-buttons-destructive)","navigation":{"active":"var(--mod-buttons-navigation-active)","defaultBorder":"var(--mod-buttons-navigation-default-border)","hoverBackground":"var(--mod-buttons-navigation-hover-background)","pressedBackground":"var(--mod-buttons-navigation-pressed-background)","activeBorder":"var(--mod-buttons-navigation-active-border)"}};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @typedef {{ recipeRun: string, commitJob: string, visualization: string }} Activity
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @type {Activity}
|
|
202
|
+
*/
|
|
203
|
+
export const activity = {"recipeRun":"var(--mod-activity-recipe-run)","commitJob":"var(--mod-activity-commit-job)","visualization":"var(--mod-activity-visualization)"};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @typedef {{ secondaryBackground: string }} Tab
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @type {Tab}
|
|
211
|
+
*/
|
|
212
|
+
export const tab = {"secondaryBackground":"var(--mod-tab-secondary-background)"};
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @typedef {{ background: string }} Code
|
|
216
|
+
*/
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @type {Code}
|
|
220
|
+
*/
|
|
221
|
+
export const code = {"background":"var(--mod-code-background)"};
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @type {string}
|
|
225
|
+
*/
|
|
226
|
+
export const brand = "var(--mod-brand)";
|
|
227
|
+
|
|
228
|
+
// Default export with all color groups
|
|
229
|
+
export default {
|
|
230
|
+
icons,
|
|
231
|
+
surfaces,
|
|
232
|
+
typography,
|
|
233
|
+
border,
|
|
234
|
+
status,
|
|
235
|
+
link,
|
|
236
|
+
control,
|
|
237
|
+
progress,
|
|
238
|
+
illustration,
|
|
239
|
+
dataviz,
|
|
240
|
+
toast,
|
|
241
|
+
surface,
|
|
242
|
+
text,
|
|
243
|
+
button,
|
|
244
|
+
data,
|
|
245
|
+
skeleton,
|
|
246
|
+
accent,
|
|
247
|
+
role,
|
|
248
|
+
avatar,
|
|
249
|
+
input,
|
|
250
|
+
buttons,
|
|
251
|
+
activity,
|
|
252
|
+
tab,
|
|
253
|
+
code,
|
|
254
|
+
brand,
|
|
255
|
+
};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
:root { --mod-data-default-font-family: Geist Mono;
|
|
2
|
+
--mod-data-default-font-size: 12px;
|
|
3
|
+
--mod-data-default-font-weight: 400;
|
|
4
|
+
--mod-data-default-line-height: 1rem;
|
|
5
|
+
--mod-data-small-font-family: Geist Mono;
|
|
6
|
+
--mod-data-small-font-size: 11px;
|
|
7
|
+
--mod-data-small-font-weight: 400;
|
|
8
|
+
--mod-data-small-line-height: 0.875rem;
|
|
9
|
+
--mod-titles-moddy-header-line-height: 2.125rem;
|
|
10
|
+
--mod-titles-moddy-header-font-family: Geist;
|
|
11
|
+
--mod-titles-moddy-header-font-size: 28px;
|
|
12
|
+
--mod-titles-moddy-header-font-weight: 500;
|
|
13
|
+
--mod-titles-page-header-line-height: 2.125rem;
|
|
14
|
+
--mod-titles-page-header-font-family: Geist;
|
|
15
|
+
--mod-titles-page-header-font-size: 18px;
|
|
16
|
+
--mod-titles-page-header-font-weight: 400;
|
|
17
|
+
--mod-titles-page-subheader-line-height: 1.5rem;
|
|
18
|
+
--mod-titles-page-subheader-font-family: Geist;
|
|
19
|
+
--mod-titles-page-subheader-font-size: 18px;
|
|
20
|
+
--mod-titles-page-subheader-font-weight: 500;
|
|
21
|
+
--mod-titles-section-header-default-line-height: 1.5rem;
|
|
22
|
+
--mod-titles-section-header-default-font-family: Geist;
|
|
23
|
+
--mod-titles-section-header-default-font-size: 16px;
|
|
24
|
+
--mod-titles-section-header-default-font-weight: 400;
|
|
25
|
+
--mod-titles-section-header-medium-font-family: Geist;
|
|
26
|
+
--mod-titles-section-header-medium-font-size: 16px;
|
|
27
|
+
--mod-titles-section-header-medium-font-weight: 500;
|
|
28
|
+
--mod-titles-section-header-medium-line-height: 1.5rem;
|
|
29
|
+
--mod-titles-section-header-semi-bold-font-family: Geist;
|
|
30
|
+
--mod-titles-section-header-semi-bold-font-size: 16px;
|
|
31
|
+
--mod-titles-section-header-semi-bold-font-weight: 600;
|
|
32
|
+
--mod-titles-section-header-semi-bold-line-height: 1.5rem;
|
|
33
|
+
--mod-titles-code-header-line-height: 2rem;
|
|
34
|
+
--mod-titles-code-header-font-family: Geist Mono;
|
|
35
|
+
--mod-titles-code-header-font-size: 24px;
|
|
36
|
+
--mod-titles-code-header-font-weight: 400;
|
|
37
|
+
--mod-body-small-semi-bold-line-height: 1.3125rem;
|
|
38
|
+
--mod-body-small-semi-bold-font-family: Geist;
|
|
39
|
+
--mod-body-small-semi-bold-font-size: 14px;
|
|
40
|
+
--mod-body-small-semi-bold-font-weight: 600;
|
|
41
|
+
--mod-body-small-regular-font-family: Geist;
|
|
42
|
+
--mod-body-small-regular-font-size: 14px;
|
|
43
|
+
--mod-body-small-regular-font-weight: 400;
|
|
44
|
+
--mod-body-small-regular-line-height: 1.5rem;
|
|
45
|
+
--mod-body-small-medium-font-family: Geist;
|
|
46
|
+
--mod-body-small-medium-font-size: 14px;
|
|
47
|
+
--mod-body-small-medium-font-weight: 500;
|
|
48
|
+
--mod-body-small-medium-line-height: 1.5rem;
|
|
49
|
+
--mod-body-xs-semi-bold-line-height: 1.125rem;
|
|
50
|
+
--mod-body-xs-semi-bold-font-family: Geist;
|
|
51
|
+
--mod-body-xs-semi-bold-font-size: 12px;
|
|
52
|
+
--mod-body-xs-semi-bold-font-weight: 600;
|
|
53
|
+
--mod-body-xs-regular-font-family: Geist;
|
|
54
|
+
--mod-body-xs-regular-font-size: 12px;
|
|
55
|
+
--mod-body-xs-regular-font-weight: 400;
|
|
56
|
+
--mod-body-xs-regular-line-height: 1rem;
|
|
57
|
+
--mod-body-xs-medium-font-family: Geist;
|
|
58
|
+
--mod-body-xs-medium-font-size: 12px;
|
|
59
|
+
--mod-body-xs-medium-font-weight: 500;
|
|
60
|
+
--mod-body-xs-medium-line-height: 1rem;
|
|
61
|
+
--mod-body-regular-font-family: Geist;
|
|
62
|
+
--mod-body-regular-font-size: 16px;
|
|
63
|
+
--mod-body-regular-font-weight: 400;
|
|
64
|
+
--mod-body-regular-line-height: 1.5rem;
|
|
65
|
+
--mod-body-code-small-font-family: Geist Mono;
|
|
66
|
+
--mod-body-code-small-font-size: 14px;
|
|
67
|
+
--mod-body-code-small-font-weight: 400;
|
|
68
|
+
--mod-body-code-small-line-height: 1.5rem;
|
|
69
|
+
--mod-body-code-xs-font-family: Geist Mono;
|
|
70
|
+
--mod-body-code-xs-font-size: 12px;
|
|
71
|
+
--mod-body-code-xs-font-weight: 400;
|
|
72
|
+
--mod-body-code-xs-line-height: 1.5rem;
|
|
73
|
+
--mod-body-xxs-font-family: Geist;
|
|
74
|
+
--mod-body-xxs-font-size: 10px;
|
|
75
|
+
--mod-body-xxs-font-weight: 400;
|
|
76
|
+
--mod-body-xxs-line-height: 1rem;
|
|
77
|
+
--mod-body-semi-bold-font-family: Geist;
|
|
78
|
+
--mod-body-semi-bold-font-size: 16px;
|
|
79
|
+
--mod-body-semi-bold-font-weight: 600;
|
|
80
|
+
--mod-body-semi-bold-line-height: 1.5rem;
|
|
81
|
+
--mod-body-medium-font-family: Geist;
|
|
82
|
+
--mod-body-medium-font-size: 16px;
|
|
83
|
+
--mod-body-medium-font-weight: 500;
|
|
84
|
+
--mod-body-medium-line-height: 1.5rem;
|
|
85
|
+
--mod-navigation-label-selected-font-family: Geist;
|
|
86
|
+
--mod-navigation-label-selected-font-size: 10px;
|
|
87
|
+
--mod-navigation-label-selected-font-weight: 500;
|
|
88
|
+
--mod-navigation-label-selected-line-height: 0.75rem;
|
|
89
|
+
--mod-navigation-label-default-font-family: Geist;
|
|
90
|
+
--mod-navigation-label-default-font-size: 10px;
|
|
91
|
+
--mod-navigation-label-default-font-weight: 500;
|
|
92
|
+
--mod-navigation-label-default-line-height: 0.75rem;
|
|
93
|
+
--mod-tab-active-font-family: Geist;
|
|
94
|
+
--mod-tab-active-font-size: 12px;
|
|
95
|
+
--mod-tab-active-font-weight: 600;
|
|
96
|
+
--mod-tab-active-line-height: 1.5rem;
|
|
97
|
+
--mod-tab-inactive-font-family: Geist;
|
|
98
|
+
--mod-tab-inactive-font-size: 12px;
|
|
99
|
+
--mod-tab-inactive-font-weight: 600;
|
|
100
|
+
--mod-tab-inactive-line-height: 1.5rem;
|
|
101
|
+
--mod-button-font-family: Geist;
|
|
102
|
+
--mod-button-font-size: 12px;
|
|
103
|
+
--mod-button-font-weight: 500;
|
|
104
|
+
--mod-button-line-height: 1.25rem;
|
|
105
|
+
--mod-link-hover-font-family: Geist;
|
|
106
|
+
--mod-link-hover-font-size: 16px;
|
|
107
|
+
--mod-link-hover-font-weight: 400;
|
|
108
|
+
--mod-link-hover-line-height: 1.5rem;
|
|
109
|
+
--mod-link-hover-text-decoration: underline;
|
|
110
|
+
--mod-link-default-font-family: Geist;
|
|
111
|
+
--mod-link-default-font-size: 16px;
|
|
112
|
+
--mod-link-default-font-weight: 400;
|
|
113
|
+
--mod-link-default-line-height: 1.5rem;
|
|
114
|
+
--mod-link-small-hover-font-family: Geist;
|
|
115
|
+
--mod-link-small-hover-font-size: 14px;
|
|
116
|
+
--mod-link-small-hover-font-weight: 500;
|
|
117
|
+
--mod-link-small-hover-line-height: 1.5rem;
|
|
118
|
+
--mod-link-small-hover-text-decoration: underline;
|
|
119
|
+
--mod-link-small-font-family: Geist;
|
|
120
|
+
--mod-link-small-font-size: 14px;
|
|
121
|
+
--mod-link-small-font-weight: 500;
|
|
122
|
+
--mod-link-small-line-height: 1.5rem;
|
|
123
|
+
--mod-link-large-font-family: Geist;
|
|
124
|
+
--mod-link-large-font-size: 16px;
|
|
125
|
+
--mod-link-large-font-weight: 600;
|
|
126
|
+
--mod-link-large-line-height: 1.5rem;
|
|
127
|
+
--mod-link-large-hover-font-family: Geist;
|
|
128
|
+
--mod-link-large-hover-font-size: 16px;
|
|
129
|
+
--mod-link-large-hover-font-weight: 600;
|
|
130
|
+
--mod-link-large-hover-line-height: 1.5rem;
|
|
131
|
+
--mod-link-large-hover-text-decoration: underline;
|
|
132
|
+
--mod-chip-font-family: Geist;
|
|
133
|
+
--mod-chip-font-size: 12px;
|
|
134
|
+
--mod-chip-font-weight: 500;
|
|
135
|
+
--mod-chip-line-height: 1rem;
|
|
136
|
+
--mod-table-header-font-family: Geist;
|
|
137
|
+
--mod-table-header-font-size: 14px;
|
|
138
|
+
--mod-table-header-font-weight: 600;
|
|
139
|
+
--mod-table-header-line-height: 1.5rem;
|
|
140
|
+
--mod-table-row-font-family: Geist;
|
|
141
|
+
--mod-table-row-font-size: 14px;
|
|
142
|
+
--mod-table-row-font-weight: 400;
|
|
143
|
+
--mod-table-row-line-height: 1.5rem;
|
|
144
|
+
--mod-input-default-font-family: Geist;
|
|
145
|
+
--mod-input-default-font-size: 16px;
|
|
146
|
+
--mod-input-default-font-weight: 400;
|
|
147
|
+
--mod-input-default-line-height: 1.5rem;
|
|
148
|
+
--mod-input-helper-font-family: Geist;
|
|
149
|
+
--mod-input-helper-font-size: 12px;
|
|
150
|
+
--mod-input-helper-font-weight: 400;
|
|
151
|
+
--mod-input-helper-line-height: 1.25rem;
|
|
152
|
+
--mod-input-helper-search-font-family: Geist;
|
|
153
|
+
--mod-input-helper-search-font-size: 14px;
|
|
154
|
+
--mod-input-helper-search-font-weight: 400;
|
|
155
|
+
--mod-input-helper-search-line-height: 1.25rem;
|
|
156
|
+
--mod-tooltip-font-family: Geist;
|
|
157
|
+
--mod-tooltip-font-size: 12px;
|
|
158
|
+
--mod-tooltip-font-weight: 500;
|
|
159
|
+
--mod-tooltip-line-height: 1rem;}
|