digital-gardeners/tailwind.config.js

49 lines
1.4 KiB
JavaScript
Raw Normal View History

2021-09-05 16:37:21 +02:00
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
purge: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
sans: ["Poppins", ...defaultTheme.fontFamily.sans],
2021-09-10 11:22:45 +02:00
serif: ["Source Serif Pro", ...defaultTheme.fontFamily.serif],
2021-09-05 16:37:21 +02:00
},
fontSize: {
// Set in Perfect Fourth typescale (1.33)
base: "1em",
lg: "1.333em",
xl: "1.777em",
"2xl": "2.369em",
"3xl": "3.157em",
"4xl": "4.2em",
"5xl": "5.61em",
},
colors: {
...colors,
2021-09-10 11:22:45 +02:00
brightGreen: "#189191",
2021-09-06 17:36:23 +02:00
deepGreen: "#136464",
2021-09-10 11:22:45 +02:00
offWhite: "#F5F4EF",
black: "#373435",
lightBlack: "#514B4C",
2021-09-06 17:36:23 +02:00
orangeRed: "#FF6148",
2021-09-05 16:37:21 +02:00
},
},
},
variants: {
extend: {},
},
plugins: [
require("@tailwindcss/typography"),
// https://github.com/tailwindlabs/tailwindcss-typography
],
};
// https://tailwindcss.com/docs/theme
//https://github.com/tailwindlabs/tailwindcss/blob/master/stubs/defaultConfig.stub.js#L7