What problem does it solve?
Styling MATLAB charts and apps consistently is error-prone: colors get scattered across code, colororder and colormap get confused, and manually set component colors break automatic dark mode adaptation. This Skill provides the conventions and APIs to centralize brand colors, style chart series, and implement theme-aware uifigure apps using the R2025a Theme API.
Core Features & Use Cases
- Chart Series Colors: Set categorical palettes with colororder and continuous gradients with colormap, with clear guidance on when to use each.
- R2025a Theme API for uifigure Apps: Implement dark mode with fliplightness, react to OS theme changes via ThemeChangedFcn, and avoid breaking automatic theming with explicit color settings.
- Brand Color Organization: Centralize colors in a theme struct mapped to semantic tokens (primary, error, success, plotColors), and import external schemes like Material Design, Adobe Color, or Tailwind.
- Use Case: You are building a MATLAB app that must follow company branding and support dark mode. Use this Skill to define a theme struct, wire ThemeChangedFcn, and apply conditional table styling with uistyle.
Quick Start
Ask your agent to apply a custom color palette to your MATLAB chart and add dark mode support to your uifigure app using the R2025a Theme API.