Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion crates/splash-ui-l0/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2917,7 +2917,10 @@ pub mod catalog {
///
/// `dark` is the default and needs no declaration; it is listed so a card
/// may say so explicitly.
pub const THEMES: &[&str] = &["dark", "light", "glass", "photo"];
/// `vibrant` and `minimal` were declared by 43 corpus cards that could not
/// realize — the checker refused them before they reached a colour, because
/// the vocabulary named four moods and the generator had been writing six.
pub const THEMES: &[&str] = &["dark", "light", "glass", "photo", "vibrant", "minimal"];

/// The theme AXES a card may name beside its mood, and the closed set each
/// admits. A mood is one coordinate; these are the others.
Expand Down
3 changes: 2 additions & 1 deletion docs/ui-profile-l0.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@ theme dark
```

At most one per card, and the name must be catalogued (`catalog::THEMES`: `dark`, `light`,
`glass`, `photo`). An uncatalogued name is refused at parse time, with the known set named.
`glass`, `photo`, `vibrant`, `minimal`). An uncatalogued name is refused at parse time, with
the known set named.

This does not weaken the no-presentation rule, because a card declaring `theme glass` has said
nothing about what glass *is*. The kit answers it, by assembling itself in four parts:
Expand Down
Loading