Skip to content

Commit

Permalink
Added a toggle in Style Settings to make blurred elements use an opaq…
Browse files Browse the repository at this point in the history
…ue background instead #30
  • Loading branch information
damiankorcz committed Jan 30, 2022
1 parent 5ec9443 commit 2abcdea
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions obsidian.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/scss/Info/styleSettingsConfig.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6157,6 +6157,12 @@ settings:
level: 1
collapsed: true
-
id: pt-remove-blur
title: Remove Blurred Background Effect
description: Remove the blur background in all elements that use it by making them opaque.
default: false
type: class-toggle
-
id: accent-colors-styles
title: Accent Colors and Styles
description: Adjust the Accent Color and Styles used throughout the UI.
Expand Down
9 changes: 9 additions & 0 deletions src/scss/Variables/colorVariables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@
--h5-border-color-custom-lt: hsl(0, 0%, 20%);
--h6-border-color-custom-lt: hsl(0, 0%, 20%);
}

.theme-light.pt-remove-blur {
--background-secondary-blur: hsl(220, 13%, 95%, 1);
}

/* #endregion */

/* #region [Variables] Dark Theme */
Expand Down Expand Up @@ -292,4 +297,8 @@
--h5-border-color-custom-dt: hsla(0, 0%, 20%, 1);
--h6-border-color-custom-dt: hsla(0, 0%, 20%, 1);
}

.theme-dark.pt-remove-blur {
--background-secondary-blur: hsla(0, 0%, 15%, 1);
}
/* #endregion */

0 comments on commit 2abcdea

Please sign in to comment.