Skip to content

Commit

Permalink
Container shell text highlight color
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent99 committed Dec 11, 2020
1 parent 7db5e91 commit 9a50a6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/styles/themes/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@

--terminal-bg: var(--wm-body-bg);
--terminal-cursor: var(--warning);
--terminal-selection: #{$selected};
--terminal-text: var(--body-text);

--logs-bg: var(--wm-body-bg);
Expand Down
1 change: 1 addition & 0 deletions assets/styles/themes/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ $selected: rgba($primary, .5);

--terminal-bg : var(--body-bg);
--terminal-cursor : var(--warning);
--terminal-selection : #{$selected};
--terminal-text : var(--body-text);

--logs-bg : var(--wm-body-bg);
Expand Down
1 change: 1 addition & 0 deletions components/nav/WindowManager/ContainerShell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export default {
theme: {
background: docStyle.getPropertyValue('--terminal-bg').trim(),
cursor: docStyle.getPropertyValue('--terminal-cursor').trim(),
selection: docStyle.getPropertyValue('--terminal-selection').trim(),
foreground: docStyle.getPropertyValue('--terminal-text').trim()
},
...this.xtermConfig,
Expand Down

0 comments on commit 9a50a6b

Please sign in to comment.