Skip to content

Commit

Permalink
chore: update transparent window background
Browse files Browse the repository at this point in the history
  • Loading branch information
KochiyaOcean committed Oct 12, 2023
1 parent 17eb0ea commit 8b55550
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions views/env-parts/theme.es
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ export function loadStyle(
const setBackgroundColor = (isDark, isVibrant) => {
if (isVibrant) {
if ('darwin' === process.platform) {
delaySetBackgroundColor(isDark ? '#2F343C96' : '#F6F7F996')
delaySetBackgroundColor(isDark ? 'rgba(47, 52, 60, 0.59)' : 'rgba(246, 247, 249, 0.59)')
} else {
delaySetBackgroundColor(isDark ? '#2F343CDA' : '#F6F7F9DA')
delaySetBackgroundColor(isDark ? 'rgba(36, 41, 46, 0.7)' : 'rgba(246, 247, 249, 0.25)')
}
} else {
delaySetBackgroundColor(isDark ? '#2F343C' : '#F6F7F9')
delaySetBackgroundColor(isDark ? 'rgb(47, 52, 60)' : 'rgb(246, 247, 249)')
}
}

Expand All @@ -129,7 +129,7 @@ export function loadStyle(
const isDark = theme === 'dark'
window.isDarkTheme = isDark
setBackgroundColor(isDark, isVibrant)
glass.style.backgroundColor = isDark ? '#2F343CE6' : '#F6F7F9E6'
glass.style.backgroundColor = isDark ? 'rgb(47, 52, 60)' : 'rgb(246, 247, 249)'
setFilter(config.get('poi.appearance.colorblindFilter'))
delaySetClassName(
classNames('bp4-focus-disabled', {
Expand Down

0 comments on commit 8b55550

Please sign in to comment.