slate/common/constants.js

62 lines
1.3 KiB
JavaScript
Raw Normal View History

2020-07-23 04:25:19 +03:00
export const values = {
2020-07-29 02:43:00 +03:00
version: "0.0.7",
sds: "0.0.7",
2020-07-23 04:25:19 +03:00
};
export const sizes = {
navigation: 288,
sidebar: 416,
header: 72,
};
2020-02-19 09:30:47 +03:00
export const zindex = {
navigation: 1,
2020-07-05 22:43:37 +03:00
sidebar: 2,
header: 3,
modal: 4,
tooltip: 5,
};
export const font = {
text: `'inter-regular', -apple-system, BlinkMacSystemFont, arial, sans-serif`,
semiBold: `'inter-semi-bold', -apple-system, BlinkMacSystemFont, arial, sans-serif`,
medium: `'inter-medium', -apple-system, BlinkMacSystemFont, arial, sans-serif`,
mono: `'mono', monaco, monospace`,
monoBold: `'mono-bold', monaco, monospace`,
2020-07-09 02:55:46 +03:00
monoCode: `'fira-code-regular', mono, monospace`,
2020-07-09 08:30:38 +03:00
monoCodeBold: `'fira-code-bold', mono-bold, monospace`,
code: `'jet-brains-regular', mono, monospace`,
codeBold: `'jet-brains-bold', mono, monospace`,
2020-02-19 09:30:47 +03:00
};
export const typescale = {
lvl1: `1rem`,
lvl2: `1.25rem`,
lvl3: `1.563rem`,
lvl4: `1.953rem`,
2020-02-19 09:30:47 +03:00
};
export const system = {
white: "#ffffff",
foreground: "#f7f7f7",
gray: "#e5e5e5",
border: "#d8d8d8",
darkGray: "#b2b2b2",
black: "#1b1f23",
pitchBlack: "#0c0c0c",
brand: "#0047FF",
link: "#2935ff",
green: "#28a745",
yellow: " #FFC940",
red: "#ff0000",
2020-02-19 09:30:47 +03:00
};
export const code = {};
2020-02-19 09:30:47 +03:00
export const theme = {
foreground: system.white,
ctaBackground: system.brand,
pageBackground: system.foreground,
pageText: system.black,
};