plane/apps/app/constants/graph.ts
Aaryan Khandelwal 124c2f772e
fix: onboarding invitations overflow (#1575)
* fix: onboarding invitations overflow

* fix: user avatar in the notification card

* style: update graph grid color
2023-07-19 17:09:53 +05:30

36 lines
679 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-border-300))",
},
},
grid: {
line: {
stroke: "rgb(var(--color-border-100))",
},
},
};
export const DEFAULT_MARGIN = {
top: 50,
right: 50,
bottom: 50,
left: 50,
};