summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLishid <lishid@gmail.com>2022-08-22 13:40:55 -0400
committerlishid <lishid@gmail.com>2022-08-22 14:12:05 -0400
commit773b0c5ca9799e273e2c6f86445242ba2993bbc7 (patch)
tree18ed974caec7ee0b82bbbe0ccc60733cd14bc996
Initial commit
-rw-r--r--.editorconfig10
-rw-r--r--.gitignore15
-rw-r--r--README.md4
-rw-r--r--manifest.json7
-rw-r--r--theme.css34
-rw-r--r--versions.json3
6 files changed, 73 insertions, 0 deletions
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