Skip to content

Add dark mode support for Google search#2387

Merged
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-gcs-search-dark-mode-2025-1118
Nov 19, 2025
Merged

Add dark mode support for Google search#2387
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-gcs-search-dark-mode-2025-1118

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Nov 19, 2025

  • Fixes Support dark mode in Google Search results #2358
  • Introduces _gcs-search-dark.scss for Google Programmable Search Engine dark theme support
  • Wraps scss/td/*.scss file content with @if $enable-dark-mode {...}
  • Fixes .prettierignore rules
  • Runs Prettier over main.scss and scss/td/**/*.* except for chroma styles
  • Fixes Google Search results pane with

Preview

Screenshots

After:

image

Before:

image

@chalin chalin added enhancement New feature or request design/style Front-end site design / styling labels Nov 19, 2025
Introduces _gcs-search-dark.scss for Google Programmable Search Engine dark theme support and updates imports in _styles_project.scss. Dark mode logic is added to _code-dark.scss and _color-adjustments-dark.scss, and search layout improvements are made in _search.scss. Updates .prettierignore to better handle SCSS files and bumps package version.
@chalin chalin force-pushed the chalin-m24-gcs-search-dark-mode-2025-1118 branch from fe2e0f7 to 50a2efc Compare November 19, 2025 01:24
@chalin
Copy link
Copy Markdown
Collaborator Author

chalin commented Nov 19, 2025

@LisaFC @emckean - I'll update the docs separately.

@chalin chalin merged commit c37aad0 into google:main Nov 19, 2025
11 checks passed
@chalin chalin deleted the chalin-m24-gcs-search-dark-mode-2025-1118 branch November 19, 2025 06:25
@chalin chalin added this to the 25Q4 milestone Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design/style Front-end site design / styling enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support dark mode in Google Search results

1 participant