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 {
|
2022-07-19 08:12:02 +00:00
|
|
|
--focus-border: theme('colors.vega.pink');
|
2022-08-31 04:35:46 +00:00
|
|
|
--separator-border: theme('colors.neutral.300');
|
2023-01-06 16:58:55 +00:00
|
|
|
--pennant-color-danger: theme('colors.vega.pink');
|
2022-07-19 08:12:02 +00:00
|
|
|
}
|
|
|
|
|
2022-08-31 04:35:46 +00:00
|
|
|
html.dark {
|
2022-07-19 08:12:02 +00:00
|
|
|
--focus-border: theme('colors.vega.yellow');
|
2022-09-12 13:05:39 +00:00
|
|
|
--separator-border: theme('colors.neutral.600');
|
2022-07-19 08:12:02 +00:00
|
|
|
}
|
2022-09-13 08:19:41 +00:00
|
|
|
|
|
|
|
.border-default {
|
|
|
|
@apply border-neutral-300 dark:border-neutral-600;
|
|
|
|
}
|
2023-01-06 16:58:55 +00:00
|
|
|
|
|
|
|
/* Styles for charts */
|
|
|
|
html [data-theme='dark'] {
|
|
|
|
--pennant-color-danger: theme('colors.vega.pink');
|
|
|
|
|
|
|
|
/* candles */
|
|
|
|
--pennant-color-buy-fill: theme('colors.vega.green-data-dark');
|
|
|
|
--pennant-color-buy-stroke: theme('colors.vega.green');
|
|
|
|
/* sell candles only use stroke as the candle is solid (without border) */
|
|
|
|
--pennant-color-sell-stroke: theme('colors.vega.pink');
|
|
|
|
|
|
|
|
/* depth chart */
|
|
|
|
--pennant-color-depth-buy-fill: theme('colors.vega.green-data-dark');
|
|
|
|
--pennant-color-depth-buy-stroke: theme('colors.vega.green');
|
|
|
|
--pennant-color-depth-sell-fill: theme('colors.vega.pink-data-dark');
|
|
|
|
--pennant-color-depth-sell-stroke: theme('colors.vega.pink');
|
|
|
|
}
|
|
|
|
|
|
|
|
html [data-theme='light'] {
|
|
|
|
--pennant-color-danger: theme('colors.vega.pink');
|
|
|
|
|
|
|
|
/* candles */
|
|
|
|
--pennant-color-buy-fill: theme('colors.vega.green-data-light');
|
|
|
|
--pennant-color-buy-stroke: theme('colors.vega.green-dark');
|
|
|
|
/* sell candles only use stroke as the candle is solid (without border) */
|
|
|
|
--pennant-color-sell-stroke: theme('colors.vega.pink-data-light');
|
|
|
|
|
|
|
|
/* depth chart */
|
|
|
|
--pennant-color-depth-buy-fill: theme('colors.vega.green-data-light');
|
|
|
|
--pennant-color-depth-buy-stroke: theme('colors.vega.green-dark');
|
|
|
|
--pennant-color-depth-sell-fill: theme('colors.vega.pink-data-light');
|
|
|
|
--pennant-color-depth-sell-stroke: theme('colors.vega.pink-dark');
|
|
|
|
}
|