Skip to content

fix(themes): remove screen.css gate from theme discovery - #20

Merged
ralflang merged 1 commit into
FRAMEWORK_6_0from
fix/theme-discovery-no-css-gate
May 25, 2026
Merged

ralflang merged 1 commit into
FRAMEWORK_6_0from
fix/theme-discovery-no-css-gate

Conversation

@ralflang

Copy link
Copy Markdown
Member

Summary

  • Removes the screen.css file existence check from ThemesHandler::setupDefaultTheme()
  • A theme directory's existence under themes/{name}/ is sufficient for recognition
  • Fixes apps like passwd that only ship responsive.css or image-only themes not getting symlinked

Test plan

  • Run composer horde:reconfigure --force on an installation with passwd
  • Verify web/themes/passwd/default symlink is created
  • Verify no regressions for apps with screen.css

A theme directory's existence under themes/{name}/ is sufficient
to be recognized. The screen.css check prevented apps with only
responsive.css or image-only themes from being symlinked.
@ralflang
ralflang marked this pull request as ready for review May 25, 2026 06:07
@ralflang
ralflang merged commit 8b28f5b into FRAMEWORK_6_0 May 25, 2026
1 check failed
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