Skip to content

Commit

Permalink
Merge pull request #139 from tjheffner/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
tjheffner authored Mar 19, 2024
2 parents 9f768fc + b75b150 commit 37c0eab
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 18 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@resvg/resvg-js": "^2.4.1",
"@svelte-put/toc": "^4.0.0",
"@svelte-put/toc": "^5.0.1",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/adapter-netlify": "^4.1.0",
"@sveltejs/kit": "2.5.4",
Expand Down
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
%sveltekit.head%
</head>
<body
class="bg-orange-100 text-white antialiased dark:bg-gray-900 dark:text-black"
class="bg-orange-100 text-white antialiased dark:bg-slate-900 dark:text-black"
>
<div id="svelte">%sveltekit.body%</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/Toc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</script>

<!-- Table of contents thing -->
{#if Object.values($tocStore.items).length && Object.values($tocStore.items).length > 1}
{#if $tocStore.items.size}
<section
class="sticky max-w-[12em] top-10 h-0 z-10"
>
Expand All @@ -27,7 +27,7 @@
<!-- adjust margins to slide in/out, works with sticky -->
<!-- need to adjust left margin to slide text, right margin to slide bg -->
<ul class="toc-list max-h-fit {isOpen ? '-ml-6 mr-0 lg:ml-2' : '-ml-96 mr-96'}">
{#each Object.values($tocStore.items) as { id, text, element }}
{#each $tocStore.items.values() as { id, text, element }}
<li>
<a
class="ml-2 block text-sm"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(main)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
in:fade={{ duration: 150, delay: 150 }}
out:fade={{ duration: 150 }}
id="maincontent"
class="max-w-7xl mx-auto flex flex-col justify-center bg-orange-100 px-4 sm:px-8 dark:bg-slate-900"
class="max-w-7xl mx-auto flex flex-col justify-center bg-orange-100 prose-slate px-4 sm:px-8 dark:bg-slate-900 dark:prose-invert"
>
<slot />

Expand Down
7 changes: 1 addition & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"allowJs": true,
"checkJs": true,
"paths": {
"$lib/*": ["src/lib/*"],
"$lib": ["src/lib"]
}
"checkJs": true
},
"include": [
"src/**/*.d.ts",
Expand Down

0 comments on commit 37c0eab

Please sign in to comment.