import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: 'class',
content: [
'...',
],
theme: {
// ...
extend: {
// ...
colors: {
primary: {
base: 'var(--primary-1)',
'bg-subtle': 'var(--primary-2)',
bg: 'var(--primary-3)',
'bg-hover': 'var(--primary-4)',
'bg-active': 'var(--primary-5)',
line: 'var(--primary-6)',
border: 'var(--primary-7)',
'border-hover': 'var(--primary-8)',
'focus-ring': 'var(--primary-8)',
solid: 'var(--primary-9)',
'solid-hover': 'var(--primary-10)',
text: 'var(--primary-11)',
'text-contrast': 'var(--primary-12)',
},
grey: {
base: 'var(--grey-1)',
'bg-subtle': 'var(--grey-2)',
bg: 'var(--grey-3)',
'bg-hover': 'var(--grey-4)',
'bg-active': 'var(--grey-5)',
line: 'var(--grey-6)',
border: 'var(--grey-7)',
'border-hover': 'var(--grey-8)',
'focus-ring': 'var(--grey-8)',
solid: 'var(--grey-9)',
'solid-hover': 'var(--grey-10)',
text: 'var(--grey-11)',
'text-contrast': 'var(--grey-12)',
},
info: {
base: 'var(--info-1)',
'bg-subtle': 'var(--info-2)',
bg: 'var(--info-3)',
'bg-hover': 'var(--info-4)',
'bg-active': 'var(--info-5)',
line: 'var(--info-6)',
border: 'var(--info-7)',
'border-hover': 'var(--info-8)',
'focus-ring': 'var(--info-8)',
solid: 'var(--info-9)',
'solid-hover': 'var(--info-10)',
text: 'var(--info-11)',
'text-contrast': 'var(--info-12)',
},
success: {
base: 'var(--success-1)',
'bg-subtle': 'var(--success-2)',
bg: 'var(--success-3)',
'bg-hover': 'var(--success-4)',
'bg-active': 'var(--success-5)',
line: 'var(--success-6)',
border: 'var(--success-7)',
'border-hover': 'var(--success-8)',
'focus-ring': 'var(--success-8)',
solid: 'var(--success-9)',
'solid-hover': 'var(--success-10)',
text: 'var(--success-11)',
'text-contrast': 'var(--success-12)',
},
warning: {
base: 'var(--warning-1)',
'bg-subtle': 'var(--warning-2)',
bg: 'var(--warning-3)',
'bg-hover': 'var(--warning-4)',
'bg-active': 'var(--warning-5)',
line: 'var(--warning-6)',
border: 'var(--warning-7)',
'border-hover': 'var(--warning-8)',
'focus-ring': 'var(--warning-8)',
solid: 'var(--warning-9)',
'solid-hover': 'var(--warning-10)',
text: 'var(--warning-11)',
'text-contrast': 'var(--warning-12)',
},
error: {
base: 'var(--error-1)',
'bg-subtle': 'var(--error-2)',
bg: 'var(--error-3)',
'bg-hover': 'var(--error-4)',
'bg-active': 'var(--error-5)',
line: 'var(--error-6)',
border: 'var(--error-7)',
'border-hover': 'var(--error-8)',
'focus-ring': 'var(--error-8)',
solid: 'var(--error-9)',
'solid-hover': 'var(--error-10)',
text: 'var(--error-11)',
'text-contrast': 'var(--error-12)',
},
},
},
},
plugins: [],
};
export default config;