Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add warning color to palette #2607

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Added color for warning for MOONFLY and NIGHTFLY
  • Loading branch information
DavidAguilo committed Sep 25, 2024
commit 7d1392643d112c142883fb77804f5efa1a20c36a
2 changes: 2 additions & 0 deletions core/src/theme/palette.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ impl Palette {
primary: color!(0x80a0ff), // Blue (normal)
success: color!(0x8cc85f), // Green (normal)
danger: color!(0xff5454), // Red (normal)
warning: color!(0xe3c78a), // Yellow (normal)
};

/// The built-in [Nightfly] variant of a [`Palette`].
Expand All @@ -292,6 +293,7 @@ impl Palette {
primary: color!(0x82aaff), // Blue (normal)
success: color!(0xa1cd5e), // Green (normal)
danger: color!(0xfc514e), // Red (normal)
warning: color!(0xe3d18a), // Yellow (normal)
};

/// The built-in [Oxocarbon] variant of a [`Palette`].
Expand Down