-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (56 loc) · 2.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description"
content="A design system built with just HTML, CSS, and JavaScript. No build tools, no frameworks." />
<meta property="og:site_name" content="Web Components Design System" />
<meta property="og:url" content="https://web-components-design-system.mark.ie" />
<meta property="og:title" content="Web Components Design System" />
<meta property="og:description"
content="A design system built with just HTML, CSS, and JavaScript. No build tools, no frameworks." />
<meta property="og:image" content="https://web-components-design-system.mark.ie/screenshot.jpg" />
<meta property="og:image:url" content="https://web-components-design-system.mark.ie/screenshot.jpg" />
<meta property="og:image:secure_url" content="https://web-components-design-system.mark.ie/screenshot.jpg" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@markconroy" />
<meta name="twitter:description"
content="A design system built with just HTML, CSS, and JavaScript. No build tools, no frameworks." />
<meta name="twitter:title" content="Web Components Design System" />
<meta name="twitter:creator" content="twitter.com/markconroy" />
<meta name="twitter:url" content="https://web-components-design-system.mark.ie" />
<meta name="twitter:image" content="https://web-components-design-system.mark.ie/screenshot.jpg" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Web Components Design System</title>
</head>
<body>
<mc-header></mc-header>
<mc-container padding="inline">
<mc-container size="small" alignment="left">
<h1>Web Components Design System</h1>
<h2>Welcome</h2>
<p>Welcome to our <strong>Design System</strong>.</p>
<p>This design system was built with nothing but HTML, CSS, and JavaScript. There is no Node/NPM/Yarn/etc
involved.
There are no bundlers like Webpack or Vite. It doesn't rely on a framework or design system kit such as
StoryBook.
</p>
<p>Whilst there's nothing wrong with using any of the above, native web APIs are now so powerful there's a huge
amount we can build without their use.</p>
<p>Why not use a tooling system? Simply, without one, there is so much less to maintain, and nothing to keep
updated.</p>
</div>
<h2>General Approach</h2>
<p>The general approach to this is:</p>
<ul>
<li>Create design tokens using CSS variables (custom properties)</li>
<li>Create Web Components for anything that is re-usable - header, footer, containers, grids, etc.</li>
<li>Retire to the sun!</li>
</ul>
</mc-container>
</mc-container>
<mc-footer></mc-footer>
<script type="module" src="./script.js"></script>
</body>
</html>