diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b87141f..b58d8a9 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -21,7 +21,6 @@ "@fontsource-variable/fraunces": "^5.2.9", "@fontsource-variable/inter": "^5.2.5", "@fontsource-variable/jetbrains-mono": "^5.2.5", - "@fontsource/caveat": "^5.2.8", "@replit/codemirror-vim": "^6.3.0", "@tailwindcss/vite": "^4.2.2", "astro": "^6.0.8", @@ -1723,15 +1722,6 @@ "url": "https://github.com/sponsors/ayuhito" } }, - "node_modules/@fontsource/caveat": { - "version": "5.2.8", - "resolved": "https://registry.npmjs.org/@fontsource/caveat/-/caveat-5.2.8.tgz", - "integrity": "sha512-9fUUfFE2IQFKbx+xOcaeQxxmh8iJguEb8z+j1PeueO4UUx+XfT4pRm/B04ZDvFA794/iRxY/IibmP8ZKtIf4rw==", - "license": "OFL-1.1", - "funding": { - "url": "https://github.com/sponsors/ayuhito" - } - }, "node_modules/@img/colour": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index 67a88f3..46a023a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -25,7 +25,6 @@ "@fontsource-variable/fraunces": "^5.2.9", "@fontsource-variable/inter": "^5.2.5", "@fontsource-variable/jetbrains-mono": "^5.2.5", - "@fontsource/caveat": "^5.2.8", "@replit/codemirror-vim": "^6.3.0", "@tailwindcss/vite": "^4.2.2", "astro": "^6.0.8", diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro index 7f6d6e7..4ee9f72 100644 --- a/frontend/src/layouts/Layout.astro +++ b/frontend/src/layouts/Layout.astro @@ -1,10 +1,7 @@ --- import '../styles/global.css'; -import 'katex/dist/katex.min.css'; -import 'highlight.js/styles/atom-one-dark.css'; import '@fontsource-variable/fraunces'; import '@fontsource-variable/eb-garamond'; -import '@fontsource/caveat'; import '@fontsource-variable/jetbrains-mono'; import ThemeSwitcher from '../components/react/ThemeSwitcher'; import Search from '../components/react/Search'; diff --git a/frontend/src/pages/admin/editor.astro b/frontend/src/pages/admin/editor.astro index 8fbc8aa..5e4dfbc 100644 --- a/frontend/src/pages/admin/editor.astro +++ b/frontend/src/pages/admin/editor.astro @@ -1,4 +1,6 @@ --- +import 'katex/dist/katex.min.css'; +import 'highlight.js/styles/atom-one-dark.css'; import AdminLayout from '../../layouts/AdminLayout.astro'; import Editor from '../../components/react/admin/Editor'; diff --git a/frontend/src/pages/posts/[slug].astro b/frontend/src/pages/posts/[slug].astro index 7a79052..2069f2e 100644 --- a/frontend/src/pages/posts/[slug].astro +++ b/frontend/src/pages/posts/[slug].astro @@ -1,4 +1,6 @@ --- +import 'katex/dist/katex.min.css'; +import 'highlight.js/styles/atom-one-dark.css'; import Layout from '../../layouts/Layout.astro'; import DeletePostButton from '../../components/react/DeletePostButton'; import { renderMarkdown } from '../../lib/markdown';