Skip to content

Commit

Permalink
feat: custom css doc
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lebleu committed Mar 29, 2024
1 parent 719124b commit 1f08fa0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:root {
--vp-c-brand-1: #2cc1fb;
--vp-c-brand-2: #2cc1fb;
--vp-button-brand-bg: #2cc1fb;
}
2 changes: 2 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import DefaultTheme from 'vitepress/theme'
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client'

import './custom.css'

/** @type {import('vitepress').Theme} */
export default {
extends: DefaultTheme,
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
:::tabs
== jsdelivr
```html
<script type="module" src="https://cdn.jsdelivr.net/npm/[email protected].10/dist/js/kompletr.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/[email protected].11/dist/js/kompletr.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/kompletr.min.js" rel="stylesheet" type="text/css" />
```
== unpkg
```html
<script type="module" src="https://unpkg.com/[email protected].10/dist/js/kompletr.min.js"></script>
<script type="module" src="https://unpkg.com/[email protected].11/dist/js/kompletr.min.js"></script>
<link href="https://unpkg.com/[email protected]/dist/css/kompletr.min.js" rel="stylesheet" type="text/css" />
```
:::
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hero:
actions:
- theme: brand
text: Demo
link: https://kompletr.konfer.be
link: https://demo.kompletr.konfer.be
- theme: alt
text: Getting started
link: /guide
Expand Down

0 comments on commit 1f08fa0

Please sign in to comment.