Beginning custom theme for Volse Hubzilla
This commit is contained in:
commit
ab9c902e17
3 changed files with 38 additions and 0 deletions
13
volse/php/style.php
Normal file
13
volse/php/style.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* SPDX-FileCopyrightText: 2025 Eilertsens Kodeknekkeri
|
||||
* SPDX-FileContributor: Harald Eilertsen <haraldei@anduin.net>
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
define('VOLSE_THEME_ROOT', dirname(__DIR__));
|
||||
define('THEME_ROOT', PROJECT_BASE . '/view/theme');
|
||||
|
||||
require_once(THEME_ROOT . '/redbasic/php/style.php');
|
||||
echo file_get_contents(VOLSE_THEME_ROOT . '/css/style.css');
|
17
volse/php/theme.php
Normal file
17
volse/php/theme.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Volse
|
||||
* Description: Default theme for Volse Hubzilla
|
||||
* Version: 1.0
|
||||
* Author: Harald Eilertsen
|
||||
* Compat: Redbasic
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2025 Eilertsens Kodeknekkeri
|
||||
* SPDX-FileContributor: Harald Eilertsen <haraldei@anduin.net>
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
function volse_init() {
|
||||
App::$theme_info['extends'] = 'redbasic';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue