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} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
export default {
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||||
theme: {
|
theme: {
|
||||||
@ -9,8 +11,8 @@ module.exports = {
|
|||||||
light: '#f5f5f5'
|
light: '#f5f5f5'
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['InterVariable', 'sans-serif'],
|
sans: ['InterVariable', ...fontFamily.sans],
|
||||||
mono: ['GeistMono', 'monospace']
|
mono: ['GeistMono', ...fontFamily.mono]
|
||||||
},
|
},
|
||||||
fontSize: {
|
fontSize: {
|
||||||
mini: '14px'
|
mini: '14px'
|
Loading…
Reference in New Issue
Block a user