Mint breeze done in a breeze

This commit is contained in:
2024-06-23 01:13:10 +02:00
parent 8b05c70fd5
commit cb212b3e65
3 changed files with 70 additions and 12 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "Sample Theme", "name": "Mint-Breeze",
"version": "1.0.0", "version": "1.0.0",
"minAppVersion": "1.0.0", "minAppVersion": "1.0.0",
"author": "Obsidian", "author": "Obsidian",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "sample-obsidian-theme", "name": "Mint-Breeze",
"version": "1.0.0", "version": "1.0.0",
"scripts": { "scripts": {
"version": "node version-bump.mjs && git add manifest.json versions.json" "version": "node version-bump.mjs && git add manifest.json versions.json"
+67 -9
View File
@@ -1,13 +1,21 @@
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Old+Persian&family=Noto+Serif+KR:wght@200..900&display=swap');
body { body {
--radius-s: 0px; --radius-s: 8px;
--radius-m: 0px; --radius-m: 12px;
--radius-l: 0px; --radius-l: 16px;
--input-radius: 0px; --input-radius: 12px;
--tab-radius-active: 0px; --tab-radius-active: 12px;
--checkbox-radius: 0px; --checkbox-radius: 12px;
--toggle-radius: 0px; --toggle-radius: 12px;
--toggle-thumb-radius: 0px; --toggle-thumb-radius: 12px;
--slider-thumb-radius: 0px; --slider-thumb-radius: 12px;
background-color: var(--primary);
color: var(--text);
}
h1, h2, h3, h4, h5, h6 {
font-weight: bolder;
} }
.workspace-tab-header.is-active::before, .workspace-tab-header.is-active::after { .workspace-tab-header.is-active::before, .workspace-tab-header.is-active::after {
@@ -23,6 +31,9 @@ svg * {
.menu { .menu {
padding: var(--size-2-1); padding: var(--size-2-1);
border-radius: var(--radius-m);
background-color: var(--background);
color: var(--text);
} }
.menu-item { .menu-item {
@@ -32,3 +43,50 @@ svg * {
.menu-separator { .menu-separator {
margin: var(--size-2-1) calc(var(--size-2-1) * -1); margin: var(--size-2-1) calc(var(--size-2-1) * -1);
} }
.theme-light {
--text: #13201c;
--background-primary: #f8fcfb;
--primary: #2a5a4a;
--secondary: #8ccfb9;
--accent: #42b38d;
--highlight-hue: 30;
--italic-color: var(--accent);
--bold-color: var(--accent);
--h1-color: var(--accent);
--h2-color: var(--accent);
--h3-color: var(--accent);
--h4-color: var(--accent);
--h5-color: var(--accent);
--h6-color: var(--accent);
}
body.theme-light {
background-color: var(--background);
color: var(--text);
}
body.theme-light h1 {
color: var(--h1-color);
}
body.theme-light h2 {
color: var(--h2-color);
}
body.theme-light h3 {
color: var(--h3-color);
}
body.theme-light h4 {
color: var(--h4-color);
}
body.theme-light h5 {
color: var(--h5-color);
}
body.theme-light h6 {
color: var(--h6-color);
}