8000 bug #34090 [WebProfilerBundle] Improve display in Email panel for dar… · symfony/symfony@591ad22 · GitHub
[go: up one dir, main page]

Skip to content

Commit 591ad22

Browse files
committed
bug #34090 [WebProfilerBundle] Improve display in Email panel for dark theme (antograssiot)
This PR was merged into the 4.3 branch. Discussion ---------- [WebProfilerBundle] Improve display in Email panel for dark theme | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Improve the email panel readability when using dark theme ## before <img width="496" alt="Capture d’écran 2019-10-23 à 19 54 59" src="https://user-images.githubusercontent.com/4977112/67420667-5d11e500-f5cf-11e9-91c6-75d2f55a32e7.png"> ## after <img width="492" alt="Capture d’écran 2019-10-23 à 19 53 26" src="https://user-images.githubusercontent.com/4977112/67420679-626f2f80-f5cf-11e9-8762-ad56978c1ac8.png"> Commits ------- 402fed0 [WebProfilerBundle] Improve display in Email panel for dark theme
2 parents ccc5667 + 402fed0 commit 591ad22

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
--base-4: #666;
4747
--base-5: #444;
4848
--base-6: #222;
49+
--card-label-background: #eee;
50+
--card-label-color: var(--base-6);
4951
}
5052

5153
.theme-dark {
@@ -85,6 +87,8 @@
8587
--base-4: #666;
8688
--base-5: #e0e0e0;
8789
--base-6: #f5f5f5;
90+
--card-label-background: var(--tab-active-background);
91+
--card-label-color: var(--tab-active-color);
8892
}
8993

9094
{# Basic styles
@@ -436,8 +440,8 @@ table tbody td.num-col {
436440
margin-top: 0;
437441
}
438442
.card .label {
439-
background-color: #EEE;
440-
color: var(--base-6);
443+
background-color: var(--card-label-background);
444+
color: var(--card-label-color);
441445
}
442446

443447
{# Status

0 commit comments

Comments
 (0)
0