From 22ec38f877512228fd69a77423a3f33c6fea2b73 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Wed, 12 Jun 2024 10:08:45 +0200 Subject: [PATCH] fix: peekView background Closes #1297 --- .github/workflows/release.yml | 8 ++++---- scripts/generator/color-set.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 679978b..1046254 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,15 +18,15 @@ jobs: - uses: actions/checkout@v2 - name: Use Node Version 12 - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Get npm cache directory id: npm-cache-dir 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' with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -41,7 +41,7 @@ jobs: - name: Build extension run: npm run build - - uses: lannonbr/vsce-action@master + - uses: lannonbr/vsce-action@3.0.0 with: args: "publish -p $VSCE_TOKEN" env: diff --git a/scripts/generator/color-set.ts b/scripts/generator/color-set.ts index ac08757..0235bd7 100644 --- a/scripts/generator/color-set.ts +++ b/scripts/generator/color-set.ts @@ -485,10 +485,10 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => { * Peekview window style */ 'peekView.border': theme.scheme.shadow, - 'peekViewEditor.background': `${theme.scheme.foreground}05`, - 'peekViewTitle.background': `${theme.scheme.foreground}05`, - 'peekViewResult.background': `${theme.scheme.foreground}05`, - 'peekViewEditorGutter.background': `${theme.scheme.foreground}05`, + 'peekViewEditor.background': `${theme.scheme.inputBackground}`, + 'peekViewTitle.background': `${theme.scheme.inputBackground}`, + 'peekViewResult.background': `${theme.scheme.inputBackground}`, + 'peekViewEditorGutter.background': `${theme.scheme.inputBackground}`, 'peekViewTitleDescription.foreground': `${theme.scheme.foreground}60`, 'peekViewResult.matchHighlightBackground': theme.scheme.selection, 'peekViewEditor.matchHighlightBackground': theme.scheme.selection,