-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
64 lines (62 loc) · 1.71 KB
/
Copy pathtailwind.config.js
File metadata and controls
64 lines (62 loc) · 1.71 KB
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
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./popup.html',
'./src/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
surface: {
10: '#0c0f1a', // darkest page bg
15: '#111624', // sidebar bg
20: '#161e30', // toolbar / panel bg
30: '#1f293f', // border
40: '#28345a', // hover border / divider
50: '#0f1520', // preview canvas bg (dark navy)
60: '#243060', // hover bg elements
70: '#556080', // muted / secondary text
80: '#07080e', // device bezel (near black)
90: '#8899c0', // subtle text
100: '#dce6ff', // PRIMARY TEXT (near white)
200: '#ffffff', // pure white
},
accent: {
300: '#38bdf8',
400: '#0ea5e9',
500: '#0284c7',
600: '#0369a1',
},
success: '#22d3a0',
warning: '#fbbf24',
danger: '#f43f5e',
},
fontFamily: {
mono: ['JetBrains Mono', 'Fira Code', 'ui-monospace', 'monospace'],
sans: ['Inter', 'system-ui', 'sans-serif'],
},
borderRadius: {
DEFAULT: '8px',
sm: '4px',
md: '8px',
lg: '12px',
xl: '18px',
'2xl': '24px',
full:'9999px',
},
spacing: {
'status-bar': '28px',
toolbar: '52px',
sidebar: '220px',
},
boxShadow: {
device: '0 25px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4)',
panel: '4px 0 20px rgba(0,0,0,0.3)',
},
},
},
plugins: [],
};