Themes

Introduction

Pass theme option to sveltepress to use a theme

Read Vite plugin options and Default theme options for more details

Default theme

Install

npm install --save @sveltepress/theme-default
sh

Add in your vite config

vite.config.(js|ts)
+
+
import {  } from '@sveltepress/theme-default' 
import {  } from '@sveltepress/vite'

import {  } from 'vite'

const  = ({
  : [
    ({
      : (/** theme options */) 
    })
  ],
})

export default 
ts

Get more info about default theme in Default theme reference

Last update at: 2024/11/25 05:47:03