-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
47 lines (42 loc) · 1.16 KB
/
tailwind.config.ts
File metadata and controls
47 lines (42 loc) · 1.16 KB
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
import type { Config } from "tailwindcss";
import { colors } from "./src/styles/color";
import { semantic } from "./src/styles/semantic";
import { typography } from "./src/styles/typography";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
// Colors
white: colors.white,
purple: colors.purple,
neutral: colors.neutral,
"cool-neutral": colors.coolNeutral,
pink: colors.pink,
lime: colors.lime,
red: colors.red,
// Semantic
text: semantic.text,
bg: semantic.bg,
object: semantic.object,
border: semantic.border,
error: semantic.error,
"black-alpha": semantic.blackAlpha,
shadow: semantic.shadow,
},
// Typography
fontSize: typography.fontSize,
fontWeight: typography.fontWeight,
fontFamily: {
pretendard: ["var(--font-pretendard)", "sans-serif"],
alata: ["var(--font-alata)", "sans-serif"],
},
},
},
plugins: [],
};
export default config;