Skip to content

An open source alternative to Tableau. Embeddable visual analytic

fix(theme): ensure text mark visible in dark mode (#459)

Elwynn Chenb624a2d0c5bd
diff --git a/packages/graphic-walker/src/vis/theme.ts b/packages/graphic-walker/src/vis/theme.ts
index f2b98f76..a62da79f 100644
--- a/packages/graphic-walker/src/vis/theme.ts
+++ b/packages/graphic-walker/src/vis/theme.ts
@@ -39,6 +39,9 @@ const DARK_COMMON_DESIGN: GWGlobalConfig['dark'] = {
labelColor: '#d1d5db', // change legend label color to white
titleColor: '#d1d5db', // change legend title color to white
},
+ text: {
+ color: '#d1d5db',
+ },
view: {
stroke: '#666',
},