An open source alternative to Tableau. Embeddable visual analytic
TypeScript bidatadata-analysisdata-miningdata-visualizationedak6skanarieslow-codepivot-tablereacttableautableau-alternativetypescriptvegavega-litevisualization
feat: type label dark design adjust
ObservedObserver280719cee45c
diff --git a/packages/graphic-walker/src/components/dataTable/index.tsx b/packages/graphic-walker/src/components/dataTable/index.tsxindex a7f19cb6..05e1a39e 100644--- a/packages/graphic-walker/src/components/dataTable/index.tsx+++ b/packages/graphic-walker/src/components/dataTable/index.tsx@@ -48,15 +48,15 @@ function getHeaderClassNames(field: IMutField) {function getSemanticColors(field: IMutField): string {switch (field.semanticType) {case "nominal":- return "bg-sky-100 text-sky-800";+ return "border border-transparent bg-sky-100 text-sky-800 dark:bg-sky-900 dark:text-sky-100 dark:border-sky-600";case "ordinal":- return "bg-indigo-100 text-indigo-800";+ return "border border-transparent bg-indigo-100 text-indigo-800 dark:bg-indigo-900 dark:text-indigo-100 dark:border-indigo-600";case "quantitative":- return "bg-purple-100 text-purple-800";+ return "border border-transparent bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-100 dark:border-purple-600";case "temporal":- return "bg-yellow-100 text-yellow-800";+ return "border border-transparent bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-100 dark:border-yellow-600";default:- return "bg-gray-400";+ return "border border-transparent bg-gray-400";}}