Skip to content

Conversation

@deeivihh
Copy link
Contributor

This small pull request solves the problem discussed in this discord thread, where the text in dark mode has very little contrast.

I added the light-dark function and set the text color for dark mode to #ddd6d0 (based on packages/teletype/app.scss .dark) to improve the contrast.

before

image

after

image

@deeivihh
Copy link
Contributor Author

srry for the format error. it must be a github bug because my code isn't like that
image

Copy link
Member

@MaximilianHeidenreich MaximilianHeidenreich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deeivihh PR looks good, but the commits need to be signed-off. Please referr to https://github.com/deta/surf?tab=contributing-ov-file#3-commit-with-signed-off-by if you need more info :)

@MaximilianHeidenreich MaximilianHeidenreich changed the title Update --text for improved contrast chore: Update --text for improved contrast Oct 23, 2025
…rast

Signed-off-by: deeivihh <deeivihh@hotmail.com>
Signed-off-by: deeivihh <deeivihh@hotmail.com>
@deeivihh
Copy link
Contributor Author

All set!

@aavshr aavshr self-requested a review October 23, 2025 15:59
@aavshr
Copy link
Member

aavshr commented Oct 23, 2025

Thanks!

@aavshr aavshr merged commit c9605ae into deta:main Oct 23, 2025
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.

3 participants