sd-comic-lettering / ui /tailwind.config.js
Kazzze's picture
Update to current version
55306cf verified
Raw History Blame Contribute Delete
741 Bytes
/** @type {import('tailwindcss').Config} */
const color = (name) => `rgb(var(--cl-${name}) / <alpha-value>)`
export default {
content: ['./index.html', './src/**/*.{ts,tsx}'],
theme: {
extend: {
colors: {
'cl-bg': color('bg'),
'cl-surface': color('surface'),
'cl-raised': color('raised'),
'cl-border': color('border'),
'cl-text': color('text'),
'cl-muted': color('muted'),
'cl-accent': color('accent'),
'cl-accent-text': color('accent-text'),
'cl-on-accent': color('on-accent'),
'cl-hand': color('hand'),
'cl-warning': color('warning'),
'cl-danger': color('danger'),
},
},
},
plugins: [],
}