Skip to content

Commit

Permalink
feat(ui): style new block terminal (#131)
Browse files Browse the repository at this point in the history
Co-authored-by: sgoudham <[email protected]>
  • Loading branch information
linden-dg and sgoudham authored May 11, 2024
1 parent c9fc9a7 commit 13039ad
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Added

- (UI): Style new block terminal

### Changed

### Deprecated
Expand Down
126 changes: 126 additions & 0 deletions generateFlavours/editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
<colors>
<option name="ADDED_LINES_COLOR" value="{{green}}"/>
<option name="ANNOTATIONS_COLOR" value="{{text}}"/>
<option name="BLOCK_TERMINAL_BLOCK_BACKGROUND_END" value="{{mantle}}" />
<option name="BLOCK_TERMINAL_BLOCK_BACKGROUND_START" value="{{mantle}}" />
<option name="BLOCK_TERMINAL_DEFAULT_BACKGROUND" value="{{base}}" />
<option name="BLOCK_TERMINAL_DEFAULT_FOREGROUND" value="{{text}}" />
<option name="BLOCK_TERMINAL_ERROR_BLOCK_STROKE_COLOR" value="{{red}}" />
<option name="BLOCK_TERMINAL_INACTIVE_SELECTED_BLOCK_BACKGROUND" value="{{surface1}}" />
<option name="BLOCK_TERMINAL_INACTIVE_SELECTED_BLOCK_STROKE_COLOR" value="{{overlay0}}" />
<option name="BLOCK_TERMINAL_PROMPT_SEPARATOR_COLOR" value="{{surface1}}" />
<option name="BLOCK_TERMINAL_SELECTED_BLOCK_BACKGROUND" value="{{surface0}}" />
<option name="BLOCK_TERMINAL_SELECTED_BLOCK_STROKE_COLOR" value="{{blue}}" />
<option name="CARET_COLOR" value="{{rosewater}}"/>
<option name="CARET_ROW_COLOR" value="{{isLatte (opacity surface1 0.15) (opacity surface1 0.2)}}"/>
<option name="CONSOLE_BACKGROUND_KEY" value="{{base}}"/>
Expand Down Expand Up @@ -152,6 +162,122 @@
<option name="FOREGROUND" value="{{mauve}}"/>
</value>
</option>
<option name="TERMINAL_BACKGROUND" value="{{base}}"/>
<option name="BLOCK_TERMINAL_COMMAND">
<value>
<option name="FOREGROUND" value="{{blue}}" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="BLOCK_TERMINAL_CURRENT_SEARCH_ENTRY">
<value>
<option name="FOREGROUND" value="{{text}}" />
<option name="BACKGROUND" value="{{opacity red 0.3}}" />
</value>
</option>
<option name="BLOCK_TERMINAL_SEARCH_ENTRY">
<value>
<option name="FOREGROUND" value="{{text}}" />
<option name="BACKGROUND" value="{{opacity blue 0.3}}" />
</value>
</option>
<option name="BLOCK_TERMINAL_BLACK" >
<value>
<option name="FOREGROUND" value="{{isLatte subtext1 surface1}}"/>
<option name="BACKGROUND" value="{{isLatte subtext1 surface1}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_BLUE" >
<value>
<option name="FOREGROUND" value="{{blue}}"/>
<option name="BACKGROUND" value="{{blue}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_CYAN" >
<value>
<option name="FOREGROUND" value="{{teal}}"/>
<option name="BACKGROUND" value="{{teal}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_GREEN" >
<value>
<option name="FOREGROUND" value="{{green}}"/>
<option name="BACKGROUND" value="{{green}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_MAGENTA">
<value>
<option name="FOREGROUND" value="{{pink}}"/>
<option name="BACKGROUND" value="{{pink}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_RED" >
<value>
<option name="FOREGROUND" value="{{red}}"/>
<option name="BACKGROUND" value="{{red}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_WHITE" >
<value>
<option name="FOREGROUND" value="{{isLatte surface2 subtext1}}"/>
<option name="BACKGROUND" value="{{isLatte surface2 subtext1}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_YELLOW" >
<value>
<option name="FOREGROUND" value="{{yellow}}"/>
<option name="BACKGROUND" value="{{yellow}}"/>
</value>
</option>

<option name="BLOCK_TERMINAL_BLACK_BRIGHT" >
<value>
<option name="FOREGROUND" value="{{isLatte subtext0 surface2}}"/>
<option name="BACKGROUND" value="{{isLatte subtext0 surface2}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_BLUE_BRIGHT" >
<value>
<option name="FOREGROUND" value="{{blue}}"/>
<option name="BACKGROUND" value="{{blue}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_CYAN_BRIGHT" >
<value>
<option name="FOREGROUND" value="{{teal}}"/>
<option name="BACKGROUND" value="{{teal}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_GREEN_BRIGHT" >
<value>
<option name="FOREGROUND" value="{{green}}"/>
<option name="BACKGROUND" value="{{green}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_MAGENTA_BRIGHT" >
<value>
<option name="FOREGROUND" value="{{pink}}"/>
<option name="BACKGROUND" value="{{pink}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_RED_BRIGHT">
<value>
<option name="FOREGROUND" value="{{red}}"/>
<option name="BACKGROUND" value="{{red}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_WHITE_BRIGHT">
<value>
<option name="FOREGROUND" value="{{isLatte surface1 subtext0}}"/>
<option name="BACKGROUND" value="{{isLatte surface1 subtext0}}"/>
</value>
</option>
<option name="BLOCK_TERMINAL_YELLOW_BRIGHT" >
<value>
<option name="FOREGROUND" value="{{yellow}}"/>
<option name="BACKGROUND" value="{{yellow}}"/>
</value>
</option>
<option name="BOOKMARKS_ATTRIBUTES">
<value/>
</option>
Expand Down

0 comments on commit 13039ad

Please sign in to comment.