Skip to content

Commit

Permalink
fix: Use gradient default
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Anton committed Jun 6, 2024
1 parent b533fb3 commit ea9fe84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/novui/src/components/mantine-theme.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ export const MANTINE_THEME: MantineThemeOverride = {
// colors
white: token('colors.legacy.white'),
black: token('colors.legacy.black'),
primaryColor: 'red',
primaryColor: 'gradient',
primaryShade: 6,
colors: {
gray: generateMantineColorTokens('mauve'),
yellow: generateMantineColorTokens('amber'),
blue: generateMantineColorTokens('blue'),
green: generateMantineColorTokens('green'),
red: generateMantineColorTokens('red'),
// must have a tuple of 10 strings, but replace the value at primaryShade with our gradient
gradient: ['', '', '', '', '', '', token('gradients.horizontal'), '', '', ''],
},

// typography
Expand Down

0 comments on commit ea9fe84

Please sign in to comment.