diff options
author | Robin Jarry <robin@jarry.cc> | 2024-02-09 23:54:56 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-14 23:05:23 +0100 |
commit | 22254f7532034d6b8561913e7fa7280800711fca (patch) | |
tree | 90bed9d9445e09043307659958bd0401d63245fd /stylesets | |
parent | b6fd647d7d51ceaf386a79da6d04f57e0a7deac2 (diff) | |
download | aerc-22254f7532034d6b8561913e7fa7280800711fca.tar.gz |
colorize: preserve defaults unless overridden
To be consistent with stylesets for the rest of aerc's UI, settings in
the [viewer] section now only override the default colorize theme.
Implements: https://todo.sr.ht/~rjarry/aerc/222
Changelog-changed: The `[viewer]` section of stylesets now preserve
default values as documented in `aerc-stylesets(7)` unless explicitly
overridden.
Requested-by: Karel Balej <balejk@matfyz.cz>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Karel Balej <balejk@matfyz.cz>
Tested-by: Matěj Cepl <mcepl@cepl.eu>
Tested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Diffstat (limited to 'stylesets')
-rw-r--r-- | stylesets/blue | 2 | ||||
-rw-r--r-- | stylesets/default | 6 | ||||
-rw-r--r-- | stylesets/dracula | 2 | ||||
-rw-r--r-- | stylesets/monochrome | 2 | ||||
-rw-r--r-- | stylesets/nord | 2 | ||||
-rw-r--r-- | stylesets/pink | 2 | ||||
-rw-r--r-- | stylesets/solarized | 3 |
7 files changed, 18 insertions, 1 deletions
diff --git a/stylesets/blue b/stylesets/blue index 0d474354..4fffca0a 100644 --- a/stylesets/blue +++ b/stylesets/blue @@ -57,6 +57,8 @@ default.selected.bg=#005f87 completion_default.selected.bg=#005f87 [viewer] +*.default=true +*.normal=true url.fg=#ffffaf url.underline=true header.fg=#af87ff diff --git a/stylesets/default b/stylesets/default index 02afe550..dd5f4a8d 100644 --- a/stylesets/default +++ b/stylesets/default @@ -7,7 +7,8 @@ # the aerc-stylesets(7) manpage. Please read the manual before # modifying or creating a styleset. -# Uncomment these two lines to reset all attributes and start from scratch. +# Uncomment these two lines to reset all attributes (except in the [viewer] +# section) and start from scratch. #*.default = true #*.normal = true @@ -52,6 +53,9 @@ #completion_default.fg = 15 #[viewer] +# Uncomment these two lines to reset all attributes in the [viewer] section. +#*.default = true +#*.normal = true #url.underline = true #url.fg = 3 #header.bold = true diff --git a/stylesets/dracula b/stylesets/dracula index f4eada3b..d22fb7e6 100644 --- a/stylesets/dracula +++ b/stylesets/dracula @@ -63,6 +63,8 @@ completion_default.selected.bg=#44475A completion_default.selected.fg=white [viewer] +*.default=true +*.normal=true url.underline=true header.bold=true signature.dim=true diff --git a/stylesets/monochrome b/stylesets/monochrome index f8e3849b..42d5352d 100644 --- a/stylesets/monochrome +++ b/stylesets/monochrome @@ -32,6 +32,8 @@ selector_focused.reverse = true selector_chooser.bold = true [viewer] +*.default = true +*.normal = true url.underline = true header.bold = true signature.dim = true diff --git a/stylesets/nord b/stylesets/nord index 9a3593f2..90e61186 100644 --- a/stylesets/nord +++ b/stylesets/nord @@ -53,6 +53,8 @@ part_*.selected.fg=#ffffff part_filename.selected.bold=true [viewer] +*.default=true +*.normal=true url.underline=true header.bold=true signature.dim=true diff --git a/stylesets/pink b/stylesets/pink index dfc53b71..87428874 100644 --- a/stylesets/pink +++ b/stylesets/pink @@ -57,6 +57,8 @@ default.selected.bg=#de4e85 completion_default.selected.bg=#de4e85 [viewer] +*.default=true +*.normal=true url.fg=#ffffaf url.underline=true header.fg=#af87ff diff --git a/stylesets/solarized b/stylesets/solarized index 9874e2d8..29717c72 100644 --- a/stylesets/solarized +++ b/stylesets/solarized @@ -1,3 +1,4 @@ +# vim: ft=dosini # # aerc solarized styleset # @@ -37,6 +38,8 @@ part_mimetype.fg=#b58900 part_filename.selected.bold=true [viewer] +*.default=true +*.normal=true diff_add.fg=#859900 # green diff_chunk.dim=true diff_chunk.fg=#2aa198 # cyan |