Make charts respect spectrum variables

This commit is contained in:
Andrew Kingston 2021-06-30 16:45:06 +01:00
parent f7f7180437
commit 40e31907da
1 changed files with 11 additions and 1 deletions

View File

@ -23,6 +23,16 @@
text-transform: capitalize; text-transform: capitalize;
} }
div :global(.apexcharts-yaxis-label, .apexcharts-xaxis-label) { div :global(.apexcharts-yaxis-label, .apexcharts-xaxis-label) {
fill: #aaa; fill: var(--spectrum-global-color-gray-600);
}
div :global(.apexcharts-gridline) {
stroke: var(--spectrum-global-color-gray-600);
}
div :global(.apexcharts-legend-text) {
color: var(--spectrum-global-color-gray-700) !important;
}
div :global(.apexcharts-datalabel) {
fill: var(--spectrum-global-color-gray-800);
} }
</style> </style>