forked from Eleven-Trading/TradeNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme-preview.html
More file actions
75 lines (72 loc) · 2.74 KB
/
theme-preview.html
File metadata and controls
75 lines (72 loc) · 2.74 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
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TradeNote Theme Preview</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@latest/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./src/assets/style-dark.css">
<style>
body { padding: 2rem; }
.preview-wrap { max-width: 1080px; margin: 0 auto; }
.preview-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mini-chart {
height: 140px;
display: flex;
align-items: flex-end;
gap: 10px;
padding: 12px;
border-radius: 12px;
background: rgba(10, 15, 28, 0.65);
border: 1px solid rgba(95, 128, 176, 0.3);
}
.mini-chart span {
display: block;
width: 22px;
border-radius: 8px 8px 4px 4px;
background: var(--tn-chart-primary);
}
.mini-chart span:nth-child(2) { height: 45%; background: var(--tn-chart-accent); }
.mini-chart span:nth-child(3) { height: 75%; background: var(--tn-chart-secondary); }
.mini-chart span:nth-child(4) { height: 30%; background: var(--tn-chart-primary); }
.mini-chart span:nth-child(5) { height: 62%; background: var(--tn-chart-accent); }
</style>
</head>
<body>
<div class="preview-wrap">
<h1 class="mb-3">Theme Preview</h1>
<p class="dashInfoTitle mb-4">Use this page for quick visual checks after editing <code>src/assets/style-dark.css</code>.</p>
<div class="preview-grid">
<div class="dailyCard">
<h5>Buttons</h5>
<div class="d-flex gap-2 mt-3 flex-wrap">
<button class="btn blueBtn btn-sm">Primary</button>
<button class="btn btn-primary btn-sm">CTA</button>
<button class="btn btn-outline-primary btn-sm">Outline</button>
</div>
</div>
<div class="dailyCard">
<h5>Chart Palette</h5>
<div class="mini-chart mt-3">
<span style="height:55%"></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="dailyCard">
<h5>Glass Card</h5>
<p class="dashInfoTitle mb-2">Web3 / Starfield / Neon Mesh mood check.</p>
<input class="form-control mb-2" placeholder="Input style">
<select class="form-select">
<option>Dropdown style</option>
</select>
</div>
</div>
</div>
</body>
</html>