-
Notifications
You must be signed in to change notification settings - Fork 0
/
SkinTekhelet.php
38 lines (30 loc) · 964 Bytes
/
SkinTekhelet.php
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
<?php
/**
* Tekhelet - The look of the Kisow Foundation Wiki.
* Matthew R. Kisow, D.Sc. <matthew.kisow@kisow.org>
* Copyright, Kisow Foundation, Inc. 2015-2018.
*
* The Tekhelet theme is based in part on the Tyrian theme by Alex Legler.
**/
/**
* Inherit main code from SkinTemplate, set the CSS and template filter.
* @ingroup Skins
**/
class SkinTekhelet extends SkinTemplate {
public $skinname = 'tekhelet';
public $stylename = 'Tekhelet';
public $template = 'TekheletTemplate';
private $output;
const CDN_URL = 'https://assets.kisow.org/tekhelet/';
function setupSkinUserCss(OutputPage $out) {
$this->output = $out;
parent::setupSkinUserCss($out);
$out->addStyle(SkinTekhelet::CDN_URL . 'bootstrap.min.css');
$out->addStyle(SkinTekhelet::CDN_URL . 'tekhelet.min.css');
$out->addModuleStyles(array(
'mediawiki.skinning.interface',
'mediawiki.skinning.content.externallinks',
'skins.tekhelet.styles'
));
}
}