Skip to content

Commit

Permalink
Fix sticky scroll background on peekview
Browse files Browse the repository at this point in the history
and improve readibility
  • Loading branch information
BeardedBear committed Jul 28, 2023
1 parent c9ac2b5 commit 01cda15
Show file tree
Hide file tree
Showing 62 changed files with 95 additions and 69 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog for Bearded Theme

## 8.3.2 - 2023-07-28

### Enhancements

- Improve readibility or peekview

### Fixes

- Fix sticky scroll background on peekview (Thanks [aiday-mar](https://github.com/BeardedBear/bearded-theme/issues/127))

## 8.3.1 - 2023-07-26

- Fix drop color on activity bar buttons (Thanks [Loskir](https://github.com/BeardedBear/bearded-theme/issues/125))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Bearded Theme",
"description": "The theme with a long beard.",
"publisher": "BeardedBear",
"version": "8.3.1",
"version": "8.3.2",
"type": "module",
"engines": {
"vscode": "^1.69.0"
Expand Down
34 changes: 25 additions & 9 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ export default function ui(
}`,
"editorLineNumber.activeForeground": theme.ui.defaultalt,

"editorStickyScrollHover.background": c(theme.ui.uibackground)
.lighten(0.06)
.toHex(),

// dropdown
"dropdown.background": theme.ui.uibackground,
"dropdown.listBackground": theme.ui.uibackground,
Expand Down Expand Up @@ -327,20 +331,32 @@ export default function ui(
"panelSectionHeader.foreground": theme.ui.default,
"panelSectionHeader.border": theme.ui.uiborder,

// pickView
"peekView.border": theme.ui.primary,
"peekViewEditor.background": `${theme.ui.primaryalt}40`,
// Peekview
"peekViewEditor.background": c(theme.ui.uibackground).lighten(0.04).toHex(),
"peekViewEditorGutter.background": c(theme.ui.uibackground)
.lighten(0.04)
.toHex(),
"peekViewEditor.matchHighlightBackground": `${theme.ui.primaryalt}40`,
"peekViewResult.background": `${theme.ui.primaryalt}40`,
"peekViewResult.background": c(theme.ui.uibackground)
.lighten(0.025)
.toHex(),
"peekViewResult.fileForeground": theme.ui.default,
"peekViewResult.lineForeground": theme.ui.default,
"peekViewResult.matchHighlightBackground": theme.ui.primaryalt,
"peekViewResult.selectionBackground": theme.ui.primaryalt,
"peekViewResult.lineForeground": theme.ui.defaultMain,
"peekViewResult.matchHighlightBackground": c(theme.ui.primary)
.alpha(0.5)
.toHex(),
"peekViewEditor.matchHighlightBorder": transparent,
"peekViewResult.selectionBackground": c(theme.ui.primary)
.alpha(0.2)
.toHex(),
"peekViewResult.selectionForeground": theme.ui.default,
"peekViewTitle.background": theme.ui.uiborder,
"peekViewTitle.background": c(theme.ui.uibackground).lighten(0.05).toHex(),
"peekView.border": theme.ui.uiborder,
"peekViewTitleDescription.foreground": theme.ui.default,
"peekViewTitleLabel.foreground": theme.ui.default,
"peekViewEditorGutter.background": `${theme.ui.primaryalt}40`,
"peekViewEditorStickyScroll.background": c(theme.ui.uibackground)
.lighten(0.04)
.toHex(),
"editorMarkerNavigation.background": theme.ui.uibackgroundalt,
"editorMarkerNavigationError.background": `${theme.levels.danger}90`,
"editorMarkerNavigationWarning.background": `${theme.levels.warning}90`,
Expand Down
2 changes: 1 addition & 1 deletion themes/bearded-theme-arc-blueberry.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-arc-eggplant.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-arc-eolstorm.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-arc-reversed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-arc.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-amethyst-soft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-amethyst.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-diamond-soft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-diamond.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-emerald-soft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-emerald.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-gold-soft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-gold.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-ruby-soft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-black-ruby.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-classics-anthracite.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-classics-light.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-coffee-cream.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-coffee-reversed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-coffee.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-exotic-altica.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-exotic-earth.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-exotic-void.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-gold-d-raynh-light.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-gold-d-raynh.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-brewing-storm.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-chocolateespresso.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-ebony.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-flurry.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-midnightvoid.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-minuit.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-hc-wonderland-wood.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-mellejulie-light.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-mellejulie.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-milkshake-blueberry.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-milkshake-mango.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-milkshake-mint.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-milkshake-raspberry.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-milkshake-vanilla.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-monokai-black.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-monokai-metallian.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-monokai-reversed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-monokai-stone.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-monokai-terra.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-oceanic-reversed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-oceanic.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-solarized-dark.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-solarized-light.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-solarized-reversed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-stained-blue.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-stained-purple.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-surprising-blueberry.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-surprising-eggplant.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-surprising-watermelon.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-vivid-black.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-vivid-light.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-vivid-purple.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bearded-theme-will.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/ui-key-tester.json
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@
"inlineChatInput.border": "#ff0000",
"inlineChatInput.focusBorder": "#ff0000",
"inlineChatInput.placeholderForeground": "#ff0000",
"inlineChatrDiff.removed": "#ff0000"
"inlineChatrDiff.removed": "#ff0000",
},
"tokenColors": [
{
Expand Down

0 comments on commit 01cda15

Please sign in to comment.