-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: error color and number color #927
base: develop
Are you sure you want to change the base?
Conversation
src/js/ace/theme-jsoneditor.js
Outdated
@@ -102,7 +102,7 @@ color: #96DC5F | |||
color: darkorange | |||
} | |||
.ace-jsoneditor .ace_constant.ace_numeric { | |||
color: red | |||
color: rgb(0, 0, 205) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since all colors are using HEX code, it maybe good for consistency to also enter the color for numbers as HEX (#ee422e
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I borrowed the ace editor
the color of the number.
@@ -5,7 +5,7 @@ $jse-blue: #3883fa !default; | |||
$jse-content-color: #1a1a1a !default; | |||
|
|||
$jse-string: #006000 !default; | |||
$jse-number: #ee422e !default; | |||
$jse-number: #6897bb !default; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason that you changed the colors for numbers from red to blue? (I would prefer to keep the red color)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
red just like Error 😂
Thanks for your PR @reatang . Currently the variable |
|
That's correct:
What do you think? |
No description provided.