-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
94 lines (93 loc) · 1.96 KB
/
tailwind.config.mjs
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
86
87
88
89
90
91
92
93
94
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme")
const colors = {
base: {
black: "#100F0F",
950: "#1C1B1A",
900: "#282726",
850: "#343331",
800: "#403E3C",
700: "#575653",
600: "#6F6E69",
500: "#878580",
300: "#B7B5AC",
200: "#CECDC3",
150: "#DAD8CE",
100: "#E6E4D9",
50: "#F2F0E5",
paper: "#FFFCF0",
},
red: {
DEFAULT: "#AF3029",
light: "#D14D41",
},
orange: {
DEFAULT: "#BC5215",
light: "#DA702C",
},
yellow: {
DEFAULT: "#AD8301",
light: "#D0A215",
},
green: {
DEFAULT: "#66800B",
light: "#879A39",
},
cyan: {
DEFAULT: "#24837B",
light: "#3AA99F",
},
blue: {
DEFAULT: "#205EA6",
light: "#4385BE",
},
purple: {
DEFAULT: "#5E409D",
light: "#8B7EC8",
},
magenta: {
DEFAULT: "#A02F6F",
light: "#CE5D97",
},
};
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
colors,
fontFamily: {
'sans': ["IBM Plex Sans JP", ...defaultTheme.fontFamily.sans]
},
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
maxWidth: false,
// code: {
// backgroundColor: theme('colors.base.900'),
// borderRadius: theme('borderRadius.DEFAULT'),
// paddingTop: theme('spacing.[0.5]'),
// paddingBottom: theme('spacing.[0.5]'),
// paddingLeft: theme('spacing.[1.5]'),
// paddingRight: theme('spacing.[1.5]'),
// fontWeight: 'normal',
// },
// 'code::before': {
// content: 'none',
// },
// 'code::after': {
// content: 'none',
// },
},
},
'2xl': {
css: {
fontSize: '2rem',
}
}
})
}
},
plugins: [
require("@tailwindcss/typography")
],
};