forked from polkassembly/polkassembly
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
145 lines (144 loc) · 4.24 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Copyright 2019-2025 @polkassembly/polkassembly authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
/* eslint-disable sort-keys */
module.exports = {
important: true,
darkMode: 'class',
content: ['./pages/**/*.{js,ts,jsx,tsx}', './src/**/*.{jsx,tsx}'],
theme: {
extend: {
fontFamily: {
poppins: ['var(--font-poppins)']
},
colors: {
navBlue: 'var(--navBlue)',
// blue: 'var(--blue)',
sidebarBlue: 'var(--sidebarBlue)',
bodyBlue: 'var(--bodyBlue)',
lightBlue: 'var(--lightBlue)',
blue_primary: 'var(--blue_primary)',
blue_secondary: 'var(--blue_secondary)',
green_primary: 'var(--green_primary)',
green_secondary: 'var(--green_secondary)',
grey_app_background: 'var(--grey_app_background)',
grey_border: 'var(--grey_border)',
grey_light: 'var(--grey_light)',
grey_primary: 'var(--grey_primary)',
grey_secondary: 'var(--grey_secondary)',
icon_grey: 'var(--icon_grey)',
nav_black: 'var(--nav_black)',
pink_primary: 'var(--pink_primary)',
pink_primary_transparent: 'var(--pink_primary_transparent)',
pink_secondary: 'var(--pink_secondary)',
pink_light: 'var(--pink_light)',
red_light: 'var(--red_light)',
red_primary: 'var(--red_primary)',
red_secondary: 'var(--red_secondary)',
aye_green: 'var(--aye_green)',
aye_green_Dark: 'var(--aye_green_Dark)',
nay_red: 'var(--nay_red)',
nay_red_Dark: 'var(--nay_red_Dark)',
comment_bg: 'var(--comment_bg)',
separatorDark: 'var(--separatorDark)',
inactiveIconDark: 'var(--inactiveIconDark)',
modalOverlayDark: 'var(--modalOverlayDark)',
alertColorDark: 'var(--alertColorDark)',
disableStateDark: 'var(--disableStateDark)',
helperTextColorDark: 'var(--helperTextColorDark)',
borderColorDark: 'var(--borderColorDark)',
infoAlertBorderDark: 'var(--infoAlertBorderDark)',
infoAlertBgDark: 'var(--infoAlertBgDark)',
errorAlertBorderDark: 'var(--errorAlertBorderDark)',
errorAlertBgDark: 'var(--errorAlertBgDark)',
warningAlertBorderDark: 'var(--warningAlertBorderDark)',
warningAlertBgDark: 'var(--warningAlertBgDark)',
borderColor: 'var(--borderColor)',
disabledGreyColor: 'var(--greyColor)',
lightGreyTextColor: 'var(--lightGreyTextColor)',
lightWhite: 'var(--lightWhite)',
yellowColor: 'var(--yellowColor)',
darkOrangeColor: 'var(--darkOrangeColor)',
nayRedColor: 'var(--nayRedColor)',
nayDarkRedColor: 'var(--nayDarkRedColor)',
nayDarkBGRedColor: 'var(--nayDarkBGRedColor)',
ayeGreenColor: 'var(--ayeGreenColor)',
ayeDarkGreenColor: 'var(--ayeDarkGreenColor)',
ayeDarkBGGreenColor: 'var(--ayeDarkBGGreenColor)',
abstainBlueColor: 'var(--abstainBlueColor)',
abstainDarkBlueColor: 'var(--abstainBlueColor)',
textGreyColor: 'var(--textGreyColor)',
highlightBg: 'var(--highlightBg)',
blue: {
light: {
disabled: '#96A4B6',
helper: '#576D8B',
medium: '#485F7D',
high: '#243A57'
},
dark: {
helper: '#FF60B5',
medium: '#909090',
high: '#FFFFFF'
}
},
red: {
light: {
text: '#A8071A',
medium: '#E91C26',
high: '#CF1322'
},
dark: {
text: '#A8071A',
medium: '#E91C26',
high: '#CF1322'
}
},
icon: {
light: {
active: '#243A57',
inactive: '#485F7D',
disabled: '#96A4B6'
},
dark: {
active: '#FF0088',
inactive: '#9E9E9E'
}
},
section: {
light: {
container: '#D2D8E0',
background: '#F5F6F8',
overlay: '#0000004D'
},
dark: {
container: '#3B444F',
background: '#1C1D1F',
garyBackground: '#282A2D',
overlay: '#0D0D0D'
}
},
pink: {
dark: {
primary: '#33071E'
}
}
},
screens: {
xs: '320px'
},
borderRadius: {
xxl: '0.875rem'
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'rhs-card-gradient': 'linear-gradient(97deg, #04d9bb 0.25%, #06d7bb 0.26%, #6e49c9 112.25%)',
'rhs-indicator-gradient': 'linear-gradient(153deg, #08D4BB 16.67%, #6F47C9 100%)'
}
}
},
plugins: [],
corePlugins: {
preflight: false
}
};