-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
85 lines (85 loc) · 2.07 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layout/**/*.{js,ts,jsx,tsx}",
"./lib/**/*.{js,ts,jsx,tsx}",
"./data/**/*.{md,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: [
"var(--font-fira)",
"var(--font-notosans)",
...defaultTheme.fontFamily.sans,
],
article: [
"var(--font-fira)",
"var(--font-notosans)",
...defaultTheme.fontFamily.sans,
],
title: [
"var(--font-lato)",
"var(--font-notosans)",
...defaultTheme.fontFamily.sans,
],
noto: [
"var(--font-notosans)",
...defaultTheme.fontFamily.sans,
],
default: [...defaultTheme.fontFamily.sans],
mono: ["input-mono-narrow", ...defaultTheme.fontFamily.mono],
},
colors: {
white: {
DEFAULT: colors.white,
readable: "#F5F5F7",
},
black: {
DEFAULT: colors.black,
readable: "#1D1D1F",
elegant: "#1F1F24",
},
secondary: {
DEFAULT: "#F6F6F6",
dark: "#1F1F24",
},
spgray: {
DEFAULT: "#121212",
secondary: "#181818",
bright: "#282828",
},
jbgray: {
DEFAULT: "#27282c",
light: "rgb(138, 138, 140)",
},
nwpurple: {
DEFAULT: "rgb(65, 39, 118)",
light: "rgb(152, 78, 187)",
},
},
typography: theme => ({
DEFAULT: {
css: {
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
},
},
}),
},
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/container-queries"),
],
};