fix: updated vitepress

This commit is contained in:
arthurfiorette 2023-09-03 16:55:43 -03:00
parent 60f161a480
commit 3be8029ebc
No known key found for this signature in database
GPG Key ID: 9D190CD53C53C555
2 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,8 @@
import fs from 'fs';
import {readFileSync} from 'fs';
import { defineConfig } from 'vitepress';
import {resolve} from 'path'
const read = (relative) => fs.readFileSync(require.resolve(relative), 'utf-8');
const read = (relative) => readFileSync(resolve(process.cwd(), 'docs', '.vitepress', relative), 'utf-8');
const isVersion = process.argv.indexOf('--base');
const VERSION = isVersion > -1 ? process.argv[isVersion + 1].slice(1, -1) : 'Latest';

View File

@ -1,10 +1,14 @@
:root {
--vp-c-brand: hsl(35, 78%, 53%);
--vp-c-brand-1: hsl(35, 78%, 53%);
--vp-button-brand-bg: hsl(35, 78%, 53%);
--vp-button-brand-active-bg: hsla(35, 78%, 53%, 36.5%);
--vp-button-brand-hover-bg: hsl(35, 78%, 53%);
--vp-c-brand-light: hsla(35, 78%, 53%, 36.5%);
--vp-c-brand-lighter: hsla(35, 78%, 53%, 36.5%);
--vp-c-brand-dark: hsl(35, 78%, 53%);
--vp-c-brand-darker: hsl(35, 78%, 53%);
--vp-c-brand-dimm: #363636;
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(