-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: update colors and theme in error.html
#20941
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
Conversation
aslilac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the color changes seem fine but I'm not sure about using rem as units. they're a lot less intuitive than pixels imo.
|
|
||
| .container { | ||
| --side-padding: 24px; | ||
| --side-padding: 1.5rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why rem? afaik we don't currently use those anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't we using this more globally now with rem being the standard unit in Tailwind? I thought it might be good to keep it better inline with that, happy to undo this change though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From looking into Tailwind, it is based on Rem so using this would be more consistent and be better for matching the users font size. We Could use Tailwind in this file as well by using a CDN or the Tailwind cli to process this file. Not sure it's worth the trouble.
|
Can you include a screenshot in the PR description of how the error page looks? |
Description
This pull-request ensures that we're using the right colors (and themeing things within the actual coder brand) on the
error.htmlpage. Furthermore, I went ahead and cleaned up the CSS Variables and converted allpxunits to a standardremunit (16px base).Preview