This repository was archived by the owner on Mar 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
109 lines (108 loc) · 3.05 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
const defaultTheme = require("tailwindcss/defaultTheme");
export default {
content: [
"./Public/**/*.html",
"./Source/**/*.{astro,js,jsx,ts,tsx,vue,svelte}",
],
dark: "media",
theme: {
container: {
center: true,
},
extend: {
transitionTimingFunction: {
apple: "cubic-bezier(0.25, 0.1, 0.25, 1)",
},
fontFamily: {
sans: ["Albert Sans", ...defaultTheme.fontFamily.sans],
},
// @ts-ignore
typography: ({ theme }) => ({
DEFAULT: {
css: {
a: {
"font-weight": "400",
},
},
},
lightrix: {
css: {
"--tw-prose-body": theme("colors.lightrix[700]"),
"--tw-prose-headings": theme("colors.lightrix[900]"),
"--tw-prose-lead": theme("colors.lightrix[600]"),
"--tw-prose-links": theme("colors.lightrix[900]"),
"--tw-prose-bold": theme("colors.lightrix[900]"),
"--tw-prose-counters": theme("colors.lightrix[500]"),
"--tw-prose-bullets": theme("colors.lightrix[300]"),
"--tw-prose-hr": theme("colors.lightrix[200]"),
"--tw-prose-quotes": theme("colors.lightrix[900]"),
"--tw-prose-quote-borders": theme(
"colors.lightrix[200]"
),
"--tw-prose-captions": theme("colors.lightrix[500]"),
"--tw-prose-code": theme("colors.lightrix[900]"),
"--tw-prose-pre-code": theme("colors.lightrix[200]"),
"--tw-prose-pre-bg": theme("colors.lightrix[800]"),
"--tw-prose-th-borders": theme("colors.lightrix[300]"),
"--tw-prose-td-borders": theme("colors.lightrix[200]"),
"--tw-prose-invert-body": theme("colors.lightrix[900]"),
"--tw-prose-invert-headings": theme("colors.white"),
"--tw-prose-invert-lead": theme("colors.lightrix[400]"),
"--tw-prose-invert-links": theme("colors.white"),
"--tw-prose-invert-bold": theme("colors.white"),
"--tw-prose-invert-counters": theme(
"colors.lightrix[400]"
),
"--tw-prose-invert-bullets": theme(
"colors.lightrix[600]"
),
"--tw-prose-invert-hr": theme("colors.lightrix[700]"),
"--tw-prose-invert-quotes": theme(
"colors.lightrix[100]"
),
"--tw-prose-invert-quote-borders": theme(
"colors.lightrix[700]"
),
"--tw-prose-invert-captions": theme(
"colors.lightrix[400]"
),
"--tw-prose-invert-code": theme("colors.white"),
"--tw-prose-invert-pre-code": theme(
"colors.lightrix[300]"
),
"--tw-prose-invert-pre-bg": "rgb(0 0 0 / 50%)",
"--tw-prose-invert-th-borders": theme(
"colors.lightrix[600]"
),
"--tw-prose-invert-td-borders": theme(
"colors.lightrix[700]"
),
},
},
}),
colors: {
lightrix: {
50: "#fff1f1",
100: "#ffdfdf",
200: "#ffc5c5",
300: "#ff9d9d",
400: "#ff6464",
500: "#ff2323",
600: "#ed1515",
700: "#c80d0d",
800: "#a50f0f",
900: "#881414",
},
},
ringWidth: {
5: "5px",
},
},
},
variants: {},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/aspect-ratio"),
],
};