Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F408426
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/design/kibaone/accents/index.php b/design/kibaone/accents/index.php
index 7bd22eb..4ec61a9 100755
--- a/design/kibaone/accents/index.php
+++ b/design/kibaone/accents/index.php
@@ -1,45 +1,45 @@
<?php
/**
* Wolfplex Kiba One design available accents
*
* Outputs an array of accents:
* name: accent name
* accent: background color
* headingColor: text color
*/
$white = '#ffffff'; //We currently don't consider a grayish white for cyan compliance.
$black = '#000000'; //We currently don't consider a dark gray for citron compliance.
$defaultHeadingsColor = $white;
$accents = [
// Main colors
[ 'black', '#000000', '#4b4b50' ],
[ 'zedgray', '#343434' ],
[ 'bluegray', '#4b4b50' ],
// Colored accents
[ 'cyan', '#2ba6cb' ],
[ 'lime', '#e7fb03', $black ],
[ 'magenta', '#f608b0' ],
[ 'craie', '#f3f3f3', $black ],
[ 'grenade', '#f34723' ],
[ 'sorbier', '#fb8507' ],
[ 'purple', '#998cfb' ],
[ 'citron', '#fcff00', $black ],
[ 'blueribbon', '#1d62ff' ],
[ 'red', '#f60000' ],
];
$areas = [];
foreach ($accents as $accent) {
$areas[] = [
'name' => $accent[0],
'accent' => $accent[1],
'headingColor' => count($accent) < 3 ? $defaultHeadingsColor : $accent[2]
];
}
header("Content-Type: application/json");
-echo json_encode($areas);
+echo json_encode($areas, JSON_PRETTY_PRINT);
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jun 9, 12:14 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46353
Default Alt Text
(1 KB)
Attached To
rAPI Wolfplex API
Event Timeline
Log In to Comment