chore: add elements to default tailwind config
Some checks failed
Build, check & Test / run (push) Failing after 26s
Some checks failed
Build, check & Test / run (push) Failing after 26s
This commit is contained in:
parent
8a197f1431
commit
c9c05db7f2
@ -1,9 +1,25 @@
|
|||||||
// const defaultTheme = require('tailwindcss/defaultTheme')
|
// const defaultTheme = require('tailwindcss/defaultTheme')
|
||||||
|
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
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: {},
|
fontFamily: {
|
||||||
}
|
fontFamily: {
|
||||||
}
|
// add your default font below
|
||||||
|
sans: ["Font Name", ...defaultTheme.fontFamily.sans],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
primary: colors.amber // primary color used by the projet, easily swappable
|
||||||
|
},
|
||||||
|
container: {
|
||||||
|
center: true, // default to center the container
|
||||||
|
padding: {
|
||||||
|
DEFAULT: '1rem' // add a default padding to the container
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user