-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
50 lines (49 loc) · 1.37 KB
/
tailwind.config.js
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
47
48
49
50
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: ["selector", "[data-theme='dark']"],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
colors: {
neutral: {
100: "#FFFFFF",
200: "#f5f5f5",
300: "#e4e4e4",
400: "#c1c4cb",
500: "#7c8187",
600: "#5a6069",
700: "#35393f",
800: "#2b2d31",
900: "#1d1f22",
1000: "#151619",
},
orange: "#e46643",
"orange-hover": "#f39765",
transparent: "rgb(0 , 0, 0, 0)",
},
fontSize: {
"body-m": ".8125rem",
"heading-s": [".875rem", { letterSpacing: ".125rem" }],
"heading-m": ".9375rem",
"preview-h1": "2rem",
"preview-h2": "1.75rem",
"preview-h3": "1.5rem",
"preview-h4": "1.25rem",
"preview-h5": "1rem",
"preview-h6": ".875",
"preview-paragraph": [".875rem", { lineHeight: "1.5rem" }],
},
extend: {
fontFamily: {
sans: ["Roboto", ...defaultTheme.fontFamily.sans],
serif: ['"Roboto Slab"', ...defaultTheme.fontFamily.serif],
mono: ['"Roboto Mono"', ...defaultTheme.fontFamily.mono],
},
},
},
plugins: [require("@tailwindcss/typography")],
};