forked from S7NC/Nostrdam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
97 lines (84 loc) · 2.72 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
let Primary = "#FFF"
let Secondary = "#FFF"
let Tertiary = "#000"
let PrimaryDark = "#000"
let SecondaryDark = "#000"
let TertiaryDark = "#FFF"
let HighlightPrimary = "#171e1e"
let HighlightSecondary = "#6e8434"
let HighdarkPrimary = "#FFF"
let HighdarkSecondary = "#000"
module.exports = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['"JetBrains Mono"','ui-sans-serif', 'system-ui' ],
},
colors: {
// IMPORTANT NOTICE: SETTING CUSTOM COLORS REQUIRES YOU TO REBUILD THE APP !
// Hex: colorname: '#hexcolor',
// Alias: colorname: colors.yellow,
// BACKGROUND COLORS
// Light
colorBgLight: Primary,
colorHeaderBgLight: Primary,
colorFooterBgLight: Primary,
// Dark
colorBgDark: PrimaryDark,
colorHeaderBgDark: PrimaryDark,
colorFooterBgDark: PrimaryDark,
// MENU POPUPS
// Light
colorHeaderBgMenuPopupLight: Secondary,
colorHeaderBgMenuPopupTextLight: Tertiary,
colorHeaderBgMenuPopupLinkLight: Primary,
colorHeaderBgMenuPopupLinkHoverLight: "#dbdbdb",
colorHeaderBgMenuPopupFooterLight: "#d2d5db",
// Dark
colorHeaderBgMenuPopupDark: SecondaryDark,
colorHeaderBgMenuPopupTextDark: TertiaryDark,
colorHeaderBgMenuPopupLinkDark: PrimaryDark,
colorHeaderBgMenuPopupLinkHoverDark: "#334155",
colorHeaderBgMenuPopupFooterDark: "#64748B",
// TEXT COLORS
// Light
colorTxtLight: Tertiary,
colorHeaderTxtLight: Tertiary,
colorFooterTxtLight: Tertiary,
// Dark
colorTxtDark: TertiaryDark,
colorHeaderTxtDark: TertiaryDark,
colorFooterTxtDark: TertiaryDark,
// SWITCH
// Light
colorSwitchBgLight: Primary,
colorSwitchLinkLight: Secondary,
colorSwitchLinkHoverLight: Secondary,
// Dark
colorSwitchBgDark: PrimaryDark,
colorSwitchLinkDark: Secondary,
colorSwitchLinkHoverDark: Secondary,
// BUTTON COLORS
colorBtnLight: HighlightPrimary,
colorBtnHoverLight: HighlightSecondary,
colorBtnDark: HighdarkPrimary,
colorBtnHoverDark: HighdarkSecondary,
// HIGHTLIGHT COLORS
// Light
colorHighLight: HighlightPrimary,
colorHoverHighLight: HighlightSecondary,
// Dark
colorHighDark: HighdarkPrimary,
colorHoverHighDark: HighdarkSecondary,
},
},
},
plugins: [
// require('@tailwindcss/line-clamp'),
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}