Skip to content

Fix Sass mixed declaration deprecations#6693

Open
SoftCreatR wants to merge 1 commit into
WoltLab:6.2from
SoftCreatR:bugfix/scss-fixes
Open

Fix Sass mixed declaration deprecations#6693
SoftCreatR wants to merge 1 commit into
WoltLab:6.2from
SoftCreatR:bugfix/scss-fixes

Conversation

@SoftCreatR

Copy link
Copy Markdown
Contributor

Fix Sass mixed-decls deprecation warnings in WCF core and ACP styles by avoiding declarations after nested media-producing mixins.

  • Add wcfFontHeadlineBold for bold headline text without chaining wcfFontHeadline and wcfFontBold
  • Reorder declarations around wcfFontDefault, wcfFontSmall, screen-lg, and related nested mixins
  • Wrap the intentional post-input overrides in itemListInput.scss with & {}

Even after fixing, there are Sass warnings remaining. These are from WSF, etc. where these fixes need to be applied as well.

Add a bold headline font mixin and reorder declarations around nested media-producing mixins to avoid upcoming Sass mixed-decls behavior changes.

This clears the WCF core and ACP SCSS deprecation warnings during style regeneration.
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