cosmos-explorer/tailwind.config.js

45 lines
932 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',
primary: '#666cff',
2023-04-25 13:45:33 +00:00
main: 'var(--text-main)',
secondary: 'var(--text-secondary)',
card: 'var(--bg-card)',
hover: 'var(--bg-hover)',
active: 'var(--bg-active)',
2023-04-24 16:37:16 +00:00
},
},
2023-04-24 15:12:08 +00:00
},
2023-05-04 07:36:42 +00:00
plugins: [
require("daisyui")
],
2023-05-04 14:45:43 +00:00
daisyui: {
themes: [
2023-05-04 15:24:07 +00:00
{
myTheme: {
info: "#666CFF",
}
},
2023-05-04 14:45:43 +00:00
{
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
info: "#666CFF",
}
},
2023-05-04 15:24:07 +00:00
{
dark: {
...require("daisyui/src/colors/themes")["[data-theme=dark]"],
info: "#666CFF",
}
},
2023-05-04 14:45:43 +00:00
],
}
2023-04-24 17:02:59 +00:00
};