8000 Fix dark theme highlight color & reuse css vars · symfony/symfony@0a20712 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a20712

Browse files
committed
Fix dark theme highlight color & reuse css vars
1 parent 83412d2 commit 0a20712

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
--highlight-default: #222222;
5252
--highlight-keyword: #a71d5d;
5353
--highlight-string: #183691;
54+
--highlight-selected-line: rgba(255, 255, 153, 0.5);
5455
--base-0: #fff;
5556
--base-1: #f5f5f5;
5657
--base-2: #e0e0e0;
@@ -104,6 +105,7 @@
104105
--highlight-default: var(--base-6);
105106
--highlight-keyword: #ff413c;
106107
--highlight-string: #70a6fd;
108+
--highlight-selected-line: rgba(14, 14, 14, 0.5);
107109
--base-0: #2e3136;
108110
--base-1: #444;
109111
--base-2: #666;
@@ -1296,7 +1298,7 @@ tr.log-status-silenced {
12961298
padding: 0;
12971299
}
12981300
#collector-content .sf-validator .trace li.selected {
1299-
background: rgba(255, 255, 153, 0.5);
1301+
background: var(--highlight-selected-line);
13001302
}
13011303

13021304
{# Serializer panel
@@ -1321,15 +1323,15 @@ tr.log-status-silenced {
13211323
padding: 0;
13221324
}
13231325
#collector-content .sf-serializer .trace li.selected {
1324-
background: rgba(255, 255, 153, 0.5);
1326+
background: var(--highlight-selected-line);
13251327
}
13261328

13271329
{# Messenger panel
13281330
========================================================================= #}
13291331

13301332
#collector-content .message-bus .trace {
1331-
border: 1px solid #DDD;
1332-
background: #FFF;
1333+
border: var(--border);
1334+
background: var(--base-0);
13331335
padding: 10px;
13341336
margin: 0.5em 0;
13351337
overflow: auto;
@@ -1342,7 +1344,7 @@ tr.log-status-silenced {
13421344
padding: 0;
13431345
}
13441346
#collector-content .message-bus .trace li.selected {
1345-
background: rgba(255, 255, 153, 0.5);
1347+
background: var(--highlight-selected-line);
13461348
}
13471349

13481350
{# Dump panel

0 commit comments

Comments
 (0)
0