fix: markdown css missing

This commit is contained in:
xfy
2025-05-19 15:31:18 +08:00
parent dd8b20b015
commit 6b97a52472
5 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import RUAThemeProvider from 'components/pages/theme-provider';
import fonts from 'lib/fonts'; import fonts from 'lib/fonts';
import { Metadata } from 'next'; import { Metadata } from 'next';
import 'styles/globals.css'; import 'styles/globals.css';
import 'styles/rua.css';
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'RUA', title: 'RUA',

View File

@ -11,6 +11,7 @@ import rehypeHighlight from 'rehype-highlight';
import rehypeSlug from 'rehype-slug'; import rehypeSlug from 'rehype-slug';
import remarkGfm from 'remark-gfm'; import remarkGfm from 'remark-gfm';
import { Post } from 'types'; import { Post } from 'types';
import 'styles/rua.css';
const PostToc = dynamic(() => import('components/post/post-toc')); const PostToc = dynamic(() => import('components/post/post-toc'));
const PostCommnetLine = dynamic( const PostCommnetLine = dynamic(

View File

@ -66,7 +66,12 @@ let UseColorModeReturn { mode, set_mode, .. } = use_color_mode_with_options(
provide_context((mode, set_mode)); provide_context((mode, set_mode));
``` ```
![](Pasted%20image%2020241011164933.png) <Image
src={'/images/p/leptos-dark-mode/dark-mode.png'}
alt="local storage key"
width="735"
height="90"
/>
## Library ## Library

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -1,4 +1,5 @@
@import 'tailwindcss'; @import 'tailwindcss';
@import './rua.css';
@custom-variant dark (&:is(.mocha *)); @custom-variant dark (&:is(.mocha *));