@ttoss/theme 1.4.5 → 1.4.6

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.
@@ -428,9 +428,20 @@ var BruttalTheme = {
428
428
  fontSize: 4,
429
429
  lineSpace: "3.5"
430
430
  },
431
- error: {
432
- '&[role="alert"]': {
433
- color: "danger"
431
+ help: {
432
+ fontFamily: "caption",
433
+ color: "text",
434
+ fontSize: "xs",
435
+ '&[aria-disabled="true"]': {
436
+ color: "onMuted"
437
+ },
438
+ negative: {
439
+ color: "danger",
440
+ fontFamily: "caption",
441
+ fontSize: "xs",
442
+ '&[aria-disabled="true"]': {
443
+ color: "onMuted"
444
+ }
434
445
  }
435
446
  },
436
447
  h1: {
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-3BHEF22W.js";
2
+ import { BruttalTheme } from "./chunk-VECK5LBY.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-3BHEF22W.js";
2
+ import { BruttalFonts, BruttalTheme } from "../../chunk-VECK5LBY.js";
3
3
  export { BruttalFonts, BruttalTheme };
package/dist/index.js CHANGED
@@ -467,9 +467,20 @@ var BruttalTheme = {
467
467
  fontSize: 4,
468
468
  lineSpace: "3.5"
469
469
  },
470
- error: {
471
- '&[role="alert"]': {
472
- color: "danger"
470
+ help: {
471
+ fontFamily: "caption",
472
+ color: "text",
473
+ fontSize: "xs",
474
+ '&[aria-disabled="true"]': {
475
+ color: "onMuted"
476
+ },
477
+ negative: {
478
+ color: "danger",
479
+ fontFamily: "caption",
480
+ fontSize: "xs",
481
+ '&[aria-disabled="true"]': {
482
+ color: "onMuted"
483
+ }
473
484
  }
474
485
  },
475
486
  h1: {
@@ -471,9 +471,20 @@ var BruttalTheme = {
471
471
  fontSize: 4,
472
472
  lineSpace: "3.5"
473
473
  },
474
- error: {
475
- '&[role="alert"]': {
476
- color: "danger"
474
+ help: {
475
+ fontFamily: "caption",
476
+ color: "text",
477
+ fontSize: "xs",
478
+ '&[aria-disabled="true"]': {
479
+ color: "onMuted"
480
+ },
481
+ negative: {
482
+ color: "danger",
483
+ fontFamily: "caption",
484
+ fontSize: "xs",
485
+ '&[aria-disabled="true"]': {
486
+ color: "onMuted"
487
+ }
477
488
  }
478
489
  },
479
490
  h1: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/theme",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Theme for packages.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -53,5 +53,5 @@
53
53
  ]
54
54
  }
55
55
  },
56
- "gitHead": "77d124d6e4c2ccd61058c8852789dcd9bc2f527a"
56
+ "gitHead": "ce34db105b7f475a90660d77b194d6ea33b71960"
57
57
  }
@@ -317,9 +317,20 @@ export const BruttalTheme: Theme = {
317
317
  fontSize: 4,
318
318
  lineSpace: '3.5',
319
319
  },
320
- error: {
321
- '&[role="alert"]': {
320
+ help: {
321
+ fontFamily: 'caption',
322
+ color: 'text',
323
+ fontSize: 'xs',
324
+ '&[aria-disabled="true"]': {
325
+ color: 'onMuted',
326
+ },
327
+ negative: {
322
328
  color: 'danger',
329
+ fontFamily: 'caption',
330
+ fontSize: 'xs',
331
+ '&[aria-disabled="true"]': {
332
+ color: 'onMuted',
333
+ },
323
334
  },
324
335
  },
325
336
  h1: {