-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (52 loc) · 1.61 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>node-package demos</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://nutmeg.tools/favicon.png">
<script src="./node_modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js"></script>
<!-- Use `npm start` to run a development server. -->
<style>
body {
background-color: #fff;
padding: 24px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
node-package {
margin: 8px;
min-width: 300px;
max-width: 500px;
}
node-package.blue {
--node-package-background-color: #03A9F4;
--node-package-color: #fff;
--node-package-link-color: #dadce0;
}
node-package.red {
--node-package-background-color: #CB3837;
--node-package-color: #fff;
--node-package-link-color: #dadce0;
}
node-package.card {
border-radius: 2px;
box-shadow: 0 3px 4px 1px rgba(0, 0, 0, .08), 0 1px 1px 1px rgba(0, 0, 0, .05);
border-width: 0;
}
</style>
</head>
<body>
<node-package name="lodash"></node-package>
<node-package id="dynamic" class="blue"></node-package>
<node-package name="@nutmeg/cli" class="red" global></node-package>
<node-package name="lite-server" class="card"></node-package>
<node-package name="chalk"></node-package>
<node-package name="nullnullnull"></node-package>
<script>
document.querySelector('#dynamic').name = 'bluebird';
</script>
<!-- In development `node-package.bundled.js` will automatically be loaded. -->
</body>
</html>