cosmos-explorer/tailwind.config.js
2023-05-05 08:49:33 +08:00

41 lines
953 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
yes: '#3fb68b',
no: '#ff5353',
info: '#00b2ff',
primary: '#666cff',
main: 'var(--text-main)',
secondary: 'var(--text-secondary)',
active: 'var(--bg-active)',
},
},
},
plugins: [require('daisyui')],
daisyui: {
themes: [
{
light: {
...require('daisyui/src/colors/themes')['[data-theme=light]'],
primary: '#666cff',
info: '#666CFF',
'base-content': '#e9eaeb'
},
},
{
dark: {
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
primary: '#666cff',
info: '#666CFF',
'base-100': '#2a334c',
'base-content': '#373f57'
},
},
],
},
};