mirror of
https://github.com/pheralb/svgl.git
synced 2024-12-05 05:42:35 +08:00
🛠️ Add tailwindcss.
This commit is contained in:
parent
8a3d4b6cf9
commit
89506de0e9
6
postcss.config.cjs
Normal file
6
postcss.config.cjs
Normal file
@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
11
src/app.css
Normal file
11
src/app.css
Normal file
@ -0,0 +1,11 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@font-face {
|
||||
font-family: 'General-Sans';
|
||||
src: url('/fonts/GeneralSans-Variable.woff2') format('woff2');
|
||||
font-weight: 200 700;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
}
|
19
tailwind.config.cjs
Normal file
19
tailwind.config.cjs
Normal file
@ -0,0 +1,19 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
darkMode: 'class',
|
||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
dark: '#161616'
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['General-Sans', 'sans-serif']
|
||||
},
|
||||
fontSize: {
|
||||
mini: '14px'
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: []
|
||||
};
|
Loading…
Reference in New Issue
Block a user