This commit is contained in:
Nate Butler 2023-11-08 16:43:32 -05:00
parent 23a97f5b61
commit e505fb330c
3 changed files with 68 additions and 66 deletions

View file

@ -128,6 +128,8 @@ impl ColorScale {
}
/// `Step 10` - Used for hovered or active solid backgrounds, particularly when `Step 9` is their normal state.
///
/// May also be used for extremely low contrast text. This should be used sparingly, as it may be difficult to read.
#[inline]
pub fn step_10(&self) -> Hsla {
self.step(ColorScaleStep::TEN)