3 * @file view/theme/duepuntozero/style.php
5 use Friendica\Core\Config;
8 if (file_exists("$THEMEPATH/style.css")) {
9 echo file_get_contents("$THEMEPATH/style.css");
12 $uid = $_REQUEST['puid'] ?? 0;
14 $s_colorset = Config::get('duepuntozero', 'colorset');
15 $colorset = DI::pConfig()->get($uid, 'duepuntozero', 'colorset');
17 if (empty($colorset)) {
18 $colorset = $s_colorset;
24 if ($colorset == 'greenzero') {
25 $setcss = file_get_contents('view/theme/duepuntozero/deriv/greenzero.css');
28 if ($colorset == 'purplezero') {
29 $setcss = file_get_contents('view/theme/duepuntozero/deriv/purplezero.css');
32 if ($colorset == 'easterbunny') {
33 $setcss = file_get_contents('view/theme/duepuntozero/deriv/easterbunny.css');
36 if ($colorset == 'darkzero') {
37 $setcss = file_get_contents('view/theme/duepuntozero/deriv/darkzero.css');
40 if ($colorset == 'comix') {
41 $setcss = file_get_contents('view/theme/duepuntozero/deriv/comix.css');
44 if ($colorset == 'slackr') {
45 $setcss = file_get_contents('view/theme/duepuntozero/deriv/slackr.css');