wasm-demo/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 }
2020-04-10 11:41:00 +03:00
..
components Add open_mailbox shortcut for sidebar 2020-04-05 21:35:36 +03:00
conf themes: overwrite only explicit key attributes 2020-04-10 11:41:00 +03:00
execute Add delete, copy actions for envelopes 2020-03-01 17:48:10 +02:00
plugins Add consume newlines flag to phrase() 2020-02-26 15:53:46 +02:00
terminal Add Italics, Blink, Dim and Hidden text attributes 2020-04-05 15:57:05 +03:00
types Add add-attachment from pipe, default_header_values 2020-03-01 17:45:55 +02:00
bin.rs Add Italics, Blink, Dim and Hidden text attributes 2020-04-05 15:57:05 +03:00
components.rs Add UIDialog and UIConfirmationDialog widgets 2020-02-19 16:57:37 +02:00
conf.rs Add conf_override! macro 2020-03-18 19:13:07 +02:00
execute.rs Add delete, copy actions for envelopes 2020-03-01 17:48:10 +02:00
mailcap.rs Remove text_processing 2020-02-04 17:29:55 +02:00
managesieve.rs Move Query to melib 2020-04-05 15:57:05 +03:00
plugins.rs Remove ui crate 2020-02-04 17:29:55 +02:00
sqlite3.rs Move Query to melib 2020-04-05 15:57:05 +03:00
state.rs Add Italics, Blink, Dim and Hidden text attributes 2020-04-05 15:57:05 +03:00
terminal.rs Remove ui crate 2020-02-04 17:29:55 +02:00
types.rs Implement search for CellBuffer 2020-02-26 12:25:57 +02:00
unix.rs Remove duplicate function timer::arm() 2020-02-25 22:15:13 +02:00
workers.rs Don't panic in WorkController::drop 2020-02-28 09:12:36 +02:00