Skip to content

[stable31] fix(theming): Correctly generate CSS for font themes #53921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jul 11, 2025

Backport of PR #53857

Fixes a regression from dropping the SCSS compiler that broke
font themes like OpenDyslexic. The old code relied on the SCSS
compiler to automatically correct the order of the CSS rules,
ensuring the @font-face declaration was always valid.
The server now correctly generates the `@font-face` rule at
the top level of the stylesheet, fixing the previously invalid nested CSS.

Introduced in : f1448fc

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@backportbot backportbot bot requested review from nickvergessen, susnux and nfebe July 11, 2025 19:49
@backportbot backportbot bot added the 3. to review Waiting for reviews label Jul 11, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.8 milestone Jul 11, 2025
@nickvergessen nickvergessen merged commit 02eb875 into stable31 Jul 14, 2025
198 of 210 checks passed
@nickvergessen nickvergessen deleted the backport/53857/stable31 branch July 14, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants