remove transitional scaffold roles from ResolvedColors
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#![allow(dead_code)]
|
||||
|
||||
use std::collections::{BTreeMap, HashSet};
|
||||
use std::fmt;
|
||||
use std::str::FromStr;
|
||||
@@ -352,14 +350,7 @@ impl AccentRoles {
|
||||
},
|
||||
if appearance.is_dark() { 0.28 } else { 0.18 },
|
||||
);
|
||||
let deep = primary.mix(
|
||||
if appearance.is_dark() {
|
||||
Color::BLACK
|
||||
} else {
|
||||
Color::BLACK
|
||||
},
|
||||
if appearance.is_dark() { 0.18 } else { 0.26 },
|
||||
);
|
||||
let deep = primary.mix(Color::BLACK, if appearance.is_dark() { 0.18 } else { 0.26 });
|
||||
Self {
|
||||
primary,
|
||||
strong,
|
||||
|
||||
Reference in New Issue
Block a user