forked from SmartDropLabs/smartdrop-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.ts
More file actions
53 lines (50 loc) · 1.82 KB
/
Copy paththeme.ts
File metadata and controls
53 lines (50 loc) · 1.82 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
import { extendTheme, type ThemeConfig } from "@chakra-ui/react";
const config: ThemeConfig = {
initialColorMode: "dark",
useSystemColorMode: false,
};
const theme = extendTheme({
config,
fonts: {
heading: `'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif`,
body: `'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif`,
},
semanticTokens: {
colors: {
// Page-level backgrounds
"app.bg": { default: "#ffffff", _dark: "#0b0d0c" },
"app.surface": { default: "#f5f5f5", _dark: "#141716" },
"app.surfaceHover": { default: "#eeeeee", _dark: "#181c1b" },
"app.inputBg": { default: "#ffffff", _dark: "#121212" },
// Borders
"app.border": { default: "#d0d0d0", _dark: "#2a2f2d" },
"app.borderHover": { default: "#0f7a4e", _dark: "#4ae292" },
// Accent — #0f7a4e passes 4.5:1 on white; #4ae292 is the dark-mode green
"app.accent": { default: "#0f7a4e", _dark: "#4ae292" },
"app.accent2": { default: "#2563eb", _dark: "#6dd5ff" },
// Text
"app.text": { default: "#171717", _dark: "#ffffff" },
"app.muted": { default: "#6b7280", _dark: "#9a9a9a" },
"app.onAccent": { default: "#ffffff", _dark: "#000000" },
// Tooltip
"app.tooltipBg": { default: "#f0f0f0", _dark: "#222222" },
"app.tooltipFg": { default: "#171717", _dark: "#ffffff" },
},
},
styles: {
global: {
"html, body": {
scrollBehavior: "smooth",
},
},
},
shadows: {
card: "0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -8px rgba(0,0,0,0.35)",
cardHover: "0 1px 2px rgba(0,0,0,0.06), 0 16px 40px -12px rgba(74,226,146,0.25)",
glow: "0 0 0 1px rgba(74,226,146,0.4), 0 0 32px rgba(74,226,146,0.25)",
},
radii: {
card: "1.25rem",
},
});
export default theme;