@ttoss/theme 1.2.10 → 1.4.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/dist/esm/chunk-VIAWD6II.js +445 -0
- package/dist/esm/index.js +3 -379
- package/dist/esm/themes/Bruttal/Bruttal.js +9 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.js +63 -12
- package/dist/themes/Bruttal/Bruttal.d.ts +7 -0
- package/dist/themes/Bruttal/Bruttal.js +481 -0
- package/package.json +28 -9
- package/src/createTheme.ts +1 -1
- package/src/index.ts +0 -3
- package/src/themes/Bruttal/Bruttal.ts +4 -0
- package/src/themes/Bruttal/BruttalIcons.ts +60 -0
- package/src/themes/Bruttal/BruttalTheme.ts +3 -0
package/dist/esm/index.js
CHANGED
|
@@ -1,389 +1,13 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"2xs": "0.5rem",
|
|
6
|
-
xs: "0.75rem",
|
|
7
|
-
sm: "0.875rem",
|
|
8
|
-
base: "1rem",
|
|
9
|
-
lg: "1.125rem",
|
|
10
|
-
xl: "1.25rem",
|
|
11
|
-
"2xl": "1.5rem",
|
|
12
|
-
"3xl": "1.875rem",
|
|
13
|
-
"4xl": "2.25rem",
|
|
14
|
-
"5xl": "3rem",
|
|
15
|
-
"6xl": "3.75rem",
|
|
16
|
-
"7xl": "4.5rem",
|
|
17
|
-
"8xl": "6rem",
|
|
18
|
-
"9xl": "8rem"
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
// src/tokens/fontWeights.ts
|
|
22
|
-
var fontWeights = {
|
|
23
|
-
thin: 100,
|
|
24
|
-
extralight: 200,
|
|
25
|
-
light: 300,
|
|
26
|
-
normal: 400,
|
|
27
|
-
medium: 500,
|
|
28
|
-
semibold: 600,
|
|
29
|
-
bold: 700,
|
|
30
|
-
extrabold: 800
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
// src/tokens/letterSpacings.ts
|
|
34
|
-
var letterSpacings = {
|
|
35
|
-
tighter: "-0.05em",
|
|
36
|
-
tight: "-0.025em",
|
|
37
|
-
normal: "0em",
|
|
38
|
-
wide: "0.025em",
|
|
39
|
-
wider: "0.05em",
|
|
40
|
-
widest: "0.1em"
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
// src/tokens/space.ts
|
|
44
|
-
var space = {
|
|
45
|
-
none: 0,
|
|
46
|
-
"2xs": "2px",
|
|
47
|
-
xs: "3px",
|
|
48
|
-
sm: "5px",
|
|
49
|
-
md: "8px",
|
|
50
|
-
lg: "13px",
|
|
51
|
-
xl: "21px",
|
|
52
|
-
"2xl": "34px",
|
|
53
|
-
"3xl": "55px",
|
|
54
|
-
"4xl": "89px",
|
|
55
|
-
"5xl": "144px",
|
|
56
|
-
"6xl": "233px",
|
|
57
|
-
"7xl": "377px"
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// src/themes/Bruttal/BruttalTheme.ts
|
|
61
|
-
var coreFonts = {
|
|
62
|
-
main: '"Atkinson Hyperlegible", sans-serif',
|
|
63
|
-
contrast: '"Work Sans", sans-serif',
|
|
64
|
-
monospace: '"Inconsolata", sans-serif'
|
|
65
|
-
};
|
|
66
|
-
var brandColors = {
|
|
67
|
-
complimentary: "#f4f3f3",
|
|
68
|
-
main: "#292C2a",
|
|
69
|
-
darkNeutral: "#325C82",
|
|
70
|
-
accent: "#0469E3",
|
|
71
|
-
lightNeutral: "#F8F8F8"
|
|
72
|
-
};
|
|
73
|
-
var coreColors = {
|
|
74
|
-
...brandColors,
|
|
75
|
-
gray100: "#f9f9f9",
|
|
76
|
-
gray200: "#dedede",
|
|
77
|
-
gray300: "#c4c4c4",
|
|
78
|
-
gray400: "#ababab",
|
|
79
|
-
gray500: "#929292",
|
|
80
|
-
gray600: "#7a7a7a",
|
|
81
|
-
gray700: "#626262",
|
|
82
|
-
gray800: "#4c4c4c",
|
|
83
|
-
gray900: "#323232",
|
|
84
|
-
black: "#000000",
|
|
85
|
-
red100: "#ffebeb",
|
|
86
|
-
red200: "#fdbfbf",
|
|
87
|
-
red300: "#f99595",
|
|
88
|
-
red400: "#f56c6c",
|
|
89
|
-
red500: "#ef4444",
|
|
90
|
-
red600: "#e42828",
|
|
91
|
-
red700: "#c62121",
|
|
92
|
-
white: "#ffffff",
|
|
93
|
-
amber600: "#d97706",
|
|
94
|
-
teal600: "#0d9488"
|
|
95
|
-
};
|
|
96
|
-
var coreBorders = {
|
|
97
|
-
none: "0px solid",
|
|
98
|
-
thin: "1px solid",
|
|
99
|
-
medium: "2px solid",
|
|
100
|
-
thick: "4px solid"
|
|
101
|
-
};
|
|
102
|
-
var coreRadii = {
|
|
103
|
-
sharp: "0px",
|
|
104
|
-
xs: "2px",
|
|
105
|
-
sm: "4px",
|
|
106
|
-
md: "6px",
|
|
107
|
-
lg: "8px",
|
|
108
|
-
xl: "12px",
|
|
109
|
-
"2xl": "16px",
|
|
110
|
-
"3xl": "24px",
|
|
111
|
-
circle: "9999px"
|
|
112
|
-
};
|
|
113
|
-
var BruttalTheme = {
|
|
114
|
-
/**
|
|
115
|
-
* Tokens
|
|
116
|
-
*/
|
|
117
|
-
fontSizes,
|
|
118
|
-
fontWeights,
|
|
119
|
-
letterSpacings,
|
|
120
|
-
space,
|
|
121
|
-
colors: {
|
|
122
|
-
background: coreColors.white,
|
|
123
|
-
text: coreColors.black,
|
|
124
|
-
muted: coreColors.gray200,
|
|
125
|
-
onMuted: coreColors.gray500,
|
|
126
|
-
mutedOutline: coreColors.gray300,
|
|
127
|
-
danger: coreColors.red700,
|
|
128
|
-
onDanger: coreColors.white,
|
|
129
|
-
notice: coreColors.amber600,
|
|
130
|
-
positive: coreColors.teal600,
|
|
131
|
-
surface: coreColors.white,
|
|
132
|
-
contentHeader: coreColors.gray200,
|
|
133
|
-
onContentHeader: coreColors.black,
|
|
134
|
-
outline: coreColors.gray500,
|
|
135
|
-
primary: coreColors.main,
|
|
136
|
-
onPrimary: coreColors.white,
|
|
137
|
-
secondary: coreColors.gray500,
|
|
138
|
-
onSecondary: coreColors.complimentary,
|
|
139
|
-
highlight: coreColors.darkNeutral,
|
|
140
|
-
onHighlight: coreColors.complimentary,
|
|
141
|
-
accent: coreColors.accent,
|
|
142
|
-
onAccent: coreColors.white,
|
|
143
|
-
neutral: coreColors.darkNeutral,
|
|
144
|
-
onNeutral: coreColors.lightNeutral,
|
|
145
|
-
underemphasize: coreColors.gray300
|
|
146
|
-
},
|
|
147
|
-
fonts: {
|
|
148
|
-
h1: coreFonts.contrast,
|
|
149
|
-
h2: coreFonts.contrast,
|
|
150
|
-
h3: coreFonts.contrast,
|
|
151
|
-
h4: coreFonts.contrast,
|
|
152
|
-
h5: coreFonts.contrast,
|
|
153
|
-
h6: coreFonts.contrast,
|
|
154
|
-
body: coreFonts.main,
|
|
155
|
-
highlight: coreFonts.main,
|
|
156
|
-
caption: coreFonts.monospace
|
|
157
|
-
},
|
|
158
|
-
borders: {
|
|
159
|
-
default: coreBorders.medium
|
|
160
|
-
},
|
|
161
|
-
radii: {
|
|
162
|
-
default: coreRadii.sm
|
|
163
|
-
},
|
|
164
|
-
/**
|
|
165
|
-
* Global styles
|
|
166
|
-
*/
|
|
167
|
-
styles: {
|
|
168
|
-
root: {
|
|
169
|
-
fontFamily: "body",
|
|
170
|
-
fontWeight: "normal"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
/**
|
|
174
|
-
* Components
|
|
175
|
-
*/
|
|
176
|
-
badges: {
|
|
177
|
-
primary: {
|
|
178
|
-
color: "onPrimary",
|
|
179
|
-
bg: "primary",
|
|
180
|
-
fontSize: "sm",
|
|
181
|
-
paddingX: "sm",
|
|
182
|
-
borderRadius: "default"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
buttons: {
|
|
186
|
-
accent: {
|
|
187
|
-
backgroundColor: "accent",
|
|
188
|
-
color: "onAccent",
|
|
189
|
-
fontFamily: "highlight",
|
|
190
|
-
fontWeight: "bold",
|
|
191
|
-
border: "default",
|
|
192
|
-
borderRadius: "default",
|
|
193
|
-
borderColor: "accent",
|
|
194
|
-
":hover:not(:active,[disabled])": {
|
|
195
|
-
backgroundColor: "highlight",
|
|
196
|
-
color: "onHighlight",
|
|
197
|
-
borderColor: "highlight"
|
|
198
|
-
},
|
|
199
|
-
":disabled": {
|
|
200
|
-
cursor: "default",
|
|
201
|
-
backgroundColor: "muted",
|
|
202
|
-
borderColor: "muted"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
primary: {
|
|
206
|
-
backgroundColor: "primary",
|
|
207
|
-
color: "onPrimary",
|
|
208
|
-
fontFamily: "body",
|
|
209
|
-
border: "default",
|
|
210
|
-
borderRadius: "default",
|
|
211
|
-
borderColor: "outline",
|
|
212
|
-
":hover:not(:active,[disabled])": {
|
|
213
|
-
backgroundColor: "highlight",
|
|
214
|
-
color: "onHighlight",
|
|
215
|
-
borderColor: "highlight"
|
|
216
|
-
},
|
|
217
|
-
":active": {
|
|
218
|
-
backgroundColor: "primary",
|
|
219
|
-
color: "onPrimary",
|
|
220
|
-
borderColor: "outline"
|
|
221
|
-
},
|
|
222
|
-
":disabled": {
|
|
223
|
-
cursor: "default",
|
|
224
|
-
backgroundColor: "muted",
|
|
225
|
-
borderColor: "muted"
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
secondary: {
|
|
229
|
-
backgroundColor: "secondary",
|
|
230
|
-
color: "onSecondary",
|
|
231
|
-
fontFamily: "body",
|
|
232
|
-
border: "default",
|
|
233
|
-
borderRadius: "default",
|
|
234
|
-
borderColor: "outline",
|
|
235
|
-
":hover:not(:active,[disabled])": {
|
|
236
|
-
backgroundColor: "highlight",
|
|
237
|
-
color: "onHighlight",
|
|
238
|
-
borderColor: "highlight"
|
|
239
|
-
},
|
|
240
|
-
":disabled": {
|
|
241
|
-
cursor: "default",
|
|
242
|
-
backgroundColor: "muted",
|
|
243
|
-
borderColor: "muted"
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
neutral: {
|
|
247
|
-
backgroundColor: "neutral",
|
|
248
|
-
color: "onNeutral",
|
|
249
|
-
fontFamily: "body",
|
|
250
|
-
border: "default",
|
|
251
|
-
borderRadius: "default",
|
|
252
|
-
borderColor: "outline",
|
|
253
|
-
":hover:not(:active,[disabled])": {
|
|
254
|
-
backgroundColor: "highlight",
|
|
255
|
-
color: "onHighlight",
|
|
256
|
-
borderColor: "highlight"
|
|
257
|
-
},
|
|
258
|
-
":disabled": {
|
|
259
|
-
cursor: "default",
|
|
260
|
-
backgroundColor: "muted",
|
|
261
|
-
borderColor: "muted"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
danger: {
|
|
265
|
-
color: "white",
|
|
266
|
-
backgroundColor: "danger"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
cards: {
|
|
270
|
-
primary: {
|
|
271
|
-
backgroundColor: "primary",
|
|
272
|
-
border: "1px solid black",
|
|
273
|
-
padding: [4, 5],
|
|
274
|
-
display: "flex",
|
|
275
|
-
flexDirection: "column",
|
|
276
|
-
alignItems: "center",
|
|
277
|
-
width: "fit-content"
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
forms: {
|
|
281
|
-
label: {
|
|
282
|
-
"&:has(+ div > input.error)": {
|
|
283
|
-
"span > iconify-icon": {
|
|
284
|
-
color: "danger"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
'&:has(input[type="checkbox"]:disabled)': {
|
|
288
|
-
color: "onMuted"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
checkbox: {
|
|
292
|
-
"input:not(:checked) ~ &": {
|
|
293
|
-
color: "primary"
|
|
294
|
-
},
|
|
295
|
-
"input:disabled ~ &": {
|
|
296
|
-
color: "muted"
|
|
297
|
-
},
|
|
298
|
-
"input:disabled ~ & path": {
|
|
299
|
-
backgroundColor: "onMuted"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
input: {
|
|
303
|
-
fontFamily: "body",
|
|
304
|
-
color: "text",
|
|
305
|
-
paddingY: "md",
|
|
306
|
-
paddingX: "lg",
|
|
307
|
-
"::placeholder": {
|
|
308
|
-
color: "underemphasize"
|
|
309
|
-
},
|
|
310
|
-
":focus-within": {
|
|
311
|
-
outlineColor: "neutral"
|
|
312
|
-
},
|
|
313
|
-
":disabled": {
|
|
314
|
-
backgroundColor: "onMuted",
|
|
315
|
-
borderColor: "muted"
|
|
316
|
-
},
|
|
317
|
-
"&.error": {
|
|
318
|
-
borderColor: "danger"
|
|
319
|
-
},
|
|
320
|
-
"&.error+span>iconify-icon": {
|
|
321
|
-
color: "danger"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
text: {
|
|
326
|
-
default: {
|
|
327
|
-
color: "text",
|
|
328
|
-
fontFamily: "body"
|
|
329
|
-
},
|
|
330
|
-
title: {
|
|
331
|
-
fontFamily: "heading",
|
|
332
|
-
fontSize: 4,
|
|
333
|
-
lineSpace: "3.5"
|
|
334
|
-
},
|
|
335
|
-
error: {
|
|
336
|
-
'&[role="alert"]': {
|
|
337
|
-
color: "danger"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
h1: {
|
|
341
|
-
fontFamily: "heading",
|
|
342
|
-
fontSize: "6xl",
|
|
343
|
-
fontWeight: "bold",
|
|
344
|
-
letterSpacing: "normal"
|
|
345
|
-
},
|
|
346
|
-
h2: {
|
|
347
|
-
fontFamily: "heading",
|
|
348
|
-
fontSize: "5xl",
|
|
349
|
-
fontWeight: "bold",
|
|
350
|
-
letterSpacing: "normal"
|
|
351
|
-
},
|
|
352
|
-
h3: {
|
|
353
|
-
fontFamily: "heading",
|
|
354
|
-
fontSize: "4xl",
|
|
355
|
-
fontWeight: "bold",
|
|
356
|
-
letterSpacing: "normal"
|
|
357
|
-
},
|
|
358
|
-
h4: {
|
|
359
|
-
fontFamily: "heading",
|
|
360
|
-
fontSize: "2xl",
|
|
361
|
-
fontWeight: "bold",
|
|
362
|
-
letterSpacing: "normal"
|
|
363
|
-
},
|
|
364
|
-
h5: {
|
|
365
|
-
fontFamily: "heading",
|
|
366
|
-
fontSize: "xl",
|
|
367
|
-
fontWeight: "bold",
|
|
368
|
-
letterSpacing: "normal"
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
};
|
|
2
|
+
import {
|
|
3
|
+
BruttalTheme
|
|
4
|
+
} from "./chunk-VIAWD6II.js";
|
|
372
5
|
|
|
373
6
|
// src/createTheme.ts
|
|
374
7
|
import deepmerge from "deepmerge";
|
|
375
8
|
var createTheme = (theme) => {
|
|
376
9
|
return deepmerge(BruttalTheme, theme);
|
|
377
10
|
};
|
|
378
|
-
|
|
379
|
-
// src/themes/Bruttal/BruttalFonts.ts
|
|
380
|
-
var BruttalFonts = [
|
|
381
|
-
"https://fonts.googleapis.com/css?family=Inconsolata:wght@100;200;300;400;500;700;800;900",
|
|
382
|
-
"https://fonts.googleapis.com/css?family=Work+Sans:wght@100;200;300;400;500;700;800;900",
|
|
383
|
-
"https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap"
|
|
384
|
-
];
|
|
385
11
|
export {
|
|
386
|
-
BruttalFonts,
|
|
387
|
-
BruttalTheme,
|
|
388
12
|
createTheme
|
|
389
13
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -31,12 +31,69 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
// src/index.ts
|
|
32
32
|
var src_exports = {};
|
|
33
33
|
__export(src_exports, {
|
|
34
|
-
BruttalFonts: () => BruttalFonts,
|
|
35
|
-
BruttalTheme: () => BruttalTheme,
|
|
36
34
|
createTheme: () => createTheme
|
|
37
35
|
});
|
|
38
36
|
module.exports = __toCommonJS(src_exports);
|
|
39
37
|
|
|
38
|
+
// src/themes/Bruttal/BruttalIcons.ts
|
|
39
|
+
var import_react = require("@iconify-icon/react");
|
|
40
|
+
var import_add_filled = __toESM(require("@iconify/icons-carbon/add-filled"));
|
|
41
|
+
var import_calendar = __toESM(require("@iconify/icons-carbon/calendar"));
|
|
42
|
+
var import_checkbox_checked_filled = __toESM(require("@iconify/icons-carbon/checkbox-checked-filled"));
|
|
43
|
+
var import_checkbox = __toESM(require("@iconify/icons-carbon/checkbox"));
|
|
44
|
+
var import_checkbox_indeterminate_filled = __toESM(require("@iconify/icons-carbon/checkbox-indeterminate-filled"));
|
|
45
|
+
var import_chevron_down = __toESM(require("@iconify/icons-carbon/chevron-down"));
|
|
46
|
+
var import_chevron_left = __toESM(require("@iconify/icons-carbon/chevron-left"));
|
|
47
|
+
var import_chevron_right = __toESM(require("@iconify/icons-carbon/chevron-right"));
|
|
48
|
+
var import_chevron_up = __toESM(require("@iconify/icons-carbon/chevron-up"));
|
|
49
|
+
var import_close_filled = __toESM(require("@iconify/icons-carbon/close-filled"));
|
|
50
|
+
var import_copy = __toESM(require("@iconify/icons-carbon/copy"));
|
|
51
|
+
var import_error_filled = __toESM(require("@iconify/icons-carbon/error-filled"));
|
|
52
|
+
var import_information_filled = __toESM(require("@iconify/icons-carbon/information-filled"));
|
|
53
|
+
var import_paste = __toESM(require("@iconify/icons-carbon/paste"));
|
|
54
|
+
var import_radio_button_checked = __toESM(require("@iconify/icons-carbon/radio-button-checked"));
|
|
55
|
+
var import_radio_button = __toESM(require("@iconify/icons-carbon/radio-button"));
|
|
56
|
+
var import_renew = __toESM(require("@iconify/icons-carbon/renew"));
|
|
57
|
+
var import_time = __toESM(require("@iconify/icons-carbon/time"));
|
|
58
|
+
var import_trash_can = __toESM(require("@iconify/icons-carbon/trash-can"));
|
|
59
|
+
var import_user_avatar_filled_alt = __toESM(require("@iconify/icons-carbon/user-avatar-filled-alt"));
|
|
60
|
+
var import_view_filled = __toESM(require("@iconify/icons-carbon/view-filled"));
|
|
61
|
+
var import_view_off_filled = __toESM(require("@iconify/icons-carbon/view-off-filled"));
|
|
62
|
+
var import_warning_filled = __toESM(require("@iconify/icons-carbon/warning-filled"));
|
|
63
|
+
var replicateIcon = {
|
|
64
|
+
body: `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
65
|
+
<path d="M42 15V42H15V15H42ZM42 12H15C14.2044 12 13.4413 12.3161 12.8787 12.8787C12.3161 13.4413 12 14.2044 12 15V42C12 42.7956 12.3161 43.5587 12.8787 44.1213C13.4413 44.6839 14.2044 45 15 45H42C42.7956 45 43.5587 44.6839 44.1213 44.1213C44.6839 43.5587 45 42.7956 45 42V15C45 14.2044 44.6839 13.4413 44.1213 12.8787C43.5587 12.3161 42.7956 12 42 12Z" fill="currentColor"/>
|
|
66
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 5.76389C3 4.23744 4.26071 3 5.81588 3H29V5.57963H5.81588C5.71221 5.57963 5.62816 5.66213 5.62816 5.76389V28.994C5.62816 29.0957 5.71221 29.1782 5.81588 29.1782H22.2607L18.7784 25.7602L20.6368 23.9361L27.2916 30.4681L20.6368 37L18.7784 35.1759L22.2607 31.7579H5.81588C4.26071 31.7579 3 30.5204 3 28.994V5.76389Z" fill="currentColor"/>
|
|
67
|
+
</svg>`,
|
|
68
|
+
width: 48,
|
|
69
|
+
height: 48
|
|
70
|
+
};
|
|
71
|
+
(0, import_react.addIcon)("add", import_add_filled.default);
|
|
72
|
+
(0, import_react.addIcon)("avatar", import_user_avatar_filled_alt.default);
|
|
73
|
+
(0, import_react.addIcon)("calendar", import_calendar.default);
|
|
74
|
+
(0, import_react.addIcon)("checkbox-checked", import_checkbox_checked_filled.default);
|
|
75
|
+
(0, import_react.addIcon)("checkbox-indeterminate", import_checkbox_indeterminate_filled.default);
|
|
76
|
+
(0, import_react.addIcon)("checkbox-unchecked", import_checkbox.default);
|
|
77
|
+
(0, import_react.addIcon)("close", import_close_filled.default);
|
|
78
|
+
(0, import_react.addIcon)("copy", import_copy.default);
|
|
79
|
+
(0, import_react.addIcon)("delete", import_trash_can.default);
|
|
80
|
+
(0, import_react.addIcon)("error", import_error_filled.default);
|
|
81
|
+
(0, import_react.addIcon)("info", import_information_filled.default);
|
|
82
|
+
(0, import_react.addIcon)("paste", import_paste.default);
|
|
83
|
+
(0, import_react.addIcon)("picker-down", import_chevron_down.default);
|
|
84
|
+
(0, import_react.addIcon)("picker-up", import_chevron_up.default);
|
|
85
|
+
(0, import_react.addIcon)("picker-left", import_chevron_left.default);
|
|
86
|
+
(0, import_react.addIcon)("picker-right", import_chevron_right.default);
|
|
87
|
+
(0, import_react.addIcon)("radio-not-selected", import_radio_button.default);
|
|
88
|
+
(0, import_react.addIcon)("radio-selected", import_radio_button_checked.default);
|
|
89
|
+
(0, import_react.addIcon)("refresh", import_renew.default);
|
|
90
|
+
(0, import_react.addIcon)("replicate", replicateIcon);
|
|
91
|
+
(0, import_react.addIcon)("small-close", import_close_filled.default);
|
|
92
|
+
(0, import_react.addIcon)("time", import_time.default);
|
|
93
|
+
(0, import_react.addIcon)("view-off", import_view_off_filled.default);
|
|
94
|
+
(0, import_react.addIcon)("view-on", import_view_filled.default);
|
|
95
|
+
(0, import_react.addIcon)("warning", import_warning_filled.default);
|
|
96
|
+
|
|
40
97
|
// src/tokens/fontSizes.ts
|
|
41
98
|
var fontSizes = {
|
|
42
99
|
"2xs": "0.5rem",
|
|
@@ -204,7 +261,10 @@ var BruttalTheme = {
|
|
|
204
261
|
styles: {
|
|
205
262
|
root: {
|
|
206
263
|
fontFamily: "body",
|
|
207
|
-
fontWeight: "normal"
|
|
264
|
+
fontWeight: "normal",
|
|
265
|
+
fontSize: "base",
|
|
266
|
+
margin: 0,
|
|
267
|
+
padding: 0
|
|
208
268
|
}
|
|
209
269
|
},
|
|
210
270
|
/**
|
|
@@ -412,16 +472,7 @@ var import_deepmerge = __toESM(require("deepmerge"));
|
|
|
412
472
|
var createTheme = (theme) => {
|
|
413
473
|
return (0, import_deepmerge.default)(BruttalTheme, theme);
|
|
414
474
|
};
|
|
415
|
-
|
|
416
|
-
// src/themes/Bruttal/BruttalFonts.ts
|
|
417
|
-
var BruttalFonts = [
|
|
418
|
-
"https://fonts.googleapis.com/css?family=Inconsolata:wght@100;200;300;400;500;700;800;900",
|
|
419
|
-
"https://fonts.googleapis.com/css?family=Work+Sans:wght@100;200;300;400;500;700;800;900",
|
|
420
|
-
"https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap"
|
|
421
|
-
];
|
|
422
475
|
// Annotate the CommonJS export names for ESM import in node:
|
|
423
476
|
0 && (module.exports = {
|
|
424
|
-
BruttalFonts,
|
|
425
|
-
BruttalTheme,
|
|
426
477
|
createTheme
|
|
427
478
|
});
|