Theme config
Skill Gabriel-Operator/gabriel-operator-coding-agent-plugin/skills/page-builder/structural/theme-config
Configure themes, color palettes, fonts, and visual appearance for Page Builder apps.From its SKILL.md
npx -y skills add Gabriel-Operator/gabriel-operator-coding-agent-plugin --skill theme-configAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.2 KB, as published. Nobody here has run it
Theme Configuration
Configure colors, fonts, palettes, and visual themes for Page Builder applications.
Core Interfaces
ThemeConfig
Controls colors and fonts for the application.
interface ThemeConfig {
palette?: ThemePaletteName;
fontFamily?: ThemeFontFamily;
primaryColor: ThemeColorName; // Required
secondaryColor?: ThemeColorName;
accentColor?: ThemeColorName;
}
ThemePaletteName
Predefined color palette presets.
type ThemePaletteName =
| 'coral'
| 'ocean'
| 'forest'
| 'purple'
| 'slate'
| 'research'
| 'maroon'
| 'stone'
| 'emerald'
| 'custom';
ThemeFontFamily
type ThemeFontFamily =
| 'dm-sans'
| 'inter'
| 'system'
| 'roboto'
| 'poppins'
| 'outfit';
ThemeColorName
Individual color values used for primaryColor, secondaryColor, and accentColor.
type ThemeColorName =
| 'purple'
| 'indigo'
| 'blue'
| 'green'
| 'orange'
| 'pink'
| 'red'
| 'teal'
| 'gray'
| 'slate'
| 'maroon'
| 'stone'
| 'emerald';
PageTheme
Determines which sidebar variant and template set are available. This is a separate concept from ThemeConfig.
type PageTheme =
| 'aeo'
| 'property-management'
| 'email-marketing'
| 'alpha-frame'
| 'funding-tool'
| 'ivy-match'
| 'accelerator-os';
ColorMode
type ColorMode = 'light' | 'dark' | 'system';
ThemeConfig vs PageTheme
These are two distinct concepts:
| Concept | Purpose | Field on PageBuilderConfig |
|---|---|---|
ThemeConfig | Controls colors and fonts (visual styling) | theme |
PageTheme | Selects which templates and sidebar variant to use | pageTheme |
A pageTheme of 'property-management' uses property management templates and sidebar, while theme.primaryColor of 'blue' makes the primary color blue. They are independent.
JSON Examples
Professional SaaS (Ocean Palette)
{
"theme": {
"palette": "ocean",
"fontFamily": "inter",
"primaryColor": "blue",
"secondaryColor": "slate",
"accentColor": "teal"
},
"pageTheme": "aeo",
"colorMode": "light"
}
Dark Analytics Dashboard
{
"theme": {
"palette": "slate",
"fontFamily": "dm-sans",
"primaryColor": "purple",
"secondaryColor": "gray",
"accentColor": "pink"
},
"pageTheme": "aeo",
"colorMode": "dark"
}
Property Management App
{
"theme": {
"palette": "forest",
"fontFamily": "poppins",
"primaryColor": "green",
"secondaryColor": "stone",
"accentColor": "emerald"
},
"pageTheme": "property-management",
"colorMode": "light"
}
Custom Palette (Branding Override)
{
"theme": {
"palette": "custom",
"fontFamily": "outfit",
"primaryColor": "maroon",
"secondaryColor": "stone",
"accentColor": "red"
},
"pageTheme": "funding-tool",
"colorMode": "system"
}
Minimal Config (Only Required Fields)
{
"theme": {
"primaryColor": "indigo"
}
}
Gotchas
primaryColoris required -- it is the only non-optional field inThemeConfig. All other fields have defaults or are optional.- Palette presets override individual colors -- when a named palette (e.g.,
"ocean") is set, it provides a coordinated set of colors. Settingpalette: "custom"allows full control over individual color fields. pageThemeis not the same astheme--pageThemecontrols template availability and sidebar variant;themecontrols visual colors/fonts. They must be set independently.colorModedefaults to'light'if not specified. The'system'option follows the user's OS preference.- Font availability -- all listed fonts are bundled.
'system'uses the OS default font stack. - Changing
pageThemechanges available templates -- eachpageThemehas its own set ofTEMPLATE_OPTIONS. Templates from one theme are not valid in another.