Skip to content

Commit 2fc3be2

Browse files
committed
ux refactor
1 parent ed1ac6f commit 2fc3be2

26 files changed

Lines changed: 1049 additions & 437 deletions

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"bitcoinjs-lib": "^7.0.1",
1818
"buffer": "^6.0.3",
1919
"ecpair": "^3.0.0",
20+
"lucide-react": "^0.564.0",
2021
"motion": "^12.33.0",
2122
"next": "16.1.6",
2223
"qrcode.react": "^4.2.0",

pnpm-lock.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/globals.css

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
:root {
44
--background: #0a0a0a;
55
--foreground: #ededed;
6-
--muted: #71717a;
6+
--muted: #787880;
77
--card-bg: #18181b;
8-
--card-border: #27272a;
8+
--card-border: #333338;
99
--surface-inset: #111113;
10+
--surface-elevated: #1c1c1f;
1011
--bitcoin: #f7931a;
1112
--bitcoin-hover: #e8850f;
12-
--success: #22c55e;
13+
--success: #28d065;
1314
--warning: #eab308;
1415
--danger: #ef4444;
1516
--info: #3b82f6;
@@ -22,6 +23,7 @@
2223
--color-card-bg: var(--card-bg);
2324
--color-card-border: var(--card-border);
2425
--color-surface-inset: var(--surface-inset);
26+
--color-surface-elevated: var(--surface-elevated);
2527
--color-bitcoin: var(--bitcoin);
2628
--color-bitcoin-hover: var(--bitcoin-hover);
2729
--color-success: var(--success);
@@ -42,3 +44,26 @@ body {
4244
background: var(--bitcoin);
4345
color: #000;
4446
}
47+
48+
button:focus-visible,
49+
a:focus-visible,
50+
[tabindex]:focus-visible {
51+
outline: 2px solid var(--bitcoin);
52+
outline-offset: 2px;
53+
}
54+
55+
input:focus-visible,
56+
textarea:focus-visible {
57+
outline: 2px solid var(--bitcoin);
58+
outline-offset: 2px;
59+
box-shadow: 0 0 0 4px rgba(247, 147, 26, 0.1);
60+
}
61+
62+
select:focus-visible {
63+
outline: 3px solid var(--bitcoin);
64+
outline-offset: 2px;
65+
}
66+
67+
.tabular-nums {
68+
font-variant-numeric: tabular-nums;
69+
}

0 commit comments

Comments
 (0)