forked from github/plane
1e152c666c
* chore: moved app & space from apps to root * chore: modified workspace configuration * chore: modified dockerfiles for space and web * chore: modified icons for space * feat: updated files for new svg icons supported by next-images * chore: added /spaces base path for next * chore: added compose config for space * chore: updated husky configuration * chore: updated workflows for new configuration * chore: changed app name to web * fix: resolved build errors with web * chore: reset file tracing root for both projects * chore: added nginx config for deploy * fix: eslint and tsconfig settings for space app * husky setup fixes based on new dir * eslint fixes * prettier formatting --------- Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
36 lines
679 B
TypeScript
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,
|
|
};
|