first commit

This commit is contained in:
2024-06-23 00:25:46 +02:00
parent 12026d84df
commit ad76178e7c
3 changed files with 70 additions and 14 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
{ {
"name": "Sample Theme", "name": "Northern-Sky",
"version": "1.0.0", "version": "1.0.0",
"minAppVersion": "1.0.0", "minAppVersion": "1.0.0",
"author": "Obsidian", "author": "Quintavalle Pietro",
"authorUrl": "https://obsidian.md" "authorUrl": "https://quinta0.github.io/"
} }
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "sample-obsidian-theme", "name": "Northern-Sky",
"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"
+65 -9
View File
@@ -1,13 +1,19 @@
@import url('https://fonts.googleapis.com/css2?family=Finlandica:ital,wght@0,400..700;1,400..700&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;
}
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 +29,9 @@ svg * {
.menu { .menu {
padding: var(--size-2-1); padding: var(--size-2-1);
border-radius: var(--radius-m);
background-color: var(--primary);
color: var(--text);
} }
.menu-item { .menu-item {
@@ -32,3 +41,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: #061218;
--background: #dfedf7;
--primary: #1f5175;
--secondary: #deab82;
--accent: #62a12b;
--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);
}