-
Notifications
You must be signed in to change notification settings - Fork 41
/
tailwind.config.js
65 lines (64 loc) · 1.5 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
const { TimeNames } = require("./types");
/** @type {import("tailwindcss").Config} */
module.exports = {
darkMode: "class",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
[TimeNames.Imsak]: {
light: "#daf2fe",
dark: "#192b3b",
},
[TimeNames.Gunes]: {
light: "#feead6",
dark: "#40221a",
},
[TimeNames.Ogle]: {
light: "#fef6cc",
dark: "#3a281a",
},
[TimeNames.Ikindi]: {
light: "#ffedd5",
dark: "#421a25",
},
[TimeNames.Aksam]: {
light: "#e0edff",
dark: "#1b2448",
},
[TimeNames.Yatsi]: {
light: "#e4e8fe",
dark: "#212044",
},
},
},
},
safelist: [
{
pattern: /bg-(imsak|gunes|ogle|ikindi|aksam|yatsi)-(light|dark)/,
},
{
pattern:
/bg-(sky|orange|yellow|rose|blue|indigo)-(50|100|200|300|400|500|600|700|800|900)/,
variants: ["dark"],
},
{
pattern:
/text-(sky|orange|yellow|rose|blue|indigo)-(50|100|200|300|400|500|600|700|800|900)/,
variants: ["dark"],
},
{
pattern:
/bg-opacity-(0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100)/,
variants: ["dark"],
},
{
pattern:
/opacity-(0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100)/,
variants: ["dark"],
},
],
};