mirror of
https://github.com/lights0123/n-link.git
synced 2026-08-08 02:33:28 +00:00
Migrates n-link-core's Tailwind config from 1.x to 3.x (drops future/ variants/purge, swaps custom-forms for @tailwindcss/forms) and replaces the Vue 2 'vue/types/vue' augmentation with Vue 3 ComponentCustomProperties. Deletes the Vue 2 shims.
52 lines
1.2 KiB
JavaScript
52 lines
1.2 KiB
JavaScript
module.exports = {
|
|
theme: {
|
|
fontFamily: {
|
|
sans: [
|
|
'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: {
|
|
ui: {
|
|
background: 'var(--color-ui-background)',
|
|
emph: 'var(--color-ui-emph)',
|
|
sidebar: 'var(--color-ui-sidebar)',
|
|
text: 'var(--color-ui-text)',
|
|
'text-inv': 'var(--color-ui-text-inv)',
|
|
primary: 'var(--color-ui-primary)',
|
|
border: 'var(--color-ui-border)',
|
|
blockquote: 'var(--color-ui-blockquote)',
|
|
},
|
|
},
|
|
height: {
|
|
min: 'min-content',
|
|
},
|
|
},
|
|
},
|
|
plugins: [require('@tailwindcss/forms')],
|
|
};
|