Change default highlight color to be transparent (#3453)
This commit is contained in:
parent
f1495de8bb
commit
1ca3d9204a
@ -276,12 +276,11 @@ impl Show for Packed<StrikeElem> {
|
||||
#[elem(Show)]
|
||||
pub struct HighlightElem {
|
||||
/// The color to highlight the text with.
|
||||
/// (Default: 0xffff5f)
|
||||
///
|
||||
/// ```example
|
||||
/// This is #highlight(fill: blue)[with blue].
|
||||
/// ```
|
||||
#[default(Color::from_u8(0xFF, 0xFF, 0x5F, 0xFF).into())]
|
||||
#[default(Color::from_u8(0xFF, 0xFD, 0x11, 0xA1).into())]
|
||||
pub fill: Paint,
|
||||
|
||||
/// The top end of the background rectangle.
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Loading…
x
Reference in New Issue
Block a user