Skip to content

Commit 436f6c7

Browse files
committed
Update console colors for light and dark themes
1 parent 451a05f commit 436f6c7

File tree

7 files changed

+32
-26
lines changed

7 files changed

+32
-26
lines changed

client/images/console-debug-light.svg

Lines changed: 1 addition & 1 deletion
Loading

client/images/console-info-dark.svg

Lines changed: 1 addition & 1 deletion
Loading

client/images/console-info-light.svg

Lines changed: 1 addition & 1 deletion
Loading

client/images/console-warn-light.svg

Lines changed: 1 addition & 1 deletion
Loading

client/styles/abstracts/_variables.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ $themes: (
6666
console-color: $lightest,
6767
console-header-background-color: $medium-light,
6868
console-header-color: $darker,
69-
console-info-background-color: $lightsteelblue,
70-
console-warn-background-color: $orange,
71-
console-debug-background-color: $dodgerblue,
72-
console-error-background-color: $red,
69+
console-info-background-color: #5276B7,
70+
console-warn-background-color: #996B00,
71+
console-debug-background-color: #0071AD,
72+
console-error-background-color: #D11518,
7373
ide-border-color: $medium-light,
7474
editor-gutter-color: $lighter,
7575
file-hover-color: $light,
@@ -140,10 +140,10 @@ $themes: (
140140
console-color: $lightest,
141141
console-header-background-color: $medium-dark,
142142
console-header-color: $lightest,
143-
console-info-background-color: $lightsteelblue,
144-
console-warn-background-color: $orange,
145-
console-debug-background-color: $dodgerblue,
146-
console-error-background-color: $red,
143+
console-info-background-color: #5276B7,
144+
console-warn-background-color: #966C08,
145+
console-error-background-color: #DD3134,
146+
console-debug-background-color: #097BB3,
147147
ide-border-color: $middle-dark,
148148
editor-gutter-color: $darker,
149149
file-hover-color: $dark,
@@ -260,7 +260,7 @@ $toast-text-color: $lightest;
260260

261261
$light-console-error-color: #D11518;
262262
$light-console-warn-color: #FAAF00;
263-
$light-console-debug-color: #007BBB;
263+
$light-console-debug-color: #0071AD;
264264

265265
$dark-console-error-color: #DF3A3D;
266266
$dark-console-warn-color: #F5BC38;

client/styles/components/_console-feed.scss

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ $CONSOLE_FEED_LIGHT_STYLES: (
1111
LOG_ERROR_COLOR: '#D11518',
1212
LOG_ERROR_BORDER: 'hsl(0, 100%, 92%)',
1313
LOG_WARN_BACKGROUND: 'hsl(50, 100%, 95%)',
14-
LOG_WARN_COLOR: '#FAAF00',
14+
LOG_WARN_COLOR: '#996B00',
1515
LOG_WARN_BORDER: 'hsl(50, 100%, 88%)',
16-
LOG_INFO_COLOR: '#7D7D7D',
17-
LOG_DEBUG_COLOR: '#007BBB',
18-
LOG_COLOR: 'rgb(128, 128, 128)'
16+
LOG_INFO_COLOR: '#4D4D4D',
17+
LOG_DEBUG_COLOR: '#0071AD',
18+
LOG_DEBUG_BACKGROUND: '#D6F1FF',
19+
LOG_DEBUG_BORDER: '#C2EBFF',
20+
LOG_COLOR: '#4D4D4D'
1921
);
2022

2123
$CONSOLE_FEED_DARK_STYLES: (
@@ -30,12 +32,16 @@ $CONSOLE_FEED_DARK_STYLES: (
3032
OBJECT_VALUE_NUMBER_COLOR: 'hsl(230, 100%, 80%)',
3133
OBJECT_VALUE_BOOLEAN_COLOR: 'hsl(230, 100%, 80%)',
3234
OBJECT_VALUE_FUNCTION_KEYWORD_COLOR: 'hsl(230, 100%, 80%)',
33-
LOG_ERROR_BACKGROUND: 'hsl(0, 100%, 8%)',
34-
LOG_ERROR_COLOR: '#df3a3d',
35+
LOG_ERROR_BACKGROUND: '#1F0000',
36+
LOG_ERROR_COLOR: '#DF3A3D',
3537
LOG_WARN_BACKGROUND: 'hsl(50, 100%, 10%)',
36-
LOG_WARN_COLOR: '#f5bc38',
37-
LOG_INFO_COLOR: '#a3a3a3',
38-
LOG_DEBUG_COLOR: '#0c99e2',
38+
LOG_WARN_COLOR: '#F5BC38',
39+
LOG_INFO_COLOR: '#D9D9D9',
40+
LOG_INFO_BORDER: '#4D4D4D',
41+
LOG_COLOR: '#D9D9D9',
42+
LOG_DEBUG_COLOR: '#0C99E2',
43+
LOG_DEBUG_BACKGROUND: '#05232E',
44+
LOG_DEBUG_BORDER: '#0C546E',
3945
TABLE_BORDER_COLOR: 'grey',
4046
TABLE_TH_BACKGROUND_COLOR: 'transparent',
4147
TABLE_TH_HOVER_COLOR: 'grey',

client/styles/components/_console.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@
9090
.preview-console__clear {
9191
@include themify() {
9292
@extend %link;
93-
// color: getThemifyVariable('inactive-text-color');
94-
// &:hover {
95-
// color: getThemifyVariable('console-header-color');
96-
// }
93+
color: getThemifyVariable('secondary-text-color');
94+
&:hover {
95+
color: getThemifyVariable('heavy-text-color');
96+
}
9797
}
9898
background: transparent;
9999
border: none;

0 commit comments

Comments
 (0)