next-template/tailwind.config.ts

49 lines
966 B
TypeScript
Raw Permalink Normal View History

2023-12-21 09:05:21 -06:00
import type { Config } from 'tailwindcss'
2024-04-01 09:07:56 -06:00
import { standard, standardThemes } from 'via-tailwind'
const themeAppColors = {
50: '#DDE3EB',
100: '#B0C4D6',
200: '#83A5C1',
300: '#5686AC',
400: '#296897',
500: '#1E507B',
600: '#1B4870',
700: '#183F64',
800: '#153758',
900: '#112F4D',
950: '#0E2741'
}
const themeTextColors = {
principal: '#334155',
disabled: '#cbd5e1'
}
2023-12-28 09:51:34 -06:00
2023-12-21 09:05:21 -06:00
const config: Config = {
darkMode: 'class',
2023-12-21 09:05:21 -06:00
content: [
2024-04-01 09:07:56 -06:00
'./src/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/analytics-lib/dist/**/*.{js,ts,jsx,tsx}',
'./node_modules/vComponents/dist/**/*.{js,ts,jsx,tsx}',
'./node_modules/via-ui/dist/**/*.{js,ts,jsx,tsx}'
2023-12-21 09:05:21 -06:00
],
theme: {
extend: {
2023-12-28 09:51:34 -06:00
colors: {
2024-04-01 09:07:56 -06:00
'theme-text': themeTextColors,
'theme-app': themeAppColors
2023-12-28 09:51:34 -06:00
}
}
2023-12-21 09:05:21 -06:00
},
2024-04-01 09:07:56 -06:00
plugins: [
standard,
standardThemes({
'theme-app': themeAppColors,
'theme-text': themeTextColors
})
]
2023-12-21 09:05:21 -06:00
}
2024-04-01 09:07:56 -06:00
2023-12-21 09:05:21 -06:00
export default config