mirror of
https://github.com/pheralb/svgl.git
synced 2024-12-05 05:42:35 +08:00
⬆️ Upgrade tailwind & postcss config
This commit is contained in:
parent
038edfa2ae
commit
5e349a68a0
@ -1,6 +0,0 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
6
postcss.config.js
Normal file
6
postcss.config.js
Normal file
@ -0,0 +1,6 @@
|
||||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {}
|
||||
}
|
||||
};
|
@ -1,5 +1,7 @@
|
||||
import { fontFamily } from 'tailwindcss/defaultTheme';
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
export default {
|
||||
darkMode: 'class',
|
||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
theme: {
|
||||
@ -9,8 +11,8 @@ module.exports = {
|
||||
light: '#f5f5f5'
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['InterVariable', 'sans-serif'],
|
||||
mono: ['GeistMono', 'monospace']
|
||||
sans: ['InterVariable', ...fontFamily.sans],
|
||||
mono: ['GeistMono', ...fontFamily.mono]
|
||||
},
|
||||
fontSize: {
|
||||
mini: '14px'
|
Loading…
Reference in New Issue
Block a user