-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogo.php
More file actions
61 lines (52 loc) · 938 Bytes
/
logo.php
File metadata and controls
61 lines (52 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/*
* Forms
*/
$cloud = "m90 230
c0 0 0 -125 165 -125
c0 0 158 0 150 87
c0 0 3 -2 15 -2
c0 0 110 0 110 105
c0 0 0 110 -110 105
l-330 0
c0 0 -75 0 -75 -85
c0 0 0 -75 75 -85
z";
$innerCast = "m420 130
c0 0 167 0 167 167
l-32 0
c0 0 0 -135 -135 -135
z";
$middleCast = "m420 68
c0 0 229 0 229 229
l-32 0
c0 0 0 -197 -197 -197
z";
$outerCast = "m420 6
c0 0 291 0 291 291
l-32 0
c0 0 0 -259 -259 -259
z";
$default = array(
'cloud' => '#fff',
'cast' => '#e69138',
'outline' => true
);
$light = array(
'cloud' => '#000',
'cast' => '#0099cc',
'outline' => false
);
$dark = array(
'cloud' => '#fff',
'cast2' => '#e89c4b',
'cast' => '#0099cc',
'outline' => false
);
header('Content-type: image/svg+xml');
if ($_GET['schema'] == "light"){
$default = $light;
} elseif ($_GET['schema'] == "dark"){
$default = $dark;
}
include 'logo.php.svg';