Commit Graph

18 Commits

Author SHA1 Message Date
mara
8a018dbe4d Change tertiary color to white instead of grey (#408)
Change the tertiary color in the default theme to white instead of grey.

Currently, the tertiary color is the same as the view background color,
making it invisible as foreground color. This makes the Outset effect
not work as (I think) intended.
2019-12-02 08:45:09 -08:00
Alexandre Bury
86c800554b Make toml an optional feature 2019-09-09 14:45:07 -07:00
Alexandre Bury
565c64c528 Replace hashbrown with std+ahash 2019-09-09 12:51:22 -07:00
Johannes Wünsche
4623e40dab Change TitleSecondary from Yellow to Light Blue (#376) 2019-09-07 19:48:21 -07:00
Alexandre Bury
b7d71e8381 Rustfmt
Moves to "Tall" fn_args_layout
2019-07-30 16:08:40 -07:00
Alexandre Bury
19ad7b6cc3 Use hashbrown::HashMap 2019-03-16 16:16:30 -07:00
Alexandre Bury
06b02e4665 Remove "extern crate" and rustfmt 2019-02-28 16:04:14 -08:00
Alexandre Bury
e51be07e5d Update to Rust 2018
Run `cargo fix --edition` and update Cargo.toml
2019-02-28 15:54:12 -08:00
Alexandre Bury
5a6c84a55e Use With trait for chainable variant 2018-08-08 10:25:25 -07:00
Alexandre Bury
6ce2dba8a1 Fix clippy warnings 2018-06-21 14:44:30 -07:00
Alexandre Bury
6e1fc7fdb5 Update dependencies 2018-06-18 23:13:02 -07:00
Alexandre Bury
9569e991bf Make Palette::add_namespace public 2018-06-10 23:35:31 -07:00
Alexandre Bury
8acc08f340 Rustfmt 2018-06-10 23:29:19 -07:00
Alexandre Bury
017e100b1b Add custom values to Palette
This updates `Palette` to add a tree of custom values.
Branches from this tree can be copied back to the root with
Palette::merge. This can be used to group related values together.
2018-06-10 23:29:19 -07:00
Alexandre Bury
5dfdeab6ae Fix clippy warnings 2018-01-22 14:47:56 -08:00
Alexandre Bury
431285135f Make Palette directly an EnumMap
Removes the "colors" intermediate member.
2018-01-21 11:17:22 -08:00
Alexandre Bury
5ac0fce363 Refactor ColorStyle
Add the notion of PaletteColor to use a color from the palette.

Breaking change: most color styles are now methods rather than enum
variants.
2018-01-17 10:22:06 -08:00
Alexandre Bury
15c3e77fc4 Split theme.rs into multiple files 2018-01-08 16:11:12 +01:00