fix: peekView background

Closes #1297
This commit is contained in:
Mattia Astorino 2024-06-12 10:08:45 +02:00
parent 64acc5838d
commit 22ec38f877
2 changed files with 8 additions and 8 deletions

View file

@ -18,15 +18,15 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node Version 12 - name: Use Node Version 12
uses: actions/setup-node@v1 uses: actions/setup-node@v4
with: with:
node-version: '16.x' node-version: '20.x'
- name: Get npm cache directory - name: Get npm cache directory
id: npm-cache-dir id: npm-cache-dir
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3 - uses: actions/cache@v4
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with: with:
path: ${{ steps.npm-cache-dir.outputs.dir }} path: ${{ steps.npm-cache-dir.outputs.dir }}
@ -41,7 +41,7 @@ jobs:
- name: Build extension - name: Build extension
run: npm run build run: npm run build
- uses: lannonbr/vsce-action@master - uses: lannonbr/vsce-action@3.0.0
with: with:
args: "publish -p $VSCE_TOKEN" args: "publish -p $VSCE_TOKEN"
env: env:

View file

@ -485,10 +485,10 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => {
* Peekview window style * Peekview window style
*/ */
'peekView.border': theme.scheme.shadow, 'peekView.border': theme.scheme.shadow,
'peekViewEditor.background': `${theme.scheme.foreground}05`, 'peekViewEditor.background': `${theme.scheme.inputBackground}`,
'peekViewTitle.background': `${theme.scheme.foreground}05`, 'peekViewTitle.background': `${theme.scheme.inputBackground}`,
'peekViewResult.background': `${theme.scheme.foreground}05`, 'peekViewResult.background': `${theme.scheme.inputBackground}`,
'peekViewEditorGutter.background': `${theme.scheme.foreground}05`, 'peekViewEditorGutter.background': `${theme.scheme.inputBackground}`,
'peekViewTitleDescription.foreground': `${theme.scheme.foreground}60`, 'peekViewTitleDescription.foreground': `${theme.scheme.foreground}60`,
'peekViewResult.matchHighlightBackground': theme.scheme.selection, 'peekViewResult.matchHighlightBackground': theme.scheme.selection,
'peekViewEditor.matchHighlightBackground': theme.scheme.selection, 'peekViewEditor.matchHighlightBackground': theme.scheme.selection,