Skip to content

Commit

Permalink
Change image "opacity" to "filter brightness"
Browse files Browse the repository at this point in the history
  • Loading branch information
Soitora committed Jan 31, 2023
1 parent 878b7fd commit 0c5e06d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sweclockers-dark.styl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var-warning ?= #EE4757
var-theme ?= #F19A57
var-theme-shade ?= shade(var-theme, 20%)
var-theme-text ?= #FFFFFF
var-image-opacity ?= 0.75
var-image-brightness ?= 0.75
var-scrollbar-style ?= scrollbar-default
var-accessibility-focus ?= accessibility-focus-default
var-lemonillusion-width ?= lemonillusion-width-default
Expand Down Expand Up @@ -136,7 +136,7 @@ a:hover>.label,
opacity var-hover-opacity

img
opacity var-image-opacity
filter brightness(var-image-brightness)

.ad
&.adPanorama,
Expand Down
2 changes: 1 addition & 1 deletion src/user.options
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@var color var-warning "Warning color" #EE4757
@var color var-theme "Theme color" #F19A57
@var color var-theme-text "Theme color text" #FFFFFF
@var number var-image-opacity "Image opacity" [0.75, 0, 1, 0.05]
@var number var-image-brightness "Image brightness" [0.75, 0, 1, 0.05]
@var select var-scrollbar-style "Scrollbar" {
"Default": "scrollbar-default",
"Custom*": "scrollbar-custom"
Expand Down

0 comments on commit 0c5e06d

Please sign in to comment.