Skip to content

Commit f2d3de3

Browse files
committed
Remove textured background
1 parent 4765bc1 commit f2d3de3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ext/standard/css.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
#include "info.h"
1919

2020

21-
/* Encoded from (without newlines):
22-
<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'>
23-
<path style='stroke:#000;stroke-width:.5;stroke-opacity:.25' d='M 0,0 4,4 M 0,4 4,0'/>
24-
</svg>
25-
*/
26-
#define BACKGROUND_SVG_ENCODED \
27-
"%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%274%27%20height%3D%274%27%3E%3Cpath%20style%3D%27stroke%3A%23000%3Bstroke-width%3A.5%3Bstroke-opacity%3A.25%27%20d%3D%27M%200%2C0%204%2C4%20M%200%2C4%204%2C0%27%2F%3E%3C%2Fsvg%3E"
28-
2921
PHPAPI ZEND_COLD void php_info_print_css(void) /* {{{ */
3022
{
3123
PUTS("body {background-color: #fff; color: #222; font-family: sans-serif;}\n");
@@ -50,7 +42,7 @@ PHPAPI ZEND_COLD void php_info_print_css(void) /* {{{ */
5042
PUTS(":root {--php-dark-grey: #333; --php-dark-blue: #4F5B93; --php-medium-blue: #8892BF; --php-light-blue: #E2E4EF; --php-accent-purple: #793862}");
5143
PUTS(
5244
"@media (prefers-color-scheme: dark) {\n"
53-
" body {background: var(--php-dark-grey) url('data:image/svg+xml;utf8," BACKGROUND_SVG_ENCODED "'); color: var(--php-light-blue)}\n"
45+
" body {background: var(--php-dark-grey)'); color: var(--php-light-blue)}\n"
5446
" .h td, td.e, th {border-color: #606A90}\n"
5547
" td {border-color: #505153}\n"
5648
" .e {background-color: #404A77}\n"

0 commit comments

Comments
 (0)