Skip to content

Commit

Permalink
chore: some cleanup of the style settings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 21, 2024
1 parent 7e33340 commit cad239e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
![GitHub stars](https://img.shields.io/github/stars/chrisgrieser/shimmering-focus?style=plastic&label=%E2%98%85%20Stars)
![Last commit](https://img.shields.io/github/last-commit/chrisgrieser/shimmering-focus?style=plastic)

A minimalistic and opinionated Obsidian theme for the keyboard-centric user.
A minimalistic and opinionated Obsidian theme for the keyboard-centric user.

[🏆 Winner Obsidian October
2022](https://obsidian.md/blog/2022-obsidian-october-winners/), 10th most
2022](https://obsidian.md/blog/2022-obsidian-october-winners/) and 10th most
downloaded theme in the Obsidian theme store.

![Promo screenshot](https://github.com/user-attachments/assets/d2b8d0cb-dc16-4967-9046-1b68a518f1ba)
Expand Down
20 changes: 8 additions & 12 deletions source/style-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,30 +415,26 @@ settings:
- id: image-size
title: "Images: Size (percent)"
description:
"The theme also adds a command `Toggle max image size` which toggles between 100% image size
and the reduced image size below. In addition, clicking & holding images will also enlarge an
image."
The theme also adds a command `Toggle between reduced and full image size` which toggles
between 100% image size and the reduced image size below. In addition, clicking & holding
images will also enlarge an image.
type: variable-number-slider
markdown: true
default: 50
min: 10
max: 100
step: 5
- id: unrestricted-line-length-tables
title: Automatically disable `readable line length` on notes with tables
markdown: true
type: class-toggle
default: false

#─────────────────────────────────────────────────────────────────────────────
# INFO dummy setting, hidden via css and only added for the toggle-command
- id: max-image-size-toggle
title: between reduced and full image size
addCommand: true
type: class-toggle
default: false
#─────────────────────────────────────────────────────────────────────────────

- id: unrestricted-line-length-tables
title: Automatically disable `readable line length` on notes with tables
markdown: true
type: class-toggle
default: false
#─────────────────────────────────────────────────────────────────────────────
# Vim mode
- id: vim-mode
Expand Down

0 comments on commit cad239e

Please sign in to comment.