-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (82 loc) · 2.73 KB
/
index.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!doctype html>
<html lang="en">
<head>
<script>
const htmlElement = document.documentElement;
const __FRANKEN__ = JSON.parse(
localStorage.getItem('__FRANKEN__') || '{}',
);
if (
__FRANKEN__.mode === 'dark' ||
(!__FRANKEN__.mode &&
window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
htmlElement.classList.add('dark');
} else {
htmlElement.classList.remove('dark');
}
htmlElement.classList.add(__FRANKEN__.theme || 'uk-theme-zinc');
htmlElement.classList.add(__FRANKEN__.radii || 'uk-radii-md');
htmlElement.classList.add(__FRANKEN__.shadows || 'uk-shadows-sm');
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Franken WC</title>
<link rel="stylesheet" href="tw.css" />
<script type="module" src="/src/js/core.ts"></script>
<script type="module" src="/src/js/components/rte.ts"></script>
<style>
:root {
--chart-1: 173 58% 39%;
--chart-2: 12 76% 61%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
}
.dark {
--chart-1: 220 70% 50%;
--chart-5: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-2: 340 75% 55%;
}
.uk-chart .apexcharts-tooltip {
border-radius: var(--uk-global-radius);
box-shadow: var(--uk-global-shadow);
font-size: var(--uk-global-font-size-s);
line-height: var(--uk-global-line-height-s);
color: hsl(var(--popover-foreground));
}
.uk-chart .apexcharts-tooltip.apexcharts-theme-light,
.uk-chart .apexcharts-tooltip.apexcharts-theme-dark {
border: 1px solid hsl(var(--border));
background: hsl(var(--popover));
}
.uk-chart .apexcharts-tooltip-title {
padding: 6px;
font-size: var(--uk-global-font-size-s);
line-height: var(--uk-global-line-height-s);
font-weight: 600;
}
.uk-chart
.apexcharts-tooltip.apexcharts-theme-light
.apexcharts-tooltip-title,
.uk-chart
.apexcharts-tooltip.apexcharts-theme-dark
.apexcharts-tooltip-title {
background: hsl(var(--popover));
border-bottom: 1px solid hsl(var(--border));
}
</style>
</head>
<body class="bg-background text-foreground">
<div class="uk-container">
<uk-keyval cls-custom="table: uk-table-sm uk-table-striped">
<select hidden>
<option data-key="CARBON" value="1234"></option>
<option data-key="FRAMES_URL" value="https://example.com"></option>
</select>
</uk-keyval>
</div>
</body>
</html>