Skip to content

Commit cc76adf

Browse files
committed
feat: add catppuccin theme
1 parent 340a8c3 commit cc76adf

12 files changed

Lines changed: 447 additions & 1925 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ jobs:
3232
project: "andromeda"
3333
entrypoint: "main.ts"
3434
root: "."
35-
36-

components/Footer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
export default function Footer() {
22
return (
3-
<footer class="py-12 px-4 border-t border-gray-200 bg-white">
3+
<footer class="py-12 px-4 border-t border-surface0 bg-base">
44
<div class="container mx-auto text-center">
55
<div class="flex items-center justify-center space-x-3 mb-4">
66
<img src="/logo.svg" alt="Andromeda" class="w-6 h-6" />
7-
<span class="font-semibold text-gray-900">Andromeda</span>
7+
<span class="font-semibold text-text">Andromeda</span>
88
</div>
9-
<p class="text-gray-600 mb-4">
9+
<p class="text-subtext1 mb-4">
1010
The simplest JavaScript and TypeScript runtime
1111
</p>
1212
<div class="flex justify-center space-x-6">
1313
<a
1414
href="https://github.com/tryandromeda/andromeda"
15-
class="text-gray-600 hover:text-gray-900 transition-colors"
15+
class="text-subtext1 hover:text-text transition-colors"
1616
>
1717
GitHub
1818
</a>
1919
<a
2020
href="/docs"
21-
class="text-gray-600 hover:text-gray-900 transition-colors"
21+
class="text-subtext1 hover:text-text transition-colors"
2222
>
2323
Documentation
2424
</a>
2525
<a
2626
href="https://discord.gg/w8JkSeNcEe"
27-
class="text-gray-600 hover:text-gray-900 transition-colors"
27+
class="text-subtext1 hover:text-text transition-colors"
2828
>
2929
Community
3030
</a>

components/NavBar.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,28 @@ import { GithubIcon } from "lucide-preact";
33
export default function NavBar() {
44
return (
55
<nav class="fixed top-4 left-1/2 transform -translate-x-1/2 z-50 w-full max-w-4xl px-4">
6-
<div class="bg-white/60 backdrop-blur-xl border border-gray-300 rounded-2xl shadow-lg px-8 py-3">
6+
<div class="bg-base/60 backdrop-blur-xl border border-surface1 rounded-2xl shadow-lg px-8 py-3">
77
<div class="flex items-center justify-between">
88
<a href="/" class="flex items-center space-x-3">
99
<img src="/logo.svg" alt="Andromeda" class="w-8 h-8" />
10-
<span class="text-xl font-bold text-gray-900">Andromeda</span>
10+
<span class="text-xl font-bold text-text">Andromeda</span>
1111
</a>
12-
1312
<div class="hidden sm:flex items-center space-x-8">
1413
<a
1514
href="/#features"
16-
class="text-gray-700 hover:text-gray-900 transition-colors font-medium"
15+
class="text-subtext1 hover:text-text transition-colors font-medium"
1716
>
1817
Features
1918
</a>
2019
<a
2120
href="/docs"
22-
class="text-gray-700 hover:text-gray-900 transition-colors font-medium"
21+
class="text-subtext1 hover:text-text transition-colors font-medium"
2322
>
2423
Documentation
2524
</a>
2625
<a
2726
href="https://github.com/tryandromeda/andromeda"
28-
class="bg-gray-100 hover:bg-gray-200 text-gray-900 rounded-lg p-2 transition-all duration-200 border border-gray-300"
27+
class="bg-surface0 hover:bg-surface1 text-text rounded-lg p-2 transition-all duration-200 border border-surface2"
2928
>
3029
<GithubIcon class="w-5 h-5" />
3130
</a>

deno.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919
],
2020
"imports": {
2121
"@deno/gfm": "jsr:@deno/gfm@^0.11.0",
22-
"@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^0.0.1-alpha.7",
22+
"@pakornv/fresh-plugin-tailwindcss": "jsr:@pakornv/fresh-plugin-tailwindcss@2.0.0-alpha.1",
2323
"@preact/signals": "npm:@preact/signals@^2.0.4",
2424
"fresh": "jsr:@fresh/core@^2.0.0-alpha.34",
2525
"lucide-preact": "npm:lucide-preact@^0.513.0",
2626
"preact": "npm:preact@^10.26.6",
27-
"tailwindcss": "npm:tailwindcss@^3.4.3"
27+
"tailwindcss": "npm:tailwindcss@^4.1.7"
2828
},
29+
"nodeModulesDir": "auto",
2930
"compilerOptions": {
3031
"lib": [
3132
"dom",

0 commit comments

Comments
 (0)