plane/apps/app/constants/graph.ts
Aaryan Khandelwal 4c2cb2368a
chore: update classnames according to the new theming structure (#1494)
* chore: store various shades of accent color

* refactor: custom theme selector

* refactor: custom theme selector

* chore: update custom theme input labels

* fix: color generator function logic

* fix: accent color preloaded data

* chore: new theming structure

* chore: update shades calculation logic

* refactor: variable names

* chore: update color scheming

* chore: new color scheming

* refactor: themes folder structure

* chore: update classnames to the new ones

* chore: update static colors

* chore: sidebar link colors

* chore: placeholder color

* chore: update border classnames
2023-07-10 12:47:00 +05:30

36 lines
685 B
TypeScript

// nivo
import { Theme } from "@nivo/core";
export const CHARTS_THEME: Theme = {
background: "transparent",
textColor: "rgb(var(--color-text-200))",
axis: {
domain: {
line: {
stroke: "rgb(var(--color-background-80))",
strokeWidth: 0.5,
},
},
},
tooltip: {
container: {
background: "rgb(var(--color-background-80))",
color: "rgb(var(--color-text-200))",
fontSize: "0.8rem",
border: "1px solid rgb(var(--color-background-80))",
},
},
grid: {
line: {
stroke: "rgb(var(--color-background-80))",
},
},
};
export const DEFAULT_MARGIN = {
top: 50,
right: 50,
bottom: 50,
left: 50,
};