mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
feat(diagnostics): bold warnings
This commit is contained in:
parent
cda0c69ba1
commit
a0cccf09f6
2 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ impl GraphicalReportHandler {
|
|||
/// Whether to include [`Diagnostic::url()`] in the output.
|
||||
///
|
||||
/// Disabling this is not recommended, but can be useful for more easily
|
||||
/// reproducable tests, as `url(docsrs)` links are version-dependent.
|
||||
/// reproducible tests, as `url(docsrs)` links are version-dependent.
|
||||
pub fn with_urls(mut self, urls: bool) -> Self {
|
||||
self.links = match (self.links, urls) {
|
||||
(_, false) => LinkStyle::None,
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ impl ThemeStyles {
|
|||
pub fn rgb() -> Self {
|
||||
Self {
|
||||
error: style().fg_rgb::<225, 80, 80>().bold(), // CHANGED: <255, 30, 30>
|
||||
warning: style().fg_rgb::<244, 191, 117>(),
|
||||
warning: style().fg_rgb::<244, 191, 117>().bold(),
|
||||
advice: style().fg_rgb::<106, 159, 181>(),
|
||||
help: style().fg_rgb::<106, 159, 181>(),
|
||||
link: style().fg_rgb::<92, 157, 255>().bold(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue