Skip to content

Commit bb1b996

Browse files
bluwyCopilot
andcommitted
Update templates to match latest design and setup
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 66bfa9c commit bb1b996

333 files changed

Lines changed: 12315 additions & 3176 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

template-deno-lit-ts/deno.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"build": "deno run -A --node-modules-dir npm:vite build"
55
},
66
"compilerOptions": {
7-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
7+
"lib": ["ES2023", "DOM", "DOM.Iterable"],
88
"experimentalDecorators": true
99
},
1010
"imports": {
11-
"@deno/vite-plugin": "npm:@deno/vite-plugin@^1.0.5",
11+
"@deno/vite-plugin": "npm:@deno/vite-plugin@^2.0.2",
1212
"lit": "npm:lit@^3.2.1",
1313
"vite": "npm:vite@^8.0.3"
1414
}

template-deno-lit-ts/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + Lit</title>
7+
<title>Vite + Lit + TS</title>
88
<link rel="stylesheet" href="./src/index.css" />
99
<script type="module" src="/src/my-element.ts"></script>
1010
</head>
1111
<body>
1212
<my-element>
13-
<h1>Vite + Lit</h1>
13+
<h1>Get started</h1>
1414
</my-element>
1515
</body>
1616
</html>
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 24 additions & 0 deletions
Loading
43.9 KB
Loading

template-deno-lit-ts/src/index.css

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,24 @@
11
:root {
2-
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
3-
line-height: 1.5;
4-
font-weight: 400;
5-
62
color-scheme: light dark;
7-
color: rgba(255, 255, 255, 0.87);
8-
background-color: #242424;
9-
10-
font-synthesis: none;
11-
text-rendering: optimizeLegibility;
12-
-webkit-font-smoothing: antialiased;
13-
-moz-osx-font-smoothing: grayscale;
14-
-webkit-text-size-adjust: 100%;
3+
background-color: #ffffff;
154
}
165

17-
a {
18-
font-weight: 500;
19-
color: #646cff;
20-
text-decoration: inherit;
21-
}
22-
a:hover {
23-
color: #535bf2;
6+
@media (prefers-color-scheme: dark) {
7+
:root {
8+
background-color: #16171d;
9+
}
2410
}
2511

2612
body {
2713
margin: 0;
2814
display: flex;
29-
place-items: center;
15+
justify-content: center;
16+
align-items: center;
3017
min-width: 320px;
31-
min-height: 100vh;
32-
}
33-
34-
@media (prefers-color-scheme: light) {
35-
:root {
36-
color: #213547;
37-
background-color: #ffffff;
38-
}
18+
min-height: 100svh;
19+
font-synthesis: none;
20+
text-rendering: optimizeLegibility;
21+
-webkit-font-smoothing: antialiased;
22+
-moz-osx-font-smoothing: grayscale;
23+
overflow-x: hidden;
3924
}

0 commit comments

Comments
 (0)