-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (59 loc) · 2.9 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
<!doctype html>
<html lang="da">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes">
<title>SDFI Designsystem dokumentation</title>
<link rel="stylesheet" href="./assets/designsystem.css">
<link rel="stylesheet" href="./docs/docs.css">
<link rel="icon" href="./assets/logo-small.svg">
</head>
<body>
<header id="header" class="ds-header">
<div class="ds-container">
<ds-logo-title title="Designsystem" byline="Styrelsen for Dataforsyning og Infrastruktur"></ds-logo-title>
<h1>SDFI Designsystem v7.0.0</h1>
<p class="blockquote">Reference-implementationer af SDFIs designguide med HTML/CSS</p>
</div>
<nav class="ds-nav">
<a href="index.html">Introduktion</a>
<a href="docs/css.html">Basis</a>
<a href="docs/icons.html">Ikoner</a>
<a href="docs/components.html">UI-komponenter</a>
<a href="docs/logos.html">Logo</a>
<a href="docs/css-util.html">CSS classes</a>
<a href="https://github.com/SDFIdk/designsystem">Github</a>
</nav>
<ds-theme-toggle style="position: fixed; bottom: var(--space); right: var(--space); width: auto; z-index: 10;"></ds-theme-toggle>
</header>
<main class="ds-container">
<article>
<p>Dette er dokumentationen til, hvordan du bruger elementerne i SDFI Designsystem - en implementation af SDFIs design guide.</p>
<p><a href="https://www.figma.com/design/JpGgiURXch6SQDEXHCHhFN/2024-Dataforsyningen-Designsystem">Den komplette designguide kan findes på Figma.</a> (Kræver SDFI login.)</p>
<p><a href="https://github.com/SDFIdk/designsystem">Koden og tilhørende dokumentation findes på Github.</a></p>
<hr>
<h2>Sider med eksempler</h2>
<ul>
<li><a href="./docs/examples/logo.html">Logo</a></li>
<li><a href="./docs/examples/typography.html">Typografi</a></li>
<li><a href="./docs/examples/color.html">Farve</a></li>
<li><a href="./docs/examples/buttons.html">Knapper, links og formularelementer</a></li>
<li><a href="./docs/examples/icons.html">Ikon</a></li>
<li><a href="./docs/examples/grid.html">Grid og layout</a></li>
</ul>
</article>
</main>
<footer class="ds-footer">
<div class="ds-container">
<ds-logo-title class="transparent" title="Styrelsen for Dataforsyning og Infrastruktur"></ds-logo-title>
<hr>
<p>© 2024 Styrelsen for Dataforsyning og Infrastruktur - <a href="https://github.com/SDFIdk/designsystem">Find os på Github</a></p>
</div>
</footer>
<script type="module">
import { DSLogoTitle, ThemeToggle } from './assets/designsystem.js'
customElements.define('ds-logo-title', DSLogoTitle)
customElements.define('ds-theme-toggle', ThemeToggle)
</script>
</body>
</html>