Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ango authored and Stephan Ango committed Nov 15, 2020
1 parent 3062f23 commit 271fe23
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 18 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Intellij
*.iml
.idea

# npm
node_modules
package-lock.json

# build
main.js
*.js.map
18 changes: 9 additions & 9 deletions main.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ class MinimalSettingTab extends PluginSettingTab {
);

new Setting(containerEl)
.setName('Light Mode Style')
.setDesc('Sidebar styles for Light Mode')
.setName('Light mode background')
.setDesc('Background colors in light mode')
.addDropdown(dropdown => dropdown
.addOption('minimal-light','Default')
.addOption('minimal-light-tonal','Tonal')
.addOption('minimal-light-contrast','Contrast')
.addOption('minimal-light-tonal','Low contrast')
.addOption('minimal-light-contrast','High contrast')
.setValue(this.plugin.settings.lightStyle)
.onChange((value) => {
this.plugin.settings.lightStyle = value;
Expand All @@ -143,11 +143,11 @@ class MinimalSettingTab extends PluginSettingTab {
}));

new Setting(containerEl)
.setName('Dark Mode style')
.setDesc('Sidebar styles for Dark Mode')
.setName('Dark mode background')
.setDesc('Background colors in dark mode')
.addDropdown(dropdown => dropdown
.addOption('minimal-dark','Default')
.addOption('minimal-dark-tonal','Tonal')
.addOption('minimal-dark-tonal','Low contrast')
.setValue(this.plugin.settings.darkStyle)
.onChange((value) => {
this.plugin.settings.darkStyle = value;
Expand All @@ -159,7 +159,7 @@ class MinimalSettingTab extends PluginSettingTab {
.setName('Editor font')
.setDesc('Make sure the font is also installed on your computer')
.addDropdown(dropdown => dropdown
.addOption('-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,sans-serif','Default')
.addOption('-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,sans-serif','System fonts')
.addOption('iA Writer Mono S','iA Mono')
.addOption('iA Writer Duo S','iA Duo')
.addOption('iA Writer Quattro S','iA Quattro')
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-minimal-theme",
"name": "Minimal Theme Settings",
"version": "1.0.0",
"version": "1.0.1",
"minAppVersion": "0.9.12",
"description": "Settings plugin to control colors and fonts for Minimal Theme.",
"author": "@kepano",
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"1.0.1": "0.9.12",
"1.0.0": "0.9.12"
}

0 comments on commit 271fe23

Please sign in to comment.