Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the readability of namespaces in dark mode #674

Merged

Conversation

michaelherold
Copy link
Contributor

This is a 🔦 documentation change.

Summary

Without this, namespaces end up the same color as the background so they are unreadable. This change makes namespaces the same color as classes and constants.

module Foo
    #  ^------ this is a namespace
  class Bar
    #   ^----- and it will be the same color as this
  end
end

Context

None.

Without this, namespaces end up the same color as the background so they
are unreadable. This change makes namespaces the same color as classes
and constants.

```ruby
module Foo
    #  ^------ this is a namespace
  class Bar
    #   ^----- and it will be the same color as this
  end
end
```
@neilvanbeinum
Copy link
Contributor

Thanks @michaelherold

This looks good 👍

@jaredcwhite jaredcwhite merged commit 4a3df39 into bridgetownrb:main Dec 20, 2022
@michaelherold michaelherold deleted the fix-dark-mode-readability branch December 22, 2022 03:03
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