Skip to content

[codex] Add tweakcn UI theming#4

Draft
cwilson613 wants to merge 1 commit into
mainfrom
feature/tweakcn-theming
Draft

[codex] Add tweakcn UI theming#4
cwilson613 wants to merge 1 commit into
mainfrom
feature/tweakcn-theming

Conversation

@cwilson613
Copy link
Copy Markdown
Contributor

Summary

Adds registry-backed tweakcn UI theming for Flynt and bumps the workspace to 0.10.6.

Changes

  • Adds a theme registry/import layer with Alpharius, Light, and curated upstream tweakcn presets.
  • Supports local tweakcn JSON import plus public theme URL, registry slug, and theme ID import.
  • Persists active/imported UI themes in operator settings.
  • Maps tweakcn/shadcn tokens into broader Flynt UI surfaces for settings, controls, panels, graph, kanban, prose, priority, and chrome surfaces.
  • Updates settings UI and docs for the supported import flow.

Validation

  • cargo check -p flynt-app
  • cargo test -p flynt-app theme::
  • cargo test -p flynt-core models::
  • git diff --check

Release

  • Workspace version bumped from 0.10.5 to 0.10.6.
  • Tag v0.10.6 has been pushed to trigger the release workflow.

@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copy link
Copy Markdown

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lipstyk found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@cwilson613 cwilson613 force-pushed the feature/tweakcn-theming branch from d35cea5 to 6de2677 Compare May 16, 2026 15:52
value.to_string()
}

#[cfg(test)]
});
let operator_settings = current_runtime.omegon.load_operator_settings();
let initial_theme = if operator_settings.ui_theme.active_theme.trim().is_empty() {
current_runtime.project.config.appearance.theme.clone()
let initial_theme = if operator_settings.ui_theme.active_theme.trim().is_empty() {
current_runtime.project.config.appearance.theme.clone()
} else {
operator_settings.ui_theme.active_theme.clone()
use_context_provider(|| Signal::new(current_runtime.project.config.appearance.font_size));
use_context_provider(|| Signal::new(current_runtime.omegon.load_project_profile()));
use_context_provider(|| Signal::new(current_runtime.omegon.load_operator_settings()));
use_context_provider(|| Signal::new(operator_settings.clone()));
{
continue;
}
seen.insert(imported.id.clone());
merged
}

fn complete_vars(vars: BTreeMap<String, String>) -> BTreeMap<String, String> {
}
}

fn inline_vars(theme: &UiTheme) -> String {
}
}

fn sanitize_id(value: &str) -> String {
let project = ctx.project();
let omegon = ctx.omegon();
let omegon_for_save = omegon.clone();
let omegon_for_file_theme_import = omegon.clone();
let omegon = ctx.omegon();
let omegon_for_save = omegon.clone();
let omegon_for_file_theme_import = omegon.clone();
let omegon_for_remote_theme_import = omegon.clone();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants