feat: Add custom background color #3221 (#3336)

### What problem does this PR solve?

feat: Add custom background color #3221

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-11-11 19:29:56 +08:00
committed by GitHub
parent 8536335e63
commit 528646a958
12 changed files with 409 additions and 1 deletions

View File

@ -3,7 +3,7 @@ const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
darkMode: ['selector'],
content: [
'./src/pages/**/*.tsx',
'./src/components/**/*.tsx',
@ -52,6 +52,10 @@ module.exports = {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
backgroundInverseStandard: {
DEFAULT: 'var(--background-inverse-standard)',
foreground: 'var(--background-inverse-standard-foreground)',
},
},
borderRadius: {
lg: `var(--radius)`,