Skip to content

Commit a6f855f

Browse files
committed
add logo + brand color css
1 parent 7bb7f9b commit a6f855f

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

docs/.vitepress/config.mts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,27 @@ export default defineConfig({
1212
},
1313
},
1414
optimizeDeps: {
15-
exclude: ['@vue-skuilder/courseware', '@vue-skuilder/common-ui', '@vue-skuilder/platform-ui', '@vue-skuilder/db'],
15+
exclude: [
16+
'@vue-skuilder/courseware',
17+
'@vue-skuilder/common-ui',
18+
'@vue-skuilder/platform-ui',
19+
'@vue-skuilder/db',
20+
],
1621
},
1722
ssr: {
1823
noExternal: ['@vojtechlanka/vue-tags-input'],
1924
},
2025
},
2126
title: 'skuilder',
2227
description: 'modern tooling for adaptive tutoring systems and SRS++',
28+
head: [['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }]],
2329
themeConfig: {
2430
// https://vitepress.dev/reference/default-theme-config
2531
nav: [
2632
// { text: 'Home', link: '/' },
2733
// { text: 'Examples', link: '/markdown-examples' }
2834
],
35+
logo: '/logo.svg',
2936

3037
sidebar: [
3138
{

docs/.vitepress/theme/style.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,15 @@
4949
--vp-c-default-3: var(--vp-c-gray-3);
5050
--vp-c-default-soft: var(--vp-c-gray-soft);
5151

52-
--vp-c-brand-1: var(--vp-c-indigo-1);
52+
/*--vp-c-brand-1: var(--vp-c-indigo-1);
5353
--vp-c-brand-2: var(--vp-c-indigo-2);
5454
--vp-c-brand-3: var(--vp-c-indigo-3);
55-
--vp-c-brand-soft: var(--vp-c-indigo-soft);
55+
--vp-c-brand-soft: var(--vp-c-indigo-soft);*/
56+
57+
--vp-c-brand-1: #ff6a54;
58+
--vp-c-brand-2: #ff7a64;
59+
--vp-c-brand-3: #ff4a34;
60+
--vp-c-brand-soft: rgba(255, 106, 84, 0.1);
5661

5762
--vp-c-tip-1: var(--vp-c-brand-1);
5863
--vp-c-tip-2: var(--vp-c-brand-2);

docs/logo.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)