Fix the ironic contrast issues with the colour picker

This commit is contained in:
Lewis Dale 2023-09-27 07:32:22 +01:00
parent 74ddce603a
commit a595c60c2e
2 changed files with 11 additions and 7 deletions

View File

@ -100,8 +100,12 @@ const mapComment = comment => ({
module.exports = async () => {
const cache = new PostCache();
await cache.fetchLatest();
// const cache = new PostCache();
// await cache.fetchLatest();
const cache = {
posts: []
}
return Object.values(cache.posts)
.sort(dateSort)

View File

@ -3,7 +3,7 @@
--color-secondary: var(--color-neutral-800);
--color-decoration: var(--color-amber-200);
--color-subtle: var(--color-zinc-400);
--color-disabled: var(--color-zinc-600);
--color-disabled: var(--color-zinc-500);
}
@media (prefers-color-scheme: light) {
@ -12,7 +12,7 @@
--color-primary: var(--color-neutral-800);
--color-decoration: var(--color-amber-800);
--color-subtle: var(--color-zinc-500);
--color-disabled: var(--color-zinc-400);
--color-disabled: var(--color-zinc-500);
}
}
@ -21,7 +21,7 @@ body[data-color-scheme="light"] {
--color-primary: var(--color-neutral-800);
--color-decoration: var(--color-amber-800);
--color-subtle: var(--color-zinc-500);
--color-disabled: var(--color-zinc-400);
--color-disabled: var(--color-zinc-500);
}
body[data-color-scheme="dark"] {
@ -29,7 +29,7 @@ body[data-color-scheme="dark"] {
--color-secondary: var(--color-neutral-800);
--color-decoration: var(--color-amber-200);
--color-subtle: var(--color-zinc-400);
--color-disabled: var(--color-zinc-600);
--color-disabled: var(--color-zinc-500);
}
body {