n-link/n-link-core/tailwind.config.js
Your Name 7bfd97c81c feat(ui): add Slate semantic theme tokens and Inter font
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-27 18:45:12 -04:00

57 lines
1.2 KiB
JavaScript

module.exports = {
theme: {
fontFamily: {
sans: [
'Inter',
'Cantarell',
'Roboto',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
},
extend: {
inset: {
'1/8': '0.125em',
},
boxShadow: {
even: '0 2px 12px 0 #0000001a',
error: '0 0 0 3px #F56C6CA0',
},
padding: {
'2.5': '0.625em',
'3/2': '0.375em',
},
colors: {
surface: 'var(--surface)',
raised: 'var(--raised)',
edge: 'var(--edge)',
fg: 'var(--fg)',
muted: 'var(--muted)',
accent: {
DEFAULT: 'var(--accent)',
fg: 'var(--accent-fg)',
},
selected: 'var(--selected)',
ok: 'var(--ok)',
warn: 'var(--warn)',
danger: 'var(--danger)',
success: 'var(--success)',
},
height: {
min: 'min-content',
},
},
},
plugins: [require('@tailwindcss/forms')],
};