mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
fix: markdown css missing
This commit is contained in:
@ -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',
|
||||||
|
@ -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(
|
||||||
|
@ -66,7 +66,12 @@ let UseColorModeReturn { mode, set_mode, .. } = use_color_mode_with_options(
|
|||||||
provide_context((mode, set_mode));
|
provide_context((mode, set_mode));
|
||||||
```
|
```
|
||||||
|
|
||||||

|
<Image
|
||||||
|
src={'/images/p/leptos-dark-mode/dark-mode.png'}
|
||||||
|
alt="local storage key"
|
||||||
|
width="735"
|
||||||
|
height="90"
|
||||||
|
/>
|
||||||
|
|
||||||
## Library
|
## Library
|
||||||
|
|
||||||
|
BIN
public/images/p/leptos-dark-mode/dark-mode.png
Normal file
BIN
public/images/p/leptos-dark-mode/dark-mode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
@ -1,4 +1,5 @@
|
|||||||
@import 'tailwindcss';
|
@import 'tailwindcss';
|
||||||
|
@import './rua.css';
|
||||||
|
|
||||||
@custom-variant dark (&:is(.mocha *));
|
@custom-variant dark (&:is(.mocha *));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user