You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meli/src
Manos Pitsidianakis d580b25415
themes: overwrite only explicit key attributes
If user config file overwrites a single attribute and not the others,
for example only bg:

  "mail.listing.tag_default" = { bg = "Blue" }

The other attributes, in this case fg and attrs revert to the default
values of ThemeAttributeInner and not the default value for the key
"mail.listing.tag_default". As a result the above expands to:

  "mail.listing.tag_default" = { fg = Color::Default, bg = "Blue", attrs
  = Attr::Default }

This commit keeps the key value defaults, so the above should expand to:

  "mail.listing.tag_default" = { fg = default_theme["mail.listing.tag_default"].fg, bg = "Blue", attrs
  = default_theme["mail.listing.tag_default"].attrs }
4 years ago
..
components Add open_mailbox shortcut for sidebar 4 years ago
conf themes: overwrite only explicit key attributes 4 years ago
execute Add delete, copy actions for envelopes 4 years ago
plugins Add consume newlines flag to phrase() 4 years ago
terminal Add Italics, Blink, Dim and Hidden text attributes 4 years ago
types Add add-attachment from pipe, default_header_values 4 years ago
bin.rs Add Italics, Blink, Dim and Hidden text attributes 4 years ago
components.rs Add UIDialog and UIConfirmationDialog widgets 4 years ago
conf.rs Add conf_override! macro 4 years ago
execute.rs Add delete, copy actions for envelopes 4 years ago
mailcap.rs Remove text_processing 4 years ago
managesieve.rs Move Query to melib 4 years ago
plugins.rs Remove ui crate 4 years ago
sqlite3.rs Move Query to melib 4 years ago
state.rs Add Italics, Blink, Dim and Hidden text attributes 4 years ago
terminal.rs Remove ui crate 4 years ago
types.rs Implement search for CellBuffer 4 years ago
unix.rs Remove duplicate function timer::arm() 4 years ago
workers.rs Don't panic in WorkController::drop 4 years ago