Skip to content

Commit

Permalink
Update Vitepress & deal with CSS breaks (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawxy committed Oct 10, 2023
1 parent 5b7edb6 commit 3ef3a59
Show file tree
Hide file tree
Showing 6 changed files with 1,004 additions and 754 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
timeout-minutes: 20

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
},

nav: [
{ text: 'Guide', link: '/guide/gettingstarted' },
{ text: 'Docs', link: '/guide/gettingstarted' },
{ text: 'Discord | Join Chat', link: 'https://discord.gg/WMxrvegf8H' }
],

Expand All @@ -46,7 +46,7 @@ export default defineConfig({
]
},
markdown: {
linkify: false
linkify: false,
}
})

Expand Down
25 changes: 17 additions & 8 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@

:root {
--vp-c-brand: #4db6ac;
--vp-c-brand-light: #81e8dd;
--vp-c-brand-dark: #00857c;
--vp-home-hero-name-color: var(--vp-c-brand);
--vp-button-brand-bg: var(--vp-c-brand);
--vp-button-brand-border: #81e8dd;
--vp-button-brand-hover-border: var(--vp-button-brand-border);
--vp-button-brand-hover-bg: var(--vp-c-brand-light);
--alba-green-light: #3cbaad;
--alba-green-dark: #00857c;
--alba-green: #4db6ac;

--vp-c-brand-1: var(--alba-green);
--vp-c-brand-2: var(--alba-green-dark);
--vp-c-brand-3: var(--alba-green-light);
--vp-c-brand-soft: var(--vp-c-green-soft);

}


.dark {

--alba-green-light: #3eaca1;
--alba-green-dark: #03726b;
--alba-green: #4db6ac;
}
Loading

0 comments on commit 3ef3a59

Please sign in to comment.