mirror of https://github.com/zkat/miette.git
fix(theme): remove code styling
This commit is contained in:
parent
717f8e3d88
commit
ce0dea541a
|
|
@ -78,8 +78,6 @@ pub struct ThemeStyles {
|
||||||
pub warning: Style,
|
pub warning: Style,
|
||||||
/// Style to apply to things highlighted as "advice".
|
/// Style to apply to things highlighted as "advice".
|
||||||
pub advice: Style,
|
pub advice: Style,
|
||||||
/// Style to apply to the diagnostic code.
|
|
||||||
pub code: Style,
|
|
||||||
/// Style to apply to the help text.
|
/// Style to apply to the help text.
|
||||||
pub help: Style,
|
pub help: Style,
|
||||||
/// Style to apply to filenames/links/URLs.
|
/// Style to apply to filenames/links/URLs.
|
||||||
|
|
@ -103,7 +101,6 @@ impl ThemeStyles {
|
||||||
error: style().fg_rgb::<255, 30, 30>(),
|
error: style().fg_rgb::<255, 30, 30>(),
|
||||||
warning: style().fg_rgb::<244, 191, 117>(),
|
warning: style().fg_rgb::<244, 191, 117>(),
|
||||||
advice: style().fg_rgb::<106, 159, 181>(),
|
advice: style().fg_rgb::<106, 159, 181>(),
|
||||||
code: style().fg_rgb::<92, 157, 255>(),
|
|
||||||
help: style().fg_rgb::<106, 159, 181>(),
|
help: style().fg_rgb::<106, 159, 181>(),
|
||||||
link: style().fg_rgb::<92, 157, 255>().underline().bold(),
|
link: style().fg_rgb::<92, 157, 255>().underline().bold(),
|
||||||
linum: style().dimmed(),
|
linum: style().dimmed(),
|
||||||
|
|
@ -121,7 +118,6 @@ impl ThemeStyles {
|
||||||
error: style().red(),
|
error: style().red(),
|
||||||
warning: style().yellow(),
|
warning: style().yellow(),
|
||||||
advice: style().cyan(),
|
advice: style().cyan(),
|
||||||
code: style().yellow(),
|
|
||||||
help: style().cyan(),
|
help: style().cyan(),
|
||||||
link: style().cyan().underline().bold(),
|
link: style().cyan().underline().bold(),
|
||||||
linum: style().dimmed(),
|
linum: style().dimmed(),
|
||||||
|
|
@ -139,7 +135,6 @@ impl ThemeStyles {
|
||||||
error: style(),
|
error: style(),
|
||||||
warning: style(),
|
warning: style(),
|
||||||
advice: style(),
|
advice: style(),
|
||||||
code: style(),
|
|
||||||
help: style(),
|
help: style(),
|
||||||
link: style(),
|
link: style(),
|
||||||
linum: style(),
|
linum: style(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue