create new theme

This commit is contained in:
2025-08-28 19:57:21 +05:00
parent 71522ef88d
commit 10499b1d01
16 changed files with 1579 additions and 1731 deletions

3
styles/index.ts Normal file
View File

@ -0,0 +1,3 @@
// inherit from base layouts, remove it to get full customizations
import '@slidev/client/styles/layouts-base.css'
import './layout.css'

24
styles/layout.css Normal file
View File

@ -0,0 +1,24 @@
:root {
/* default theme color */
/* can be overrided by uses `themeConfig` option */
--slidev-theme-primary: #5d8392;
}
.slidev-layout.cover,
.slidev-layout.intro {
@apply h-full grid;
h1 {
@apply text-6xl leading-20;
}
h1 + p {
@apply -mt-2 opacity-50 mb-4;
}
p + h2,
ul + h2,
table + h2 {
@apply mt-10;
}
}