fix: Tailwind incorrectly using the font
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
parent
13221b202a
commit
211cfc4197
@ -5,17 +5,21 @@ const colors = require('tailwindcss/colors')
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
|
||||||
colors: {
|
|
||||||
primary: colors.amber // primary color used by the projet, easily swappable
|
|
||||||
},
|
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
|
// add your default font below
|
||||||
'sans': ['Font Name', ...defaultTheme.fontFamily.sans]
|
'sans': ['Font Name', ...defaultTheme.fontFamily.sans]
|
||||||
},
|
},
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
// primary color used by the projet, easily swappable
|
||||||
|
primary: colors.amber
|
||||||
|
},
|
||||||
container: {
|
container: {
|
||||||
center: true, // default to center the container
|
// default the container to center the content
|
||||||
|
center: true,
|
||||||
padding: {
|
padding: {
|
||||||
DEFAULT: '1rem' // add a default padding to the container
|
// add a default padding to the container
|
||||||
|
DEFAULT: '1rem'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user