From 094831f037785ecddb5a060c3c5164278bdab85a Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Wed, 17 Jul 2019 09:12:09 +0200 Subject: [PATCH] Fix highlight color in dark mode --- app/index.html | 6 ++---- app/src/components/Tree/TreeNode/styles.ts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/index.html b/app/index.html index 2779afa..64e94ff 100644 --- a/app/index.html +++ b/app/index.html @@ -22,10 +22,10 @@ background-color: none; } 25% { - background-color: #4f5781; + background-color: #595585; } 50% { - background-color: #4f5781; + background-color: #595585; } 100% { background-color: none; @@ -39,11 +39,9 @@ } 25% { background-color: #c0c8c0; - color: #000; } 50% { background-color: #c0c8c0; - color: #000; } 100% { background-color: none; diff --git a/app/src/components/Tree/TreeNode/styles.ts b/app/src/components/Tree/TreeNode/styles.ts index 01944f8..30b936f 100644 --- a/app/src/components/Tree/TreeNode/styles.ts +++ b/app/src/components/Tree/TreeNode/styles.ts @@ -6,12 +6,12 @@ export const styles = (theme: Theme) => { animationLight: { willChange: 'auto', translateZ: 0, - animation: `updateLight 0.5s`, + animation: 'updateLight 0.5s', }, animationDark: { willChange: 'auto', translateZ: 0, - animation: `updateLight 0.5s`, + animation: 'updateDark 0.5s', }, collapsedSubnodes: { color: theme.palette.text.secondary,