cosmos-explorer/tailwind.config.js

37 lines
832 B
JavaScript
Raw Normal View History

2023-04-24 15:12:08 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2023-04-24 17:02:59 +00:00
darkMode: ['class'],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
2023-04-24 15:12:08 +00:00
theme: {
2023-04-24 16:37:16 +00:00
extend: {
colors: {
yes: '#3fb68b',
no: '#ff5353',
2023-04-24 17:12:32 +00:00
info: '#00b2ff',
2023-04-25 13:45:33 +00:00
main: 'var(--text-main)',
secondary: 'var(--text-secondary)',
active: 'var(--bg-active)',
}
2023-04-24 16:37:16 +00:00
},
2023-04-24 15:12:08 +00:00
},
2023-05-05 00:37:12 +00:00
plugins: [require('daisyui')],
2023-05-04 14:45:43 +00:00
daisyui: {
themes: [
{
light: {
2023-06-15 01:09:47 +00:00
...require('daisyui/src/theming/themes')['[data-theme=light]'],
2023-05-05 00:49:33 +00:00
primary: '#666cff',
2023-05-05 00:37:12 +00:00
},
2023-05-04 14:45:43 +00:00
},
2023-05-04 15:24:07 +00:00
{
dark: {
2023-06-15 01:09:47 +00:00
...require('daisyui/src/theming/themes')['[data-theme=dark]'],
2023-05-05 00:49:33 +00:00
primary: '#666cff',
2023-05-05 00:37:12 +00:00
'base-100': '#2a334c',
2023-06-15 04:05:35 +00:00
'base-200': '#252d37'
2023-05-05 00:37:12 +00:00
},
2023-05-04 15:24:07 +00:00
},
2023-05-04 14:45:43 +00:00
],
2023-05-05 00:37:12 +00:00
},
2023-04-24 17:02:59 +00:00
};