Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"@eslint/js": "^9.32.0",
"@fontsource/roboto": "^5.2.6",
"@fontsource/spectral": "^5.2.6",
"@lucide/svelte": "^0.536.0",
"@maiertech/sveltekit-helpers": "^0.29.0",
"@lucide/svelte": "^0.537.0",
"@maiertech/sveltekit-helpers": "^0.30.1",
"@playwright/test": "^1.54.2",
"@stackblitz/sdk": "^1.11.0",
"@sveltejs/adapter-vercel": "^5.8.1",
"@sveltejs/kit": "^2.27.0",
"@sveltejs/kit": "^2.27.2",
"@sveltejs/vite-plugin-svelte": "^6.1.0",
"@tailwindcss/vite": "^4.1.11",
"@types/node": "^24.2.0",
Expand All @@ -39,15 +39,15 @@
"prettier-plugin-tailwindcss": "^0.6.14",
"shiki": "^3.9.2",
"simple-icons": "^15.9.0",
"svelte": "^5.37.3",
"svelte": "^5.38.0",
"svelte-check": "^4.3.1",
"sveltekit-embed": "^0.0.22",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.11",
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.0",
"vite": "^7.0.6",
"zod": "^4.0.14"
"vite": "^7.1.0",
"zod": "^4.0.15"
},
"pnpm": {
"onlyBuiltDependencies": [
Expand Down
173 changes: 90 additions & 83 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,27 @@
@source '../node_modules/@maiertech/sveltekit-helpers/**/*.{js,svelte}';

@theme {
/* No color defintions. Just trigger utility class generation. */
--color-ink: var(--color-ink);
--color-ink-muted: var(--color-ink-muted);
--color-surface: var(--color-surface);
--color-surface-muted: var(--color-surface-muted);
--color-surface-intense: var(--color-surface-intense);
--color-primary: var(--color-primary);
--color-primary-muted: var(--color-primary-muted);
--color-secondary: var(--color-secondary);
--color-secondary-muted: var(--color-secondary-muted);
--color-green: var(--color-green);
--color-red: var(--color-red);

--font-*: initial;
--font-sans:
Roboto, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
--font-serif: Spectral, ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;

--color-ink: var(--ink);
--color-surface: var(--surface);
--color-primary: var(--primary);
--color-secondary: var(--secondary);
--color-accent: var(--accent);
}

@layer base {
:root {
@apply bg-surface text-pretty text-ink;
}

a {
@apply underline;
}
Expand Down
7 changes: 6 additions & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<body
data-theme="maiertech"
data-mode="system"
data-sveltekit-preload-data="hover"
class="bg-surface text-ink"
>
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
2 changes: 1 addition & 1 deletion src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div
data-component="Footer"
class="flex flex-col items-center gap-6 bg-secondary py-[clamp(1.5rem,3vw,2rem)]"
class="flex flex-col items-center gap-6 bg-surface-muted py-[clamp(1.5rem,3vw,2rem)]"
>
<nav aria-label="Footer" class="flex flex-wrap justify-center gap-[clamp(1rem,2vw,1.5rem)]">
{#each navLinks as link (link.title)}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { Container, PageLayout, SeoBasic, SeoOgImage } from '@maiertech/sveltekit-helpers';
import type { LayoutProps } from './$types';

import '@maiertech/sveltekit-helpers/themes/default.css'; // First import the theme, then the styles.
import '@maiertech/sveltekit-helpers/themes/maiertech.css';
import '../app.css';

let { data, children }: LayoutProps = $props();
Expand Down
14 changes: 1 addition & 13 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { Posts } from '$lib/components';
import { Button, NotePreview } from '@maiertech/sveltekit-helpers';
import { NotePreview } from '@maiertech/sveltekit-helpers';
import type { PageProps } from './$types';

let { data }: PageProps = $props();
Expand All @@ -19,15 +19,3 @@
<section class="mb-12">
<Posts posts={data.posts} />
</section>

<section class="grid grid-cols-1 gap-[clamp(1.5rem,3vw,2rem)] md:grid-cols-2 lg:grid-cols-3">
{#each data.topics as topic (topic.label)}
<article
class="flex flex-col items-start gap-[clamp(1.5rem,3vw,2rem)] rounded-md bg-secondary p-[clamp(1rem,2vw,1.5rem)]"
>
<h2 class="text-2xl font-semibold">{topic.label}</h2>
<p class="flex-1 leading-6">{topic.description}</p>
<Button href={topic.path}>Check out posts</Button>
</article>
{/each}
</section>