Skip to content

Commit 3efe61b

Browse files
committed
Update ts styles
1 parent 84b81f0 commit 3efe61b

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

examples/styles.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
/* Custom theme variables matching the presentation deck */
88
:root {
9-
--primary: #e2e8f0; /* Light gray for text on dark background */
10-
--secondary: #60a5fa; /* Bright blue for headings */
11-
--tertiary: #1a202c; /* Dark background */
12-
--quaternary: #60a5fa; /* Blue for links */
13-
--quinary: #4a5568; /* Medium gray for accents */
14-
--accent: #38b2ac; /* Teal accent */
15-
--success: #48bb78; /* Green for success states */
16-
--warning: #ed8936; /* Orange for warnings */
17-
--error: #f56565; /* Red for errors */
9+
--primary: #fff; /* White for text (theme.colors.primary) */
10+
--secondary: #78eec5; /* Green 50 for headings (theme.colors.secondary) */
11+
--tertiary: #0c3d60; /* Midnight 80 for background (theme.colors.tertiary) */
12+
--quaternary: #b9d3ff; /* Blue 30 for links (theme.colors.quaternary) */
13+
--quinary: #eaebed; /* Grey 10 for accents (theme.colors.quinary) */
14+
--accent: #00e5a4; /* Green base for accents */
15+
--success: #00e5a4; /* Green base for success states */
16+
--warning: #8950ff; /* Purple base for warnings */
17+
--error: #166bff; /* Blue base for errors */
1818
}
1919

2020
/* Base styles */

examples/typescript/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
<link rel="stylesheet" href="../styles.css" />
1212
<title>Ex: TypeScript</title>
1313
</head>
14-
<body>
15-
<div id="root" style="padding: 2rem"></div>
14+
<body style="padding: 2rem">
15+
<h1>Users</h1>
16+
<div id="root"></div>
1617

1718
<script
1819
async
@@ -22,8 +23,7 @@
2223
import { users } from "./src/users.ts";
2324

2425
const root = document.getElementById("root") as HTMLElement;
25-
const userList = users.map((u) => `<p>${u.name} (${u.age})</p>`).join("");
26-
root.innerHTML = `<h1>TypeScript Users</h1>${userList}`;
26+
root.innerHTML = users.map((u) => `<p>${u.name} (${u.age})</p>`).join("");
2727
</script>
2828
</body>
2929
</html>

0 commit comments

Comments
 (0)