Add Theme::getBackgroundColor and Theme::getThemeColor methods

This commit is contained in:
Hypolite Petovan 2020-02-19 10:28:57 -05:00
commit b9325251e8
6 changed files with 188 additions and 0 deletions

View file

@ -93,3 +93,25 @@ if (! function_exists('_js_in_foot')) {
return DI::page()['bottom'] = Renderer::replaceMacros($tpl, $bottom);
}
}
/**
* @param int|null $uid
* @return null
* @see \Friendica\Core\Theme::getBackgroundColor()
* @TODO Implement this function
*/
function smoothly_get_background_color(int $uid = null)
{
return null;
}
/**
* @param int|null $uid
* @return null
* @see \Friendica\Core\Theme::getThemeColor()
* @TODO Implement this function
*/
function smoothly_get_theme_color(int $uid = null)
{
return null;
}