mirror of
https://github.com/friendica/friendica
synced 2024-12-25 01:20:16 +00:00
d6116b6979
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
32 lines
786 B
PHP
32 lines
786 B
PHP
<?php
|
|
|
|
/*
|
|
* Name: Dispy
|
|
* Description: <p style="white-space:pre;"> Dispy: Light, Spartan, Sleek, and Functional<br /> Dispy Dark: Dark, Spartan, Sleek, and Functional</p>
|
|
* Version: 1.2
|
|
* Author: Simon <http://simon.kisikew.org/>
|
|
* Maintainer: Simon <http://simon.kisikew.org/>
|
|
* Screenshot: <a href="screenshot.jpg">Screenshot</a>
|
|
*/
|
|
|
|
$a = get_app();
|
|
$a->theme_info = array(
|
|
'family' => 'dispy',
|
|
'name' => 'light',
|
|
'version' => '1.2'
|
|
);
|
|
|
|
function dispy_light_init(&$a) {
|
|
|
|
/** @purpose set some theme defaults
|
|
*/
|
|
$cssFile = null;
|
|
$colour = false;
|
|
$colour = 'light';
|
|
|
|
// custom css
|
|
if (!is_null($cssFile)) {
|
|
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
|
}
|
|
}
|
|
|