mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:33:44 -07:00
add tailwind
This commit is contained in:
parent
a8b95aa752
commit
618901a871
11 changed files with 855 additions and 375 deletions
23
tailwind.config.mjs
Normal file
23
tailwind.config.mjs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
||||
darkMode: ['class', '[data-theme="dark"]'],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
accent: 'rgb(var(--accent) / <alpha-value>)',
|
||||
'accent-light': 'rgb(var(--accent-light) / <alpha-value>)',
|
||||
'accent-dark': 'rgb(var(--accent-dark) / <alpha-value>)',
|
||||
},
|
||||
backgroundColor: {
|
||||
primary: 'var(--bg-primary)',
|
||||
secondary: 'var(--bg-secondary)',
|
||||
hover: 'var(--bg-hover)',
|
||||
},
|
||||
textColor: {
|
||||
primary: 'var(--text-color)',
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue