• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Where is Color Palette configured?

|Jordan|

Active member
#1
I'm working on an addon that interacts with the color palette but i can't figure out where color palettes settings are stored. I searched CSS and the database and neither show the data i need.

Specifically i mean the following:
  • @pageBackground
  • @contentBackground
  • @textCtrlBackground
  • @contentText
  • @textCtrlText
  • @dimmedTextColor
  • @mutedTextColor
  • @faintTextColor
  • @tooltipBackground
  • @inlineMod
  • @primaryDarker
  • @primaryDark
  • @primaryMedium
  • @primaryLightish
  • @primaryLight
  • @primaryLighter
  • @primaryLighterStill
  • @primaryLightest
Anyone have an idea where to look? Thanks in advance.
 

Chris D

XenForo developer
Staff member
#2
They are stored in the database:
Code:
SELECT * FROM xf_style_property_definition WHERE group_name = 'color'