index.community/frontend/src/constants.tsx

27 lines
683 B
TypeScript
Raw Normal View History

2018-09-04 20:56:49 +00:00
/* Screen widths less than this will be treated as mobile */
2019-07-23 16:32:43 +00:00
export const DESKTOP_WIDTH_THRESHOLD = 1000;
2019-07-14 11:47:06 +00:00
export const DEFAULT_NODE_COLOR = "#CED9E0";
export const SELECTED_NODE_COLOR = "#48AFF0";
2019-07-26 22:30:11 +00:00
export const SEARCH_RESULT_COLOR = "#AD99FF";
export const HOVERED_NODE_COLOR = SEARCH_RESULT_COLOR;
2019-07-26 22:30:11 +00:00
// From https://blueprintjs.com/docs/#core/colors.qualitative-color-schemes, but brightened
2019-07-24 15:51:44 +00:00
export const QUALITATIVE_COLOR_SCHEME = [
2019-07-26 22:30:11 +00:00
"#669EFF",
"#62D96B",
"#FFC940",
"#FF6E4A",
"#C274C2",
"#2EE6D6",
"#FF66A1",
"#D1F26D",
"#C99765",
"#AD99FF"
2019-07-24 15:51:44 +00:00
];
export const INSTANCE_DOMAIN_PATH = "/instance/:domain";
export interface IInstanceDomainPath {
domain: string;
}