Updated Khan Academy colors to new colors

Summary: The KaTex renderer used to use old Khan Academy colors when displaying colored text. The configuration is now updated to have the new colors.

Test Plan:
- verified that colored text now uses the new colors in a browser
- running commands such as `\blueA{blueA}` will style the text in the blueA color from the configuration

Reviewers: emily, kevinb

Reviewed By: kevinb

Differential Revision: https://phabricator.khanacademy.org/D27963
This commit is contained in:
Shadaj Laddad
2016-06-07 16:36:38 -07:00
parent 26f06754e7
commit b49eee4de7

View File

@@ -123,55 +123,55 @@ var colorMap = {
"katex-green": "#28ae7b", "katex-green": "#28ae7b",
"katex-gray": "gray", "katex-gray": "gray",
"katex-purple": "#9d38bd", "katex-purple": "#9d38bd",
"katex-blueA": "#c7e9f1", "katex-blueA": "#ccfaff",
"katex-blueB": "#9cdceb", "katex-blueB": "#80f6ff",
"katex-blueC": "#58c4dd", "katex-blueC": "#63d9ea",
"katex-blueD": "#29abca", "katex-blueD": "#11accd",
"katex-blueE": "#1c758a", "katex-blueE": "#0c7f99",
"katex-tealA": "#acead7", "katex-tealA": "#94fff5",
"katex-tealB": "#76ddc0", "katex-tealB": "#26edd5",
"katex-tealC": "#5cd0b3", "katex-tealC": "#01d1c1",
"katex-tealD": "#55c1a7", "katex-tealD": "#01a995",
"katex-tealE": "#49a88f", "katex-tealE": "#208170",
"katex-greenA": "#c9e2ae", "katex-greenA": "#b6ffb0",
"katex-greenB": "#a6cf8c", "katex-greenB": "#8af281",
"katex-greenC": "#83c167", "katex-greenC": "#74cf70",
"katex-greenD": "#77b05d", "katex-greenD": "#1fab54",
"katex-greenE": "#699c52", "katex-greenE": "#0d923f",
"katex-goldA": "#f7c797", "katex-goldA": "#ffd0a9",
"katex-goldB": "#f9b775", "katex-goldB": "#ffbb71",
"katex-goldC": "#f0ac5f", "katex-goldC": "#ff9c39",
"katex-goldD": "#e1a158", "katex-goldD": "#e07d10",
"katex-goldE": "#c78d46", "katex-goldE": "#a75a05",
"katex-redA": "#f7a1a3", "katex-redA": "#fca9a9",
"katex-redB": "#ff8080", "katex-redB": "#ff8482",
"katex-redC": "#fc6255", "katex-redC": "#f9685d",
"katex-redD": "#e65a4c", "katex-redD": "#e84d39",
"katex-redE": "#cf5044", "katex-redE": "#bc2612",
"katex-maroonA": "#ecabc1", "katex-maroonA": "#ffbde0",
"katex-maroonB": "#ec92ab", "katex-maroonB": "#ff92c6",
"katex-maroonC": "#c55f73", "katex-maroonC": "#ed5fa6",
"katex-maroonD": "#a24d61", "katex-maroonD": "#ca337c",
"katex-maroonE": "#94424f", "katex-maroonE": "#9e034e",
"katex-purpleA": "#caa3e8", "katex-purpleA": "#ddd7ff",
"katex-purpleB": "#b189c6", "katex-purpleB": "#c6b9fc",
"katex-purpleC": "#9a72ac", "katex-purpleC": "#aa87ff",
"katex-purpleD": "#715582", "katex-purpleD": "#7854ab",
"katex-purpleE": "#644172", "katex-purpleE": "#543b78",
"katex-mintA": "#f5f9e8", "katex-mintA": "#f5f9e8",
"katex-mintB": "#edf2df", "katex-mintB": "#edf2df",
"katex-mintC": "#e0e5cc", "katex-mintC": "#e0e5cc",
"katex-grayA": "#fdfdfd", "katex-grayA": "#f6f7f7",
"katex-grayB": "#f7f7f7", "katex-grayB": "#f0f1f2",
"katex-grayC": "#eeeeee", "katex-grayC": "#e3e5e6",
"katex-grayD": "#dddddd", "katex-grayD": "#d6d8da",
"katex-grayE": "#cccccc", "katex-grayE": "#babec2",
"katex-grayF": "#aaaaaa", "katex-grayF": "#888d93",
"katex-grayG": "#999999", "katex-grayG": "#626569",
"katex-grayH": "#555555", "katex-grayH": "#3b3e40",
"katex-grayI": "#333333", "katex-grayI": "#21242c",
"katex-kaBlue": "#314453", "katex-kaBlue": "#314453",
"katex-kaGreen": "#639b24", "katex-kaGreen": "#71B307",
}; };
/** /**