-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
39 lines (36 loc) · 1.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AWC - Customize Components</title>
<style>
html {
padding: 20px;
background-color: var(--fill-color);
font-family: sans-serif;
}
body {
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px;
}
</style>
<script type="module" src="/src/init-ds.ts"></script>
<script type="module" src="/src/index.ts"></script>
</head>
<body>
<p>These components have the 'selected' state style overridden:</p>
<adaptive-checkbox>Check me</adaptive-checkbox>
<adaptive-switch>Switch me</adaptive-switch>
<adaptive-radio-group value="Apples">
<label slot="label">Fruits</label>
<adaptive-radio value="Apples">Apples</adaptive-radio>
<adaptive-radio value="Bananas">Bananas</adaptive-radio>
<adaptive-radio value="Blueberries">Blueberries</adaptive-radio>
</adaptive-radio-group>
<p>This checkbox has completely custom styles:</p>
<my-checkbox>Custom checkbox</my-checkbox>
</body>
</html>