summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-12 03:19:04 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-12 03:19:04 +0100
commit13c317cac5ba44c374449ffc9acd74e3242668ad (patch)
treec60fed3eadf4ce478611a646925d039c9878bb3f /index.php
parentf11d9d82acc9ff8bc6eec178ad2527ee89462793 (diff)
downloadhicg-13c317cac5ba44c374449ffc9acd74e3242668ad.tar.gz
hicg-13c317cac5ba44c374449ffc9acd74e3242668ad.zip
hardcode the sample colors
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 889d91d..7aeda5e 100644
--- a/index.php
+++ b/index.php
@@ -364,9 +364,9 @@ if ($loadsample) {
$iconfile = 'sampleicon.svg';
$pngfile = 'sampleicon.png';
- $domcolor = extract_dominant_color($srcfile, $domalgo, $colfilter);
- $discolor = get_disabled_color($domcolor);
- $prscolor = get_pressed_color($domcolor);
+ $domcolor = array(254, 118, 0);
+ $discolor = array(255, 213, 119);
+ $prscolor = array(160, 92, 33);
$srcurl = $srcfile;
$iconurl = $iconfile;