@matteoaliano/forest-ui 0.3.3 → 0.3.5

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/theme.js CHANGED
@@ -641,15 +641,15 @@ function buildPalette(tokens) {
641
641
  const { base: base2, error: error2, warning: warning2, success: success2, info: info2, text: text5, bg: bg5, fg: fg5, border: border5 } = tokens;
642
642
  return {
643
643
  primary: {
644
- main: violet[600],
645
- light: violet[400],
646
- dark: violet[700],
644
+ main: tokens.bg.brandSolid,
645
+ light: tokens.fg.brandPrimary,
646
+ dark: tokens.bg.brandSolidHover,
647
647
  contrastText: tokens.base.white
648
648
  },
649
649
  secondary: {
650
- main: gray[600],
651
- light: gray[400],
652
- dark: gray[700],
650
+ main: tokens.bg.secondarySolid,
651
+ light: tokens.fg.secondary,
652
+ dark: tokens.text.secondaryHover,
653
653
  contrastText: tokens.base.white
654
654
  },
655
655
  error: {
@@ -1509,16 +1509,16 @@ function buildComponents(tokens) {
1509
1509
  },
1510
1510
  colorPrimary: {
1511
1511
  "&.MuiChip-filled": {
1512
- backgroundColor: violet[50],
1513
- color: violet[700],
1514
- "& .MuiChip-deleteIcon": { color: violet[400] }
1512
+ backgroundColor: tokens.bg.brandPrimary,
1513
+ color: tokens.text.brandPrimary,
1514
+ "& .MuiChip-deleteIcon": { color: tokens.fg.brandPrimary }
1515
1515
  }
1516
1516
  },
1517
1517
  colorSecondary: {
1518
1518
  "&.MuiChip-filled": {
1519
- backgroundColor: gray[50],
1520
- color: gray[700],
1521
- "& .MuiChip-deleteIcon": { color: gray[400] }
1519
+ backgroundColor: tokens.bg.secondarySubtle,
1520
+ color: tokens.text.secondary,
1521
+ "& .MuiChip-deleteIcon": { color: tokens.fg.secondary }
1522
1522
  }
1523
1523
  },
1524
1524
  colorError: {