2023-05-03 08:45:14 +00:00
|
|
|
@import 'ag-grid-community/dist/styles/ag-grid.css';
|
|
|
|
@import 'ag-grid-community/dist/styles/ag-theme-balham.css';
|
|
|
|
@import 'ag-grid-community/dist/styles/ag-theme-balham-dark.css';
|
|
|
|
|
2022-02-23 14:49:24 +00:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
2022-03-01 00:59:18 +00:00
|
|
|
|
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#__next {
|
2022-03-08 18:13:52 +00:00
|
|
|
@apply h-full;
|
2022-03-01 00:59:18 +00:00
|
|
|
}
|
2022-07-19 08:12:02 +00:00
|
|
|
|
2022-08-31 04:35:46 +00:00
|
|
|
/* Styles for allotment */
|
|
|
|
html {
|
2023-01-31 15:33:16 +00:00
|
|
|
--focus-border: theme('colors.vega.pink.500');
|
|
|
|
--separator-border: theme('colors.vega.light.200');
|
|
|
|
--pennant-color-danger: theme('colors.vega.pink.500');
|
2022-07-19 08:12:02 +00:00
|
|
|
}
|
|
|
|
|
2022-08-31 04:35:46 +00:00
|
|
|
html.dark {
|
2023-01-31 15:33:16 +00:00
|
|
|
--focus-border: theme('colors.vega.yellow.500');
|
|
|
|
--separator-border: theme('colors.vega.dark.200');
|
2022-07-19 08:12:02 +00:00
|
|
|
}
|
2022-09-13 08:19:41 +00:00
|
|
|
|
|
|
|
.border-default {
|
2023-01-31 15:33:16 +00:00
|
|
|
@apply border-vega-light-200 dark:border-vega-dark-200;
|
2022-09-13 08:19:41 +00:00
|
|
|
}
|
2023-01-06 16:58:55 +00:00
|
|
|
|
2023-05-03 08:45:14 +00:00
|
|
|
/* PENNANT */
|
|
|
|
|
2023-01-06 16:58:55 +00:00
|
|
|
html [data-theme='dark'] {
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-danger: theme('colors.vega.pink.DEFAULT');
|
2023-01-06 16:58:55 +00:00
|
|
|
|
|
|
|
/* candles */
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-buy-fill: theme('colors.vega.green.650');
|
|
|
|
--pennant-color-buy-stroke: theme('colors.vega.green.500');
|
2023-01-06 16:58:55 +00:00
|
|
|
/* sell candles only use stroke as the candle is solid (without border) */
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-sell-stroke: theme('colors.vega.pink.500');
|
2023-01-06 16:58:55 +00:00
|
|
|
|
2023-04-07 17:35:10 +00:00
|
|
|
/* studies */
|
|
|
|
--pennant-color-eldar-ray-bear-power: theme('colors.vega.pink.500');
|
|
|
|
--pennant-color-eldar-ray-bull-power: theme('colors.vega.green.650');
|
|
|
|
|
|
|
|
--pennant-color-macd-divergence-buy: theme('colors.vega.green.650');
|
|
|
|
--pennant-color-macd-divergence-sell: theme('colors.vega.pink.500');
|
|
|
|
--pennant-color-macd-signal: theme('colors.vega.blue.500');
|
|
|
|
--pennant-color-macd-macd: theme('colors.vega.yellow.500');
|
|
|
|
|
|
|
|
--pennant-color-volume-buy: theme('colors.vega.green.650');
|
|
|
|
--pennant-color-volume-sell: theme('colors.vega.pink.500');
|
|
|
|
|
2023-01-06 16:58:55 +00:00
|
|
|
/* depth chart */
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-depth-buy-fill: theme('colors.vega.green.650');
|
|
|
|
--pennant-color-depth-buy-stroke: theme('colors.vega.green.500');
|
|
|
|
--pennant-color-depth-sell-fill: theme('colors.vega.pink.650');
|
|
|
|
--pennant-color-depth-sell-stroke: theme('colors.vega.pink.500');
|
2023-01-06 16:58:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html [data-theme='light'] {
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-danger: theme('colors.vega.pink.500');
|
2023-01-06 16:58:55 +00:00
|
|
|
|
|
|
|
/* candles */
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-buy-fill: theme('colors.vega.green.400');
|
|
|
|
--pennant-color-buy-stroke: theme('colors.vega.green.550');
|
2023-01-06 16:58:55 +00:00
|
|
|
/* sell candles only use stroke as the candle is solid (without border) */
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-sell-stroke: theme('colors.vega.pink.400');
|
2023-01-06 16:58:55 +00:00
|
|
|
|
2023-04-07 17:35:10 +00:00
|
|
|
--pennant-color-volume-buy: theme('colors.vega.green.400');
|
2023-04-11 07:06:35 +00:00
|
|
|
--pennant-color-volume-sell: theme('colors.vega.pink.400');
|
2023-04-07 17:35:10 +00:00
|
|
|
|
2023-01-06 16:58:55 +00:00
|
|
|
/* depth chart */
|
2023-01-31 15:33:16 +00:00
|
|
|
--pennant-color-depth-buy-fill: theme('colors.vega.green.400');
|
|
|
|
--pennant-color-depth-buy-stroke: theme('colors.vega.green.550');
|
|
|
|
--pennant-color-depth-sell-fill: theme('colors.vega.pink.400');
|
|
|
|
--pennant-color-depth-sell-stroke: theme('colors.vega.pink.550');
|
2023-01-06 16:58:55 +00:00
|
|
|
}
|
2023-05-03 08:45:14 +00:00
|
|
|
|
|
|
|
/* AG GRID - Do not edit without updating other global stylesheets for each app */
|
|
|
|
|
|
|
|
.vega-ag-grid .ag-root-wrapper {
|
|
|
|
border: solid 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vega-ag-grid .ag-react-container {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vega-ag-grid .ag-cell,
|
|
|
|
.vega-ag-grid .ag-full-width-row .ag-cell-wrapper.ag-row-group {
|
|
|
|
line-height: calc(min(var(--ag-line-height, 26px), 26px) - 4px);
|
|
|
|
}
|
|
|
|
|
2023-05-09 08:02:39 +00:00
|
|
|
.vega-ag-grid .ag-row {
|
|
|
|
border-width: 1px 0;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
2023-05-03 08:45:14 +00:00
|
|
|
/* Light variables */
|
|
|
|
.ag-theme-balham {
|
|
|
|
--ag-background-color: theme(colors.white);
|
|
|
|
--ag-border-color: theme(colors.neutral[300]);
|
|
|
|
--ag-header-background-color: theme(colors.white);
|
|
|
|
--ag-odd-row-background-color: theme(colors.white);
|
|
|
|
--ag-header-column-separator-color: theme(colors.neutral[300]);
|
|
|
|
--ag-row-border-color: theme(colors.white);
|
|
|
|
--ag-row-hover-color: theme(colors.neutral[100]);
|
|
|
|
--ag-font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dark variables */
|
|
|
|
.ag-theme-balham-dark {
|
|
|
|
--ag-background-color: theme(colors.black);
|
|
|
|
--ag-border-color: theme(colors.neutral[700]);
|
|
|
|
--ag-header-background-color: theme(colors.black);
|
|
|
|
--ag-odd-row-background-color: theme(colors.black);
|
|
|
|
--ag-header-column-separator-color: theme(colors.neutral[600]);
|
|
|
|
--ag-row-border-color: theme(colors.black);
|
|
|
|
--ag-row-hover-color: theme(colors.neutral[800]);
|
|
|
|
--ag-font-size: 12px;
|
|
|
|
}
|