mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-11 01:31:31 +03:00
81 lines
1.7 KiB
JavaScript
81 lines
1.7 KiB
JavaScript
export const values = {
|
|
version: "1.0.0",
|
|
sds: "0.1.0",
|
|
};
|
|
|
|
export const sizes = {
|
|
mobile: 768,
|
|
navigation: 288,
|
|
sidebar: 416,
|
|
header: 72,
|
|
tablet: 960,
|
|
desktop: 1440,
|
|
};
|
|
|
|
export const system = {
|
|
white: "#ffffff",
|
|
foreground: "#f7f7f7",
|
|
gray: "#e0e0e0",
|
|
border: "#d8d8d8",
|
|
darkGray: "#b2b2b2",
|
|
black: "#1b1f23",
|
|
pitchBlack: "#0c0c0c",
|
|
brand: "#807d78",
|
|
blue: "#0061BB",
|
|
link: "#2935ff",
|
|
green: "#28a745",
|
|
yellow: " #FFC940",
|
|
red: "#ff0000",
|
|
slate: "#27292e",
|
|
moonstone: "#807d78",
|
|
wall: "#cfced3",
|
|
};
|
|
|
|
export const zindex = {
|
|
navigation: 1,
|
|
sidebar: 4,
|
|
header: 3,
|
|
modal: 5,
|
|
tooltip: 6,
|
|
};
|
|
|
|
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`,
|
|
monoCode: `'fira-code-regular', mono, monospace`,
|
|
monoCodeBold: `'fira-code-bold', mono-bold, monospace`,
|
|
code: `'jet-brains-regular', mono, monospace`,
|
|
codeBold: `'jet-brains-bold', mono, monospace`,
|
|
};
|
|
|
|
export const typescale = {
|
|
lvl0: `0.8rem`,
|
|
lvl1: `1rem`,
|
|
lvl2: `1.25rem`,
|
|
lvl3: `1.563rem`,
|
|
lvl4: `1.953rem`,
|
|
lvl5: `2.441rem`,
|
|
lvl6: `3.052rem`,
|
|
lvl7: `3.815rem`,
|
|
lvl8: `4.768rem`,
|
|
lvl9: `5.96rem`,
|
|
lvl10: `7.451rem`,
|
|
lvl11: `9.313rem`,
|
|
};
|
|
|
|
export const code = {};
|
|
|
|
export const theme = {
|
|
foreground: system.white,
|
|
ctaBackground: system.brand,
|
|
pageBackground: system.foreground,
|
|
pageText: system.black,
|
|
};
|
|
|
|
export const gateways = {
|
|
ipfs: "ipfs.slate.textile.io",
|
|
};
|