mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Add syntax highlighting for variables on PHP 8.5 release page (#1626)
This commit is contained in:
@@ -3564,6 +3564,11 @@ footer p:where(.dark,.dark *) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.php85 .phpcode span.variable {
|
||||
color: #7d55ba;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.php85 .phpcode span.keyword {
|
||||
color: #07a;
|
||||
background-color: transparent;
|
||||
@@ -3585,13 +3590,18 @@ footer p:where(.dark,.dark *) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.dark .php85 .phpcode span.variable {
|
||||
color: #a5d6ff;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.dark .php85 .phpcode span.keyword {
|
||||
color: #ff7b72;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.dark .php85 .phpcode span.string {
|
||||
color: #a5d6ff;
|
||||
color: #80b83c;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
@@ -832,7 +832,7 @@ div.warning a:focus {
|
||||
color: var(--dark-blue-color);
|
||||
background-color: transparent;
|
||||
}
|
||||
div.phpcode span.default {
|
||||
div.phpcode span.default, div.phpcode span.variable {
|
||||
color: #369;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user