BigPizzaV3/CodexPlusPlus · error · anyhow::Error
Dream Skin theme name is empty
Error message
Dream Skin theme name is empty
What it means
Validation guard in validate_theme_draft: a theme's display name, after trimming whitespace, must be non-empty. Fires when the draft was created or edited with a blank name (or only spaces), since every theme needs a human-readable label.
Source
Thrown at crates/codex-plus-core/src/dream_skin_library.rs:521
let stored = load_stored_dream_skin_theme(state_dir, id)?;
if stored.config.id == DreamSkinThemeConfig::default().id {
bail!("built-in Dream Skin theme cannot be deleted");
}
remove_known_theme_directory(&directory)
}
fn validate_theme_draft(draft: &DreamSkinThemeDraft) -> anyhow::Result<()> {
if draft.builtin {
bail!("built-in Dream Skin theme is read-only");
}
if !valid_theme_id(&draft.config.id) {
bail!("invalid Dream Skin theme id");
}
if draft.config.schema_version != 1 {
bail!("unsupported Dream Skin theme schema");
}
if draft.config.name.trim().is_empty() {
bail!("Dream Skin theme name is empty");
}
if !draft.config.style_preset.is_empty() && !valid_theme_id(&draft.config.style_preset) {
bail!("invalid Dream Skin style preset");
}
if let Some(colors) = &draft.config.colors {
for color in [
&colors.background,
&colors.panel,
&colors.panel_alt,
&colors.accent,
&colors.accent_alt,
&colors.secondary,
&colors.highlight,
&colors.text,
&colors.muted,
&colors.line,
] {
if !valid_css_color(color) {View on GitHub (pinned to f2074595a2)
Solutions
- Set a non-empty name on the theme config before saving
- Trim whitespace and provide a real display name
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/codex-plus-core/src/dream_skin_library.rs:521 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BigPizzaV3/CodexPlusPlus@f2074595a2 (2026-08-23).
Data as JSON: /api/errors/a8955186095aceef.
Report an issue: GitHub.