Skip to content

fix: preserve ChatGPT surface color in nested elements - #7

Open
dot-1245 wants to merge 1 commit into
Ubaidullah-Web-Dev:mainfrom
dot-1245:fix/chatgpt-surface-color
Open

fix: preserve ChatGPT surface color in nested elements#7
dot-1245 wants to merge 1 commit into
Ubaidullah-Web-Dev:mainfrom
dot-1245:fix/chatgpt-surface-color

Conversation

@dot-1245

Copy link
Copy Markdown

Recent ChatGPT UI changes override --main-surface-primary in nested
dark-mode elements, causing some interface surfaces to remain black
instead of using the Matugen surface color.

This reapplies the Matugen surface token in nested dark-mode scopes.

Tested on current chatgpt.com: --main-surface-primary changed from
#000 to the generated Matugen surface color as expected.

This fix was written with assistance from ChatGPT, by the way.

Tested on

  • Waterfox 6.7.2
  • Arch Linux (7.2.3-arch1-3)
  • MatugenFox v3.0
  • MatugenFox extension from Firefox Add-ons (matugenfox@ubaid.com)
  • chatgpt.com, dark theme
  • Dark Reader disabled for chatgpt.com
  • No other extensions or custom styles modifying chatgpt.com CSS

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