Skip to content

Patch Setting.ui_theme class method#16

Open
alessandro-fazzi wants to merge 1 commit into
haru:developfrom
alessandro-fazzi:patch_setting_ui_theme
Open

Patch Setting.ui_theme class method#16
alessandro-fazzi wants to merge 1 commit into
haru:developfrom
alessandro-fazzi:patch_setting_ui_theme

Conversation

@alessandro-fazzi

Copy link
Copy Markdown

Now the method returns the theme set in user
settings through plugin's additional config.

If the user hasn't set a custom theme, then
it fallback to what is the core implementation.

The major effect obtained is to have the right
class names produced by
ApplicationHelper#css_body_classes, thus not
breaking the css targeting a specific theme
using body's classes.

Now the method returns the theme set in user
settings through plugin's additional config.

If the user hasn't set a custom theme, then
it fallback to what is the core implementation.

The major effect obtained is to have the right
class names produced by
ApplicationHelper#css_body_classes, thus not
breaking the css targeting a specific theme
using body's classes.
@codecov

codecov Bot commented Nov 9, 2021

Copy link
Copy Markdown

Codecov Report

Merging #16 (b424570) into develop (16f2d50) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           develop       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           17        17           
=========================================
  Hits            17        17           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16f2d50...b424570. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant