From 4529bf8c9e4a0202ab5763fe40454ef61f6002c1 Mon Sep 17 00:00:00 2001 From: lianahus Date: Thu, 11 Nov 2021 11:00:00 +0100 Subject: [PATCH] changed the var location color --- libs/remix-ui/editor/src/lib/remix-ui-editor.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index 661b2a7c5c..bd071a7230 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -88,7 +88,7 @@ export const EditorUI = (props: EditorUIProps) => { const warningColor = window.getComputedStyle(document.documentElement).getPropertyValue('--warning').trim() const yellowColor = window.getComputedStyle(document.documentElement).getPropertyValue('--yellow').trim() const pinkColor = window.getComputedStyle(document.documentElement).getPropertyValue('--pink').trim() - const primaryColor = window.getComputedStyle(document.documentElement).getPropertyValue('--primary').trim() + const locationColor = '#9e7e08' const purpleColor = window.getComputedStyle(document.documentElement).getPropertyValue('--purple').trim() const dangerColor = window.getComputedStyle(document.documentElement).getPropertyValue('--danger').trim() @@ -133,9 +133,9 @@ export const EditorUI = (props: EditorUIProps) => { { token: 'keyword.immutable', foreground: warningColor }, // data location - { token: 'keyword.memory', foreground: primaryColor }, - { token: 'keyword.storage', foreground: primaryColor }, - { token: 'keyword.calldata', foreground: primaryColor }, + { token: 'keyword.memory', foreground: locationColor }, + { token: 'keyword.storage', foreground: locationColor }, + { token: 'keyword.calldata', foreground: locationColor }, // // forf functions and modifiers { token: 'keyword.virtual', foreground: purpleColor },