I looked at the syntax of the file. In my previous color palette scheme, it doesn’t have #
in each hexadecimal string.
If you change each of the hexadecimal strings to not have #
at the start, I think it might parse correctly.
This is also the case in the example guide for Discourse color schemes:
{
"name" : "Solarized",
"about_url" : "https://github.com/SamSaffron/discourse-solarized",
"license_url": "https://github.com/SamSaffron/discourse-solarized/blob/master/LICENSE",
"color_schemes": {
"Solarized Light": {
"primary": "586E75",
"secondary": "EEE8D5",
"tertiary": "268BD2",
"quaternary": "CB4B16",
"header_background": "002B36",
"header_primary": "93A1A1",
"highlight": "B58900",
"danger": "CB4B16",
"success": "859900",
"love": "DC322F"
}
}
}
7 Likes