forked from datopian/flowershow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
46 lines (45 loc) · 1.24 KB
/
tailwind.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.{js,ts,jsx,tsx}",
"./content/**/*.{md,mdx}",
"./node_modules/@portaljs/core/dist/*.js",
"./node_modules/@portaljs/core/*.js",
],
darkMode: "class",
theme: {
extend: {
// support wider width for large screens >1440px eg. in hero
maxWidth: {
"8xl": "88rem",
},
fontFamily: {
sans: ["ui-sans-serif", ...defaultTheme.fontFamily.sans],
serif: ["ui-serif", ...defaultTheme.fontFamily.serif],
mono: ["ui-monospace", ...defaultTheme.fontFamily.mono],
headings: ["-apple-system", ...defaultTheme.fontFamily.sans],
},
colors: {
background: {
DEFAULT: colors.white,
dark: colors.slate[900],
},
primary: {
DEFAULT: colors.gray[700],
dark: colors.gray[300],
},
secondary: {
DEFAULT: colors.sky[400],
dark: colors.sky[400],
},
},
},
},
/* eslint global-require: off */
plugins: [
require("@tailwindcss/typography")
],
};