mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-07 04:39:10 +01:00
feat: improve color theme (#649)
This commit is contained in:
parent
27419dc124
commit
861afe79b2
2 changed files with 11 additions and 7 deletions
|
@ -4,7 +4,7 @@ export default defineNuxtPlugin(() => {
|
||||||
meta: [{
|
meta: [{
|
||||||
id: 'theme-color',
|
id: 'theme-color',
|
||||||
name: 'theme-color',
|
name: 'theme-color',
|
||||||
content: () => colorMode.value === 'dark' ? '#111111' : '#ffffff',
|
content: () => colorMode.value === 'dark' ? '#111111' : '#fafafa',
|
||||||
}],
|
}],
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
:root {
|
:root {
|
||||||
--c-primary: #EA9E44;
|
--c-primary: #d98018;
|
||||||
--c-primary-active: #C16929;
|
--c-primary-active: #9a5420;
|
||||||
--c-primary-light: #EA9E441A;
|
--c-primary-light: #d980181A;
|
||||||
--c-border: #eee;
|
--c-border: #eee;
|
||||||
--c-border-dark: #dccfcf;
|
--c-border-dark: #dccfcf;
|
||||||
|
|
||||||
--c-bg-base: #fff;
|
--c-bg-base: #fafafa;
|
||||||
--c-bg-active: #f6f6f6;
|
--c-bg-active: #f2f2f2;
|
||||||
--c-bg-code: #00000006;
|
--c-bg-code: #00000006;
|
||||||
--c-bg-selection: #8885;
|
--c-bg-selection: #8885;
|
||||||
--c-bg-fade: #EA9E4411;
|
--c-bg-fade: #EA9E4411;
|
||||||
|
@ -26,6 +26,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
|
--c-primary: #EA9E44;
|
||||||
|
--c-primary-active: #C16929;
|
||||||
|
--c-primary-light: #EA9E441A;
|
||||||
|
|
||||||
--c-border: #222;
|
--c-border: #222;
|
||||||
--c-border-dark: #545251;
|
--c-border-dark: #545251;
|
||||||
|
|
||||||
|
@ -34,7 +38,7 @@
|
||||||
--c-bg-code: #ffffff06;
|
--c-bg-code: #ffffff06;
|
||||||
--c-bg-fade: #EA9E4411;
|
--c-bg-fade: #EA9E4411;
|
||||||
|
|
||||||
--c-text-base: #fff;
|
--c-text-base: #f3f3f3;
|
||||||
--c-text-code: #ecd88e;
|
--c-text-code: #ecd88e;
|
||||||
--c-text-secondary: #888;
|
--c-text-secondary: #888;
|
||||||
--c-text-secondary-light: #686868;
|
--c-text-secondary-light: #686868;
|
||||||
|
|
Loading…
Reference in a new issue