Configure some css variables
This commit is contained in:
@ -10,35 +10,12 @@ module.exports = {
|
||||
secondary: colors.pink,
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ["'InterVariable'", ...defaultTheme.fontFamily.sans],
|
||||
sans: ['var(--aw-font-sans)', ...defaultTheme.fontFamily.sans],
|
||||
serif: ['var(--aw-font-serif)', ...defaultTheme.fontFamily.serif],
|
||||
heading: ['var(--aw-font-heading)', ...defaultTheme.fontFamily.sans],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require('@tailwindcss/typography')],
|
||||
darkMode: 'class',
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Alternative tailwind.config.js
|
||||
|
||||
NOTE: Add this fonts to <head>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;700&display=swap" rel="stylesheet" />
|
||||
*/
|
||||
|
||||
// module.exports = {
|
||||
// content: ["./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}"],
|
||||
// theme: {
|
||||
// extend: {
|
||||
// colors: {
|
||||
// primary: colors.cyan,
|
||||
// secondary: colors.lime,
|
||||
// },
|
||||
// fontFamily: {
|
||||
// sans: ["'Nunito'", ...defaultTheme.fontFamily.sans],
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// plugins: [require("@tailwindcss/typography")],
|
||||
// darkMode: "class",
|
||||
// };
|
||||
|
Reference in New Issue
Block a user