From 9af1272530147d6b009182ca8fc4c5b6d00617b1 Mon Sep 17 00:00:00 2001 From: Andy O'Neill Date: Wed, 15 Feb 2023 13:46:39 -0500 Subject: [PATCH] feat: use updated names for text colors --- src/lib/themes/dark-mode.js | 3 ++- src/lib/themes/default-colors.js | 3 ++- src/lib/themes/high-contrast.js | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/themes/dark-mode.js b/src/lib/themes/dark-mode.js index d9fc37a57..707f6a33c 100644 --- a/src/lib/themes/dark-mode.js +++ b/src/lib/themes/dark-mode.js @@ -54,7 +54,8 @@ const blockColors = { secondary: '#4C4C4C', tertiary: '#FF6680' }, - text: '#E5E5E5', + text: 'rgba(255, 255, 255, .7)', + textFieldText: '#E5E5E5', workspace: '#121212', toolboxSelected: '#4C4C4C', toolboxText: '#E5E5E5', diff --git a/src/lib/themes/default-colors.js b/src/lib/themes/default-colors.js index e9f9cde3c..e7567573e 100644 --- a/src/lib/themes/default-colors.js +++ b/src/lib/themes/default-colors.js @@ -56,7 +56,7 @@ const blockColors = { secondary: '#FF4D6A', tertiary: '#FF3355' }, - text: '#575E75', + text: '#FFFFFF', workspace: '#F9F9F9', toolboxHover: '#4C97FF', toolboxSelected: '#E9EEF2', @@ -66,6 +66,7 @@ const blockColors = { scrollbar: '#CECDCE', scrollbarHover: '#CECDCE', textField: '#FFFFFF', + textFieldText: '#575E75', insertionMarker: '#000000', insertionMarkerOpacity: 0.2, dragShadowOpacity: 0.6, diff --git a/src/lib/themes/high-contrast.js b/src/lib/themes/high-contrast.js index 1c185556f..d7abd0674 100644 --- a/src/lib/themes/high-contrast.js +++ b/src/lib/themes/high-contrast.js @@ -73,8 +73,8 @@ const blockColors = { // For productionizing: we should look into making this field be the color of the text on the blocks // e.g. move and steps in move (10) steps, and rename this property below for controlling the text inside // of inputs e.g. 10 - text: '#000000', // Text inside of inputs e.g. 90 in [point in direction (90)] - + text: '#000000', + textFieldText: '#000000', // Text inside of inputs e.g. 90 in [point in direction (90)] toolboxText: '#000000', // Toolbox text, color picker text (used to be #575E75) // The color that the category menu label (e.g. 'motion', 'looks', etc.) changes to on hover toolboxHover: '#3373CC',