-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
37 lines (37 loc) · 960 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
37 lines (37 loc) · 960 Bytes
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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: ['./src/renderer/index.html', './src/renderer/src/**/*.{ts,tsx}'],
theme: {
extend: {
colors: {
/** Текст на тёмном фоне (не использовать как bg-* — см. canvas) */
app: {
DEFAULT: '#e7e9ee',
muted: '#9aa3b2'
},
/** Фон основного UI (sidebar/main), не оверлея */
canvas: {
DEFAULT: '#0a0b0f'
},
surface: {
DEFAULT: '#12151c',
raised: '#181c26',
hover: '#1e2430'
},
accent: {
DEFAULT: '#5b8cff',
dim: '#3d5fb5'
}
},
boxShadow: {
glass: '0 12px 40px rgba(0,0,0,0.45)'
}
}
},
plugins: [
function ({ addVariant }) {
addVariant('can-hover', '@media (hover: hover) and (pointer: fine)')
}
]
}