T12b Data Display: DescriptionList, PropertyGrid, Timeline, ActivityFeed, Changelog (review pending: codex 401)

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 18:53:47 -04:00
1 parent dc1d282fca
commit 111a15c21c
13 files changed
+1251 -9

No files matched your search

+2 -2
View File
@@ -37,7 +37,7 @@ impl From<Severity> for Tone {
impl Tone {
/// The fill, then the text on it.
fn colors(self, colors: &Palette) -> (Hsla, Hsla) {
pub(super) fn colors(self, colors: &Palette) -> (Hsla, Hsla) {
let severity = |severity: Severity| (severity.subtle(colors), severity.color(colors));
match self {
Self::Neutral => (colors.hover, colors.fg_muted),
@@ -50,7 +50,7 @@ impl Tone {
}
/// The color a dot of this tone takes.
fn dot(self, colors: &Palette) -> Hsla {
pub(super) fn dot(self, colors: &Palette) -> Hsla {
match self {
Self::Neutral => colors.fg_subtle,
Self::Accent => colors.accent,