-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
48 lines (46 loc) · 1.65 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
import colors from "tailwindcss/colors";
const config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
display: ["var(--font-display)", ...defaultTheme.fontFamily.sans],
},
strokeWidth: {
3: "3",
},
colors: {
red: { DEFAULT: colors.rose[500], dark: colors.rose[800] },
blue: { DEFAULT: colors.blue[500], dark: colors.blue[800] },
green: { DEFAULT: colors.emerald[500], dark: colors.emerald[800] },
yellow: { DEFAULT: colors.yellow[400], dark: colors.yellow[700] },
purple: { DEFAULT: colors.purple[500], dark: colors.purple[800] },
orange: { DEFAULT: colors.orange[500], dark: colors.orange[800] },
cyan: { DEFAULT: colors.cyan[500], dark: colors.cyan[800] },
pink: { DEFAULT: colors.pink[400], dark: colors.pink[700] },
black: { DEFAULT: colors.stone[600], dark: colors.stone[900] },
// #bfbab7 a.k.a. colors.stone[350]
white: { DEFAULT: colors.stone[100], dark: "#bfbab7" },
tile: {
DEFAULT: colors.orange[100],
line: colors.orange[900],
edge: colors.orange[800],
},
board: colors.orange[200],
},
dropShadow: {
tile: "0.2px 0.2px 0.3px rgba(0,0,0,0.5)",
player: "0.5px 0.5px 0.5px rgba(0,0,0,0.4)",
mid: "0.2px 0.2px 0.9px rgba(0,0,0,0.375)",
far: "0.2px 0.2px 1.5px rgba(0,0,0,0.25)",
},
},
},
plugins: [],
} satisfies Config;
export default config;