Skip to content

Commit

Permalink
Update repository with latest styles
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvellu committed Dec 30, 2024
1 parent 8d78af3 commit eaa919a
Show file tree
Hide file tree
Showing 10 changed files with 162 additions and 267 deletions.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
# :shorts: Zim Styles
# :shorts: Tomorrow Theme for Zim Desktop Wiki

My personal style/colorscheme configuration files for Zim Desktop Wiki.
A `style.conf` based on the [Tomorrow Theme](https://github.com/chriskempson/tomorrow-theme) colorscheme with some personal tweaks.

- [`Test_page_for_Zim_styles.txt`](Test_page_for_Zim_styles.txt): Zim page filled with contents to test styles.
- [`style.conf.tomorrow-light`](style.conf.tomorrow-light): Zim style using the [Tomorrow (light)](https://github.com/chriskempson/tomorrow-theme?tab=readme-ov-file#tomorrow) colorscheme.
- [`style.conf.tomorrow-night`](style.conf.tomorrow-night): Zim style using the [Tomorrow Night (dark)](https://github.com/chriskempson/tomorrow-theme?tab=readme-ov-file#tomorrow-night) colorscheme.
## Screenshots

## Tomorrow (light)

<img src="tomorrow-light-1.png">
<img src="tomorrow-light-2.png">

## Tomorrow Night (dark)

<img src="tomorrow-night-1.png">
<img src="tomorrow-night-2.png">
<img src="zim-tomorrow-theme.png">
83 changes: 0 additions & 83 deletions Test_page_for_Zim_styles.txt

This file was deleted.

158 changes: 158 additions & 0 deletions style.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# General settings

[TextView]
indent = 30
tabs =
font =
justify =
linespacing = 3
wrapped-lines-linespacing = 0

# Colorscheme
#
# Colors in this style sheet are based on the Tomorrow Theme. This palette
# provides a clean and balanced default for most desktop themes.
#
# - Light theme: Tomorrow
# - Dark theme: Tomorrow Night
#
# Source: https://github.com/chriskempson/tomorrow-theme

[Tag strong]
weight = PANGO_WEIGHT_BOLD

[Tag emphasis]
style = PANGO_STYLE_ITALIC

[Tag mark]
# For highlighted text (light yellow)
background = #ffd028
background[darktheme] = #b58c1d

[Tag strike]
# For struck-out text (gray)
foreground = #757575
foreground[darktheme] = #979797
strikethrough = true

[Tag code]
# For in-line verbatim text (gray background)
foreground = #4d4d4d
background = #efefef
foreground[darktheme] = #c7c7c7
background[darktheme] = #3c3c3c
family = monospace

[Tag pre]
# For multi-line verbatim blocks (gray background)
foreground = #4d4d4d
paragraph-background = #efefef
foreground[darktheme] = #c7c7c7
paragraph-background[darktheme] = #3c3c3c
family = monospace
wrap-mode = GTK_WRAP_NONE
indent = 20

[Tag link]
# For external links (blue)
foreground = #4271ae
foreground[darktheme] = #81a2be
underline = PANGO_UNDERLINE_SINGLE

[Tag page-link]
# For internal links (blue)
foreground = #4271ae
foreground[darktheme] = #81a2be

[Tag tag]
# For zim tags (orange)
foreground = #e5750a
foreground[darktheme] = #de935f

# Headings
#
# The color of headings is green. Headings' sizes scale relative to font size.
# Differences from Zim's defaults: slightly larger H1 without underline,
# removed italics from H3, slightly larger H4, and removed H6.

[Tag h1]
foreground = #718c00
foreground[darktheme] = #b5bd68
weight = PANGO_WEIGHT_BOLD
scale = 2.0

[Tag h2]
foreground = #718c00
foreground[darktheme] = #b5bd68
weight = PANGO_WEIGHT_BOLD
scale = 1.5

[Tag h3]
foreground = #718c00
foreground[darktheme] = #b5bd68
weight = PANGO_WEIGHT_BOLD
scale = 1.3

[Tag h4]
foreground = #718c00
foreground[darktheme] = #b5bd68
weight = PANGO_WEIGHT_BOLD
scale = 1.2

[Tag h5]
foreground = #718c00
foreground[darktheme] = #b5bd68
weight = PANGO_WEIGHT_BOLD

# Task states
#
# For styling the text next to the task checkboxes.

[Tag checked-checkbox]
# For completed tasks (green)
foreground = #718c00
foreground[darktheme] = #b5bd68
strikethrough = true

[Tag xchecked-checkbox]
# For cancelled tasks (red)
foreground = #c82829
foreground[darktheme] = #cc6666
strikethrough = true

[Tag migrated-checkbox]
# For migrated tasks (orange)
foreground = #e5750a
foreground[darktheme] = #f5871f

[Tag transmigrated-checkbox]
# For trans-migrated tasks (purple)
foreground = #8959a8
foreground[darktheme] = #b294bb

# Task priority
#
# For color-coding task priority in the tasklist. Only background and
# foreground colors are supported (no other styling tags).

[TaskList Prio High]
# For high priority tasks (light red)
background = #e84749
background[darktheme] = #a94242

[TaskList Prio Medium]
# For medium priority tasks (light orange)
background = #ff9d3e
background[darktheme] = #b06530

[TaskList Prio Alert]
# For low priority tasks (light yellow)
background = #ffd028
background[darktheme] = #b58c1d

[TaskList Inactive]
# For inactive tasks (gray)
foreground = #757575
foreground[darktheme] = #969896

# vim: syntax=desktop
85 changes: 0 additions & 85 deletions style.conf.tomorrow-light

This file was deleted.

Loading

0 comments on commit eaa919a

Please # to comment.