remove transitional scaffold roles from ResolvedColors

This commit is contained in:
2026-10-08 09:00:58 +07:00
parent 02b9cc238f
commit af20a1b150
4 changed files with 9 additions and 146 deletions
+1 -10
View File
@@ -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,