Settings & Options

Reference for all BreakMade WordPress options and configuration settings.

This page documents all WordPress options and settings used by BreakMade.

WordPress Options

BreakMade stores settings in the WordPress options table (wp_options).

Color Palette Options

Option NameTypeDescription
breakmade_color_paletteJSONFull structured palette data
breakmade_color_palette_flatJSONFlattened palette for quick access

Typography Options

Option NameTypeDescription
breakmade_typography_presetsJSONInstalled typography presets

Integration Options

Option NameTypeDescription
breakmade_headspin_modebooleanHeadSpinUI integration enabled
breakmade_headspin_integratedtimestampWhen integration was last run
breakmade_headspin_needs_css_regenbooleanCSS regeneration pending

Feature Toggles

Option NameTypeDefaultDescription
breakmade_css_enabledbooleantrueOutput CSS on frontend
breakmade_colors_enabledbooleantrueEnable color system
breakmade_presets_enabledbooleantrueEnable typography presets
breakmade_button_enabledbooleantrueEnable button element
breakmade_sync_css_to_breakdancebooleanfalseStore CSS in Breakdance

Selector Options

Option NameTypeDescription
breakmade_selectors_registeredbooleanWhether selectors are registered
breakmade_selectors_modestringRegistration mode (add_new/update/replace)
breakmade_overwrite_selectorsbooleanOverwrite existing selectors on registration

Design Set Options

Option NameTypeDescription
breakmade_default_designset_templatestringCurrently installed design set (e.g., ’layers')

Sync Options

Option NameTypeDefaultDescription
breakmade_do_not_sync_colorsbooleanfalsePrevent color sync to Breakdance

License Options

Option NameTypeDescription
breakmade_license_levelstringCached license level (Free/Pro)

Admin Settings Location

Access BreakMade settings at:

  • Menu: WordPress Admin → BreakMade
  • URL: /wp-admin/admin.php?page=breakmade

Settings Sections

Design Set Section

  • Set Default Design Set: Opens modal to select design set
  • Current Set: Shows currently installed set name

Color Palette Section

  • Install Default Palette: Installs standard color palette
  • Color Picker: Interactive color customization
  • Save Palette: Saves current colors
  • Do Not Sync Colors: Toggle for sync behavior

Typography Section

  • Install Typography Presets: Installs typography settings
  • Typography Only: Toggle to install only typography

Selectors Section

  • Add/Update Selectors: Registers CSS selectors
  • Overwrite Selectors: Toggle for registration mode

HeadSpinUI Section

  • HeadSpin Mode: Toggle integration
  • Status: Shows HeadSpinUI detection status
  • Merge Data: Syncs data with HeadSpinUI
  • Check Unconverted Variables: Scans for old variables

AJAX Endpoints

BreakMade uses these AJAX actions:

Palette Actions

ActionPurpose
breakmade_save_paletteSave color palette
breakmade_get_paletteRetrieve palette data
breakmade_install_paletteInstall default palette

Typography Actions

ActionPurpose
breakmade_install_typography_presetsInstall full presets
breakmade_install_typography_onlyInstall typography only

Design Set Actions

ActionPurpose
breakmade_install_design_setInstall selected design set

Selector Actions

ActionPurpose
breakmade_register_selectorsRegister CSS selectors
breakmade_save_overwrite_selectorsUpdate overwrite preference

HeadSpin Actions

ActionPurpose
breakmade_save_headspin_modeToggle HeadSpin mode
breakmade_headspin_toggleHandle toggle interactions
breakmade_headspin_dataGet BreakMade data for HeadSpin
breakmade_check_headspinui_statusCheck HeadSpinUI status
breakmade_merge_headspin_dataMerge data with HeadSpinUI
breakmade_trigger_headspin_css_regenTrigger CSS regeneration
breakmade_check_unconverted_varsCheck for unconverted variables

Utility Actions

ActionPurpose
breakmade_save_do_not_syncToggle color sync
breakmade_dismiss_noticeDismiss admin notices

File Locations

Generated Files

FileLocation
CSS Variables/wp-content/uploads/breakmade/breakmade-variables.css

Plugin Files

FilePurpose
plugin.phpMain plugin file
includes/admin-settings.phpAdmin interface
includes/color-palette.phpColor system
includes/typography-presets.phpTypography system
includes/selectors.phpSelector management
includes/headspin-integration.phpHeadSpinUI integration
includes/license.phpLicense handling

Default Values

Color Palette Default

The default palette includes:

  • Primary: Indigo (#6366f1)
  • Secondary: Emerald (#10b981)
  • Tertiary: Amber (#f59e0b)
  • Accent: Purple (#8b5cf6)
  • Neutral: Slate (#64748b)

Typography Defaults

  • H1: 3rem, weight 800, line-height 110%
  • H2: 2.25rem, weight 700, line-height 120%
  • H3: 1.875rem, weight 700, line-height 125%
  • H4: 1.5rem, weight 600, line-height 130%
  • H5: 1.25rem, weight 600, line-height 140%
  • H6: 1rem, weight 600, line-height 150%
  • Body: 1rem, weight 400, line-height 160%

Resetting Options

Reset Individual Options

Use WP-CLI:

wp option delete breakmade_color_palette
wp option delete breakmade_typography_presets

Reset All Options

wp option delete --regex='breakmade_.*'

Via Database

Query wp_options table for rows where option_name LIKE 'breakmade_%'.

Debugging

View Current Options

// In your theme or plugin
$palette = get_option('breakmade_color_palette');
print_r($palette);

Check Option Existence

if (get_option('breakmade_headspin_mode')) {
    // HeadSpin mode is enabled
}