@ttoss/theme 1.4.27 → 1.4.29

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.
@@ -77,6 +77,7 @@ import chevronUpIcon from "@iconify/icons-carbon/chevron-up";
77
77
  import closeFilledIcon from "@iconify/icons-carbon/close-filled";
78
78
  import closeIcon from "@iconify/icons-carbon/close";
79
79
  import copyIcon from "@iconify/icons-carbon/copy";
80
+ import downloadIcon from "@iconify/icons-carbon/download";
80
81
  import editIcon from "@iconify/icons-carbon/edit";
81
82
  import errorFilledIcon from "@iconify/icons-carbon/error-filled";
82
83
  import informationFilledIcon from "@iconify/icons-carbon/information-filled";
@@ -121,6 +122,7 @@ addIcon("check", checkMarkIcon);
121
122
  addIcon("check-mark", checkMarkOutlineIcon);
122
123
  addIcon("close", closeIcon);
123
124
  addIcon("copy", copyIcon);
125
+ addIcon("download", downloadIcon);
124
126
  addIcon("edit", editIcon);
125
127
  addIcon("delete", trashCanIcon);
126
128
  addIcon("error", errorFilledIcon);
@@ -286,7 +288,7 @@ var BruttalTheme = {
286
288
  space,
287
289
  lineHeights,
288
290
  colors: {
289
- background: coreColors.white,
291
+ background: coreColors.complimentary,
290
292
  text: coreColors.black,
291
293
  muted: coreColors.gray200,
292
294
  onMuted: coreColors.gray600,
@@ -346,7 +348,25 @@ var BruttalTheme = {
346
348
  fontWeight: "normal",
347
349
  fontSize: "base",
348
350
  margin: 0,
349
- padding: 0
351
+ padding: 0,
352
+ backgroundColor: "background",
353
+ /**
354
+ * HTML elements
355
+ */
356
+ table: {
357
+ borderCollapse: "collapse"
358
+ },
359
+ th: {
360
+ paddingX: "md",
361
+ paddingY: "md"
362
+ },
363
+ tr: {
364
+ borderBottom: "default"
365
+ },
366
+ td: {
367
+ paddingX: "xl",
368
+ paddingY: "md"
369
+ }
350
370
  },
351
371
  a: {
352
372
  color: "text",
@@ -408,6 +428,17 @@ var BruttalTheme = {
408
428
  paddingX: "xs",
409
429
  paddingY: "2xs",
410
430
  borderRadius: "informative"
431
+ },
432
+ muted: {
433
+ color: "onMuted",
434
+ bg: "muted",
435
+ fontFamily: "caption",
436
+ fontWeight: "normal",
437
+ lineHeight: "base",
438
+ fontSize: "xs",
439
+ paddingX: "xs",
440
+ paddingY: "2xs",
441
+ borderRadius: "xs"
411
442
  }
412
443
  },
413
444
  buttons: {
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BruttalTheme } from "./chunk-DUSQYRAC.js";
2
+ import { BruttalTheme } from "./chunk-NBEPUG6F.js";
3
3
 
4
4
  // src/createTheme.ts
5
5
  import deepmerge from "deepmerge";
@@ -1,3 +1,3 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BruttalFonts, BruttalTheme } from "../../chunk-DUSQYRAC.js";
2
+ import { BruttalFonts, BruttalTheme } from "../../chunk-NBEPUG6F.js";
3
3
  export { BruttalFonts, BruttalTheme };
package/dist/index.js CHANGED
@@ -93,6 +93,7 @@ var import_chevron_up = __toESM(require("@iconify/icons-carbon/chevron-up"));
93
93
  var import_close_filled = __toESM(require("@iconify/icons-carbon/close-filled"));
94
94
  var import_close = __toESM(require("@iconify/icons-carbon/close"));
95
95
  var import_copy = __toESM(require("@iconify/icons-carbon/copy"));
96
+ var import_download = __toESM(require("@iconify/icons-carbon/download"));
96
97
  var import_edit = __toESM(require("@iconify/icons-carbon/edit"));
97
98
  var import_error_filled = __toESM(require("@iconify/icons-carbon/error-filled"));
98
99
  var import_information_filled = __toESM(require("@iconify/icons-carbon/information-filled"));
@@ -139,6 +140,7 @@ var subtractIcon = {
139
140
  (0, import_react.addIcon)("check-mark", import_checkmark_outline.default);
140
141
  (0, import_react.addIcon)("close", import_close.default);
141
142
  (0, import_react.addIcon)("copy", import_copy.default);
143
+ (0, import_react.addIcon)("download", import_download.default);
142
144
  (0, import_react.addIcon)("edit", import_edit.default);
143
145
  (0, import_react.addIcon)("delete", import_trash_can.default);
144
146
  (0, import_react.addIcon)("error", import_error_filled.default);
@@ -301,7 +303,7 @@ var BruttalTheme = {
301
303
  space,
302
304
  lineHeights,
303
305
  colors: {
304
- background: coreColors.white,
306
+ background: coreColors.complimentary,
305
307
  text: coreColors.black,
306
308
  muted: coreColors.gray200,
307
309
  onMuted: coreColors.gray600,
@@ -361,7 +363,25 @@ var BruttalTheme = {
361
363
  fontWeight: "normal",
362
364
  fontSize: "base",
363
365
  margin: 0,
364
- padding: 0
366
+ padding: 0,
367
+ backgroundColor: "background",
368
+ /**
369
+ * HTML elements
370
+ */
371
+ table: {
372
+ borderCollapse: "collapse"
373
+ },
374
+ th: {
375
+ paddingX: "md",
376
+ paddingY: "md"
377
+ },
378
+ tr: {
379
+ borderBottom: "default"
380
+ },
381
+ td: {
382
+ paddingX: "xl",
383
+ paddingY: "md"
384
+ }
365
385
  },
366
386
  a: {
367
387
  color: "text",
@@ -423,6 +443,17 @@ var BruttalTheme = {
423
443
  paddingX: "xs",
424
444
  paddingY: "2xs",
425
445
  borderRadius: "informative"
446
+ },
447
+ muted: {
448
+ color: "onMuted",
449
+ bg: "muted",
450
+ fontFamily: "caption",
451
+ fontWeight: "normal",
452
+ lineHeight: "base",
453
+ fontSize: "xs",
454
+ paddingX: "xs",
455
+ paddingY: "2xs",
456
+ borderRadius: "xs"
426
457
  }
427
458
  },
428
459
  buttons: {
@@ -94,6 +94,7 @@ var import_chevron_up = __toESM(require("@iconify/icons-carbon/chevron-up"));
94
94
  var import_close_filled = __toESM(require("@iconify/icons-carbon/close-filled"));
95
95
  var import_close = __toESM(require("@iconify/icons-carbon/close"));
96
96
  var import_copy = __toESM(require("@iconify/icons-carbon/copy"));
97
+ var import_download = __toESM(require("@iconify/icons-carbon/download"));
97
98
  var import_edit = __toESM(require("@iconify/icons-carbon/edit"));
98
99
  var import_error_filled = __toESM(require("@iconify/icons-carbon/error-filled"));
99
100
  var import_information_filled = __toESM(require("@iconify/icons-carbon/information-filled"));
@@ -140,6 +141,7 @@ var subtractIcon = {
140
141
  (0, import_react.addIcon)("check-mark", import_checkmark_outline.default);
141
142
  (0, import_react.addIcon)("close", import_close.default);
142
143
  (0, import_react.addIcon)("copy", import_copy.default);
144
+ (0, import_react.addIcon)("download", import_download.default);
143
145
  (0, import_react.addIcon)("edit", import_edit.default);
144
146
  (0, import_react.addIcon)("delete", import_trash_can.default);
145
147
  (0, import_react.addIcon)("error", import_error_filled.default);
@@ -305,7 +307,7 @@ var BruttalTheme = {
305
307
  space,
306
308
  lineHeights,
307
309
  colors: {
308
- background: coreColors.white,
310
+ background: coreColors.complimentary,
309
311
  text: coreColors.black,
310
312
  muted: coreColors.gray200,
311
313
  onMuted: coreColors.gray600,
@@ -365,7 +367,25 @@ var BruttalTheme = {
365
367
  fontWeight: "normal",
366
368
  fontSize: "base",
367
369
  margin: 0,
368
- padding: 0
370
+ padding: 0,
371
+ backgroundColor: "background",
372
+ /**
373
+ * HTML elements
374
+ */
375
+ table: {
376
+ borderCollapse: "collapse"
377
+ },
378
+ th: {
379
+ paddingX: "md",
380
+ paddingY: "md"
381
+ },
382
+ tr: {
383
+ borderBottom: "default"
384
+ },
385
+ td: {
386
+ paddingX: "xl",
387
+ paddingY: "md"
388
+ }
369
389
  },
370
390
  a: {
371
391
  color: "text",
@@ -427,6 +447,17 @@ var BruttalTheme = {
427
447
  paddingX: "xs",
428
448
  paddingY: "2xs",
429
449
  borderRadius: "informative"
450
+ },
451
+ muted: {
452
+ color: "onMuted",
453
+ bg: "muted",
454
+ fontFamily: "caption",
455
+ fontWeight: "normal",
456
+ lineHeight: "base",
457
+ fontSize: "xs",
458
+ paddingX: "xs",
459
+ paddingY: "2xs",
460
+ borderRadius: "xs"
430
461
  }
431
462
  },
432
463
  buttons: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/theme",
3
- "version": "1.4.27",
3
+ "version": "1.4.29",
4
4
  "description": "Theme for packages.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -59,5 +59,5 @@
59
59
  ]
60
60
  }
61
61
  },
62
- "gitHead": "b865ab2a3ba818f221370f6c95a7d580e59a5642"
62
+ "gitHead": "b14482e626119da6b065b28523b6668dbbcef585"
63
63
  }
@@ -17,6 +17,7 @@ import chevronUpIcon from '@iconify/icons-carbon/chevron-up';
17
17
  import closeFilledIcon from '@iconify/icons-carbon/close-filled';
18
18
  import closeIcon from '@iconify/icons-carbon/close';
19
19
  import copyIcon from '@iconify/icons-carbon/copy';
20
+ import downloadIcon from '@iconify/icons-carbon/download';
20
21
  import editIcon from '@iconify/icons-carbon/edit';
21
22
  import errorFilledIcon from '@iconify/icons-carbon/error-filled';
22
23
  import informationFilledIcon from '@iconify/icons-carbon/information-filled';
@@ -67,6 +68,7 @@ addIcon('check', checkMarkIcon);
67
68
  addIcon('check-mark', checkMarkOutlineIcon);
68
69
  addIcon('close', closeIcon);
69
70
  addIcon('copy', copyIcon);
71
+ addIcon('download', downloadIcon);
70
72
  addIcon('edit', editIcon);
71
73
  addIcon('delete', trashCanIcon);
72
74
  addIcon('error', errorFilledIcon);
@@ -72,7 +72,7 @@ export const BruttalTheme: Theme = {
72
72
  space,
73
73
  lineHeights,
74
74
  colors: {
75
- background: coreColors.white,
75
+ background: coreColors.complimentary,
76
76
  text: coreColors.black,
77
77
  muted: coreColors.gray200,
78
78
  onMuted: coreColors.gray600,
@@ -133,6 +133,24 @@ export const BruttalTheme: Theme = {
133
133
  fontSize: 'base',
134
134
  margin: 0,
135
135
  padding: 0,
136
+ backgroundColor: 'background',
137
+ /**
138
+ * HTML elements
139
+ */
140
+ table: {
141
+ borderCollapse: 'collapse',
142
+ },
143
+ th: {
144
+ paddingX: 'md',
145
+ paddingY: 'md',
146
+ },
147
+ tr: {
148
+ borderBottom: 'default',
149
+ },
150
+ td: {
151
+ paddingX: 'xl',
152
+ paddingY: 'md',
153
+ },
136
154
  },
137
155
  a: {
138
156
  color: 'text',
@@ -195,6 +213,17 @@ export const BruttalTheme: Theme = {
195
213
  paddingY: '2xs',
196
214
  borderRadius: 'informative',
197
215
  },
216
+ muted: {
217
+ color: 'onMuted',
218
+ bg: 'muted',
219
+ fontFamily: 'caption',
220
+ fontWeight: 'normal',
221
+ lineHeight: 'base',
222
+ fontSize: 'xs',
223
+ paddingX: 'xs',
224
+ paddingY: '2xs',
225
+ borderRadius: 'xs',
226
+ },
198
227
  },
199
228
  buttons: {
200
229
  accent: {