Skip to content

[ErrorHandler] Enabled the dark theme for exception pages #34924

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

Merged
merged 1 commit into from
Dec 11, 2019

Conversation

javiereguiluz
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

This makes the exception pages compatible with the dark theme. By default, they use the same setting as the Profiler. If no setting is defined, it auto-selects the theme based on the operating system theme.

Some comparison screenshots:

exception-dark-theme-1

exception-dark-theme-2

@Pierstoval
Copy link
Contributor

🚀 🚢 💯

Copy link
Member

@yceruto yceruto left a comment

Choose a reason for hiding this comment

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

Beautiful :)

@fabpot
Copy link
Member

fabpot commented Dec 11, 2019

Thank you @javiereguiluz.

fabpot added a commit that referenced this pull request Dec 11, 2019
…ges (javiereguiluz)

This PR was merged into the 5.1-dev branch.

Discussion
----------

[ErrorHandler] Enabled the dark theme for exception pages

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

This makes the exception pages compatible with the dark theme. By default, they use the same setting as the Profiler. If no setting is defined, it auto-selects the theme based on the operating system theme.

Some comparison screenshots:

![exception-dark-theme-1](https://user-images.githubusercontent.com/73419/70550842-b087c480-1b76-11ea-9bf5-43a029f1cf6a.png)

![exception-dark-theme-2](https://user-images.githubusercontent.com/73419/70550848-b41b4b80-1b76-11ea-9759-4f31c1c6d5b8.png)

Commits
-------

24f32f8 [ErrorHandler] Enabled the dark theme for exception pages
@fabpot fabpot merged commit 24f32f8 into symfony:master Dec 11, 2019
@@ -66,7 +66,7 @@
--metric-unit-color: #999;
--metric-label-background: #777;
--metric-label-color: #e0e0e0;
--trace-selected-background: #71663a;
--trace-selected-background: #71663acc;
Copy link
Member

Choose a reason for hiding this comment

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

The #RRGGBBAA notation for colors is not supported by Edge. I suggest using the rgba() notation instead.

--metric-unit-color: #999;
--metric-label-background: #777;
--metric-label-color: #e0e0e0;
--trace-selected-background: #71663acc;
Copy link
Member

Choose a reason for hiding this comment

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

same here

@nicolas-grekas nicolas-grekas modified the milestones: next, 5.1 May 4, 2020
@fabpot fabpot mentioned this pull request May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants