diff --git a/package.json b/package.json index 0572b88b7..ca3725354 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "visyn_core", "description": "Core repository for datavisyn applications.", - "version": "8.1.0", + "version": "8.1.1", "author": { "name": "datavisyn GmbH", "email": "contact@datavisyn.io", diff --git a/src/app/header/DatavisynLogo.tsx b/src/app/header/DatavisynLogo.tsx index c048de3ca..6b89b0dee 100644 --- a/src/app/header/DatavisynLogo.tsx +++ b/src/app/header/DatavisynLogo.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Anchor, rem } from '@mantine/core'; +import { Anchor } from '@mantine/core'; import datavisynLogoWhite from '../../assets/datavisyn_white.svg'; import datavisynLogoBlack from '../../assets/datavisyn_black.svg'; import datavisynLogoColor from '../../assets/datavisyn_color.svg'; @@ -7,7 +7,7 @@ import datavisynLogoColor from '../../assets/datavisyn_color.svg'; export function DatavisynLogo({ color }: { color: 'white' | 'black' | 'color' }) { const source = color === 'white' ? datavisynLogoWhite : color === 'black' ? datavisynLogoBlack : datavisynLogoColor; return ( - + logo ); diff --git a/src/vis/scatter/ScatterVis.tsx b/src/vis/scatter/ScatterVis.tsx index d14b94d3c..7c53fbe07 100644 --- a/src/vis/scatter/ScatterVis.tsx +++ b/src/vis/scatter/ScatterVis.tsx @@ -111,7 +111,7 @@ export function ScatterVis({ if (selectedList.length === 0 && config.showLabels === ELabelingOptions.SELECTED) { // @ts-ignore - p.data.selected.textfont.color = 'white'; + p.data.selected.textfont.color = `rgba(102, 102, 102, 0)`; } else if (selectedList.length === 0 && config.showLabels === ELabelingOptions.ALWAYS) { // @ts-ignore p.data.selected.textfont.color = `rgba(102, 102, 102, ${config.alphaSliderVal})`; diff --git a/src/vis/scatter/utils.ts b/src/vis/scatter/utils.ts index 27165983e..cddc1df4c 100644 --- a/src/vis/scatter/utils.ts +++ b/src/vis/scatter/utils.ts @@ -201,7 +201,7 @@ export async function createScatterTraces( size: sizeSliderVal, }, textfont: { - color: showLabels === ELabelingOptions.NEVER ? 'white' : '#666666', + color: showLabels === ELabelingOptions.NEVER ? `rgba(102, 102, 102, 0)` : `rgba(102, 102, 102, 1)`, }, }, unselected: { @@ -214,7 +214,7 @@ export async function createScatterTraces( size: sizeSliderVal, }, textfont: { - color: showLabels === ELabelingOptions.ALWAYS ? `rgba(179, 179, 179, ${alphaSliderVal})` : 'white', + color: showLabels === ELabelingOptions.ALWAYS ? `rgba(179, 179, 179, ${alphaSliderVal})` : `rgba(179, 179, 179, 0)`, }, }, },