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
cubetastic
ede8423e92
Update docs, fix minor typos, rephrase some parts of the tutorials ( #364 )
...
Also mention that strikethrough doesn't work with ncurses and blt.
2019-07-30 09:48:05 -07:00
cubetastic
9ca3f50bd6
Add strikethrough effect ( #360 )
2019-07-29 12:59:58 -07:00
David Ross
b2184b3a36
Fix doc typo (abd -> and) ( #350 )
2019-05-20 10:19:49 -07:00
Alexandre Bury
00f4b27794
Update dependencies
2019-05-09 09:35:39 -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
e096dc9740
Run cargo fix --edition-idioms
2019-02-28 15:55:10 -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
d7e57fd280
Rename toggle_debug_view -> toggle_debug_console
2019-02-22 15:02:34 -08:00
Alexandre Bury
3a7e10cffe
Update debug view
2019-02-22 13:55:07 -08:00
Alexandre Bury
514751ff8a
Replace try! with ?
2018-12-17 14:02:40 -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
800470e22c
Add Color::from_256colors test
2018-01-27 17:31:43 -08:00
Alexandre Bury
6f072ac894
Fix assert for 256 colors
2018-01-27 17:26:03 -08:00
Alexandre Bury
5dfdeab6ae
Fix clippy warnings
2018-01-22 14:47:56 -08:00
Alexandre Bury
3674c118cb
Rustfmt
2018-01-22 11:55:56 -08:00
Alexandre Bury
208b812976
Fix doc link
2018-01-21 11:20:08 -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
b0f4dfbc17
Fix missing link
2018-01-20 21:18:29 -08:00
Alexandre Bury
c84bbbdf45
Update doc for theme module
2018-01-20 21:17:32 -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
d9215a2b39
Add Style::add
2018-01-16 22:41:22 -08:00
Alexandre Bury
39405ba1ec
Refactor spans and markup
...
We now use mostly indexed spans into a source string.
Indexed Spans can still be resolved to a string slice when needed.
2018-01-15 13:53:27 -08:00
Alexandre Bury
a9d9239fac
Correctly parse colors 232-255
...
Those are grayscale
2018-01-14 16:59:03 -08:00
Alexandre Bury
f8588e74c1
Rustfmt
2018-01-09 15:17:49 +01:00
Alexandre Bury
15c3e77fc4
Split theme.rs into multiple files
2018-01-08 16:11:12 +01:00