Skip to content
This repository was archived by the owner on Jul 3, 2026. It is now read-only.

Use Framework desk_theme for Drive theming - #631

Merged
safwansamsudeen merged 1 commit into
developfrom
theming
Jun 10, 2026
Merged

Use Framework desk_theme for Drive theming#631
safwansamsudeen merged 1 commit into
developfrom
theming

Conversation

@safwansamsudeen

@safwansamsudeen safwansamsudeen commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Drive theme now follows User.desk_theme (Light / Dark / Automatic), synced with Desk
  • Adds Automatic theme
  • Replaces the localStorage toggle with a theme submenu that persists via Framework's switch_theme

There was also a weird "flash" when you changed the theme in Drive - this is solved by adding a theme-switching classes that stops transitions from applying during the shift.

Drive now reads and persists theme via User.desk_theme, matching Desk behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@safwansamsudeen
safwansamsudeen merged commit f70214f into develop Jun 10, 2026
1 check passed
@safwansamsudeen
safwansamsudeen deleted the theming branch June 10, 2026 07:07
GursheenK pushed a commit to frappe/suite that referenced this pull request Jun 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant