34 lines
919 B
JavaScript
34 lines
919 B
JavaScript
import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
darkMode: ['class', 'html.dark'],
|
|
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
border: 'var(--border-color)',
|
|
accent: 'var(--theme-color)',
|
|
hover: 'var(--hover-color)',
|
|
},
|
|
spacing: {
|
|
sidebar: '240px',
|
|
},
|
|
boxShadow: {
|
|
modal: 'rgb(0 0 0 / 20%) 0px 0px 1px, rgb(0 0 0 / 20%) 0px 20px 40px',
|
|
'card-hover':
|
|
'rgb(0 0 0 / 5%) 0px 0px 1px, rgb(0 0 0 / 12%) 0px 15px 30px',
|
|
card: 'rgb(0 0 0 / 5%) 0px 0px 1px, rgb(0 0 0 / 4%) 0px 15px 30px',
|
|
},
|
|
fontFamily: {
|
|
mono: 'Roboto Mono, Monaco, monospace',
|
|
},
|
|
},
|
|
},
|
|
plugins: [
|
|
iconsPlugin({
|
|
collections: getIconCollections(['mingcute']),
|
|
}),
|
|
],
|
|
}
|