Skip to content

Commit 5514bdf

Browse files
committed
[WebProfilerBundle] Fix dark theme selected line highlight color & reuse css vars
1 parent 03bccf1 commit 5514bdf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
--highlight-default: #222222;
4040
--highlight-keyword: #a71d5d;
4141
--highlight-string: #183691;
42+
--highlight-selected-line: rgba(255, 255, 153, 0.5);
4243
--base-0: #fff;
4344
--base-1: #f5f5f5;
4445
--base-2: #e0e0e0;
@@ -80,6 +81,7 @@
8081
--highlight-default: var(--base-6);
8182
--highlight-keyword: #ff413c;
8283
--highlight-string: #70a6fd;
84+
--highlight-selected-line: rgba(14, 14, 14, 0.5);
8385
--base-0: #2e3136;
8486
--base-1: #444;
8587
--base-2: #666;
@@ -1091,15 +1093,15 @@ table.logs .metadata {
10911093
padding: 0;
10921094
}
10931095
#collector-content .sf-validator .trace li.selected {
1094-
background: rgba(255, 255, 153, 0.5);
1096+
background: var(--highlight-selected-line);
10951097
}
10961098

10971099
{# Messenger panel
10981100
========================================================================= #}
10991101

11001102
#collector-content .message-bus .trace {
1101-
border: 1px solid #DDD;
1102-
background: #FFF;
1103+
border: var(--border);
1104+
background: var(--base-0);
11031105
padding: 10px;
11041106
margin: 0.5em 0;
11051107
overflow: auto;
@@ -1112,7 +1114,7 @@ table.logs .metadata {
11121114
padding: 0;
11131115
}
11141116
#collector-content .message-bus .trace li.selected {
1115-
background: rgba(255, 255, 153, 0.5);
1117+
background: var(--highlight-selected-line);
11161118
}
11171119

11181120
{# Dump panel

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy