Enable custom theme color on prism

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-03-25 22:00:17 +05:30
parent 4668163f86
commit 4582503912
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5
5 changed files with 56 additions and 2 deletions

View file

@ -1,4 +1,7 @@
{ {
"accentColor": "", "accentColor": "",
"cssTheme": "Prism" "cssTheme": "Prism",
"enabledCssSnippets": [
"theme-custom"
]
} }

3
.obsidian/community-plugins.json vendored Normal file
View file

@ -0,0 +1,3 @@
[
"obsidian-style-settings"
]

View file

@ -0,0 +1,3 @@
{
"obsidian-prism-theme@@color-schemes-dt": "pt-color-scheme-custom-dt"
}

42
.obsidian/snippets/theme-custom.css vendored Normal file
View file

@ -0,0 +1,42 @@
.theme-dark.pt-color-scheme-custom-dt {
--color-grey-base-hsl: 0, 0%, 18%;
--color-red-base-hsl: 0, 46%, 22%;
--color-orange-base-hsl: 20, 52%, 19%;
--color-yellow-base-hsl: 40, 45%, 16%;
--color-green-base-hsl: 122, 40%, 15%;
--color-mint-base-hsl: 163, 51%, 14%;
--color-cyan-base-hsl: 195, 43%, 16%;
--color-blue-base-hsl: 228, 39%, 23%;
--color-purple-base-hsl: 268, 43%, 24%;
--color-pink-base-hsl: 328, 41%, 21%;
--color-grey-tint-hsl: 0, 0%, 37%;
--color-red-tint-hsl: 0, 41%, 43%;
--color-orange-tint-hsl: 9, 45%, 37%;
--color-yellow-tint-hsl: 39, 39%, 32%;
--color-green-tint-hsl: 121, 34%, 31%;
--color-mint-tint-hsl: 163, 43%, 29%;
--color-cyan-tint-hsl: 195, 37%, 33%;
--color-blue-tint-hsl: 227, 39%, 46%;
--color-purple-tint-hsl: 266, 33%, 45%;
--color-pink-tint-hsl: 328, 38%, 42%;
--color-grey-text-hsl: 0, 0%, 57%;
--color-red-text-hsl: 0, 51%, 65%;
--color-orange-text-hsl: 19, 43%, 58%;
--color-yellow-text-hsl: 40, 37%, 50%;
--color-green-text-hsl: 122, 32%, 49%;
--color-mint-text-hsl: 163, 39%, 46%;
--color-cyan-text-hsl: 195, 38%, 52%;
--color-blue-text-hsl: 228, 39%, 65%;
--color-purple-text-hsl: 264, 29%, 64%;
--color-pink-text-hsl: 331, 32%, 63%;
--text-normal: hsl(0, 0%, 85%);
--text-muted: hsl(0, 0%, 70%);
--text-faint: hsl(0, 0%, 60%);
--background-primary: hsl(0, 0%, 13%);
--background-primary-alt: hsl(0, 0%, 18%);
--background-secondary: hsl(0, 0%, 8.5%);
--background-secondary-blur: hsla(0, 0%, 8.5%, 80%);
--background-secondary-alt: hsl(0, 0%, 10%);
--shadow-s: hsla(0, 0%, 0%, 10%) 0 1px 2px 0;
--shadow-l: hsla(0, 0%, 0%, 5%) 0 1px 2px, hsla(0, 0%, 0%, 5%) 0 2px 4px, hsla(0, 0%, 0%, 5%) 0 4px 8px, hsla(0, 0%, 0%, 5%) 0 8px 16px;
}

View file

@ -139,5 +139,8 @@
} }
}, },
"active": "d3ce90df51bd874b", "active": "d3ce90df51bd874b",
"lastOpenFiles": [] "lastOpenFiles": [
"snippets/theme-custom.css",
"snippets"
]
} }