From 773b0c5ca9799e273e2c6f86445242ba2993bbc7 Mon Sep 17 00:00:00 2001 From: Lishid Date: Mon, 22 Aug 2022 13:40:55 -0400 Subject: Initial commit --- .editorconfig | 10 ++++++++++ .gitignore | 15 +++++++++++++++ README.md | 4 ++++ manifest.json | 7 +++++++ theme.css | 34 ++++++++++++++++++++++++++++++++++ versions.json | 3 +++ 6 files changed, 73 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 README.md create mode 100644 manifest.json create mode 100644 theme.css create mode 100644 versions.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5fd185c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +# top-most EditorConfig file +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 4 +tab_width = 4 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..32aa38e --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# vscode +.vscode + +# Intellij +*.iml +.idea + +# npm +node_modules + +# Exclude sourcemaps +*.map + +# Exclude macOS Finder (System Explorer) View States +.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 0000000..db74b31 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Obsidian Sample Theme + +This is a sample theme for Obsidian (https://obsidian.md). + diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..f05f5c1 --- /dev/null +++ b/manifest.json @@ -0,0 +1,7 @@ +{ + "name": "Sample Theme", + "version": "1.0.0", + "minAppVersion": "0.16.0", + "author": "Obsidian", + "authorUrl": "https://obsidian.md" +} \ No newline at end of file diff --git a/theme.css b/theme.css new file mode 100644 index 0000000..2307fc8 --- /dev/null +++ b/theme.css @@ -0,0 +1,34 @@ +body { + --radius-s: 0px; + --radius-m: 0px; + --radius-l: 0px; + --input-radius: 0px; + --tab-radius-active: 0px; + --checkbox-radius: 0px; + --toggle-radius: 0px; + --toggle-thumb-radius: 0px; + --slider-thumb-radius: 0px; +} + +.workspace-tab-header.is-active::before, .workspace-tab-header.is-active::after { + display: none; +} + +svg * { + stroke-linecap: square; + stroke-linejoin: miter; + rx: 0; + ry: 0; +} + +.menu { + padding: var(--size-2-1); +} + +.menu-item { + padding: var(--size-4-1) var(--size-4-2); +} + +.menu-separator { + margin: var(--size-2-1) calc(var(--size-2-1) * -1); +} diff --git a/versions.json b/versions.json new file mode 100644 index 0000000..0b78199 --- /dev/null +++ b/versions.json @@ -0,0 +1,3 @@ +{ + "1.0.0": "0.16.0" +} \ No newline at end of file -- cgit v1.2.3