From c53a3f0c97c5a5e7373c0cc49f48973d30b0516f Mon Sep 17 00:00:00 2001 From: Muhammad Muzzammil Date: Sat, 13 Apr 2019 16:40:19 +0530 Subject: [PATCH] Add dynamic color property for input --- components/Themes/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/Themes/index.js b/components/Themes/index.js index fca1278..845a37c 100644 --- a/components/Themes/index.js +++ b/components/Themes/index.js @@ -150,6 +150,10 @@ class Themes extends React.PureComponent { background-color: ${highlights.background} !important; } + :global(.window-title-container input) { + color: ${isColorLight(highlights.background || "#000000") ? "black" : "white"}; + } + :global(.cm-string), :global(.cm-string-2) { color: ${highlights.string} !important;