diff options
author | Mario <mario@mariovavti.com> | 2024-02-13 12:28:11 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-13 12:28:11 +0000 |
commit | 2c93294eea4f6daa7e449c13f61b8398ac937aa0 (patch) | |
tree | ae03f4d8587cbd28095eb7e39efa2cdbeaab84d6 /view/theme/redbasic/php/config.php | |
parent | 316829269a06e4a9d7a0ece82a2f093398884035 (diff) | |
download | volse-hubzilla-2c93294eea4f6daa7e449c13f61b8398ac937aa0.tar.gz volse-hubzilla-2c93294eea4f6daa7e449c13f61b8398ac937aa0.tar.bz2 volse-hubzilla-2c93294eea4f6daa7e449c13f61b8398ac937aa0.zip |
scss: show current color and add some help text
Diffstat (limited to 'view/theme/redbasic/php/config.php')
-rw-r--r-- | view/theme/redbasic/php/config.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index a9a766ad5..7079cc386 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -193,11 +193,11 @@ class RedbasicConfig { '$dark' => t('Dark style'), '$light' => t('Light style'), '$common' => t('Common settings'), - '$primary_color' => array('redbasic_primary_color', t('Primary theme color'), $arr['primary_color']), - '$success_color' => array('redbasic_success_color', t('Success theme color'), $arr['success_color']), - '$info_color' => array('redbasic_info_color', t('Info theme color'), $arr['info_color']), - '$warning_color' => array('redbasic_warning_color', t('Warning theme color'), $arr['warning_color']), - '$danger_color' => array('redbasic_danger_color', t('Danger theme color'), $arr['danger_color']), + '$primary_color' => array('redbasic_primary_color', t('Primary theme color'), $arr['primary_color'], '<i class="fa fa-circle text-primary"></i> ' . t('Current color, leave empty for default')), + '$success_color' => array('redbasic_success_color', t('Success theme color'), $arr['success_color'], '<i class="fa fa-circle text-success"></i> ' . t('Current color, leave empty for default')), + '$info_color' => array('redbasic_info_color', t('Info theme color'), $arr['info_color'], '<i class="fa fa-circle text-info"></i> ' . t('Current color, leave empty for default')), + '$warning_color' => array('redbasic_warning_color', t('Warning theme color'), $arr['warning_color'], '<i class="fa fa-circle text-warning"></i> ' . t('Current color, leave empty for default')), + '$danger_color' => array('redbasic_danger_color', t('Danger theme color'), $arr['danger_color'], '<i class="fa fa-circle text-danger"></i> ' . t('Current color, leave empty for default')), '$dark_mode' => array('redbasic_dark_mode',t('Default to dark mode'),$arr['dark_mode'], '', array(t('No'),t('Yes'))), '$navbar_dark_mode' => array('redbasic_navbar_dark_mode',t('Always use light icons for navbar'),$arr['navbar_dark_mode'], t('Enable this option if you use a dark navbar color in light mode'), array(t('No'),t('Yes'))), '$narrow_navbar' => array('redbasic_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))), @@ -208,10 +208,10 @@ class RedbasicConfig { '$background_image' => array('redbasic_background_image', t('Set the background image'), $arr['background_image']), '$background_image_dark' => array('redbasic_background_image_dark', t('Set the dark background image'), $arr['background_image_dark']), '$font_size' => array('redbasic_font_size', t('Set font-size for the entire application'), $arr['font_size'], t('Examples: 1rem, 100%, 16px')), - '$radius' => array('redbasic_radius', t('Set radius of corners in rem'), $arr['radius']), + '$radius' => array('redbasic_radius', t('Set radius of corners in rem'), $arr['radius'], t('Leave empty for default radius')), '$converse_width' => array('redbasic_converse_width',t('Set maximum width of content region in rem'),$arr['converse_width'], t('Leave empty for default width')), - '$top_photo' => array('redbasic_top_photo', t('Set size of conversation author photo'), $arr['top_photo']), - '$reply_photo' => array('redbasic_reply_photo', t('Set size of followup author photos'), $arr['reply_photo']), + '$top_photo' => array('redbasic_top_photo', t('Set size of conversation author photo'), $arr['top_photo'], t('Leave empty for default size')), + '$reply_photo' => array('redbasic_reply_photo', t('Set size of followup author photos'), $arr['reply_photo'], t('Leave empty for default size')), '$advanced_theming' => ['redbasic_advanced_theming', t('Show advanced settings'), $arr['advanced_theming'], '', [t('No'), t('Yes')]] )); |