News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Theme color options for members (SMF 2.1 default theme)

Started by gevv, February 27, 2021, 12:48:18 PM

Previous topic - Next topic

gevv

Hello,

Styles taken from Curve2 Color Changer   + smf 2.1 dark mode style.
Style 1: Default
Style 2: Dark
Style 3: Dark blue
Style 4: Light red
Style 5: Light orange


index.template.php find
global $settings, $txt;
add after

    $settings['theme_variants'] = array('style1', 'style2', 'style3', 'style4', 'style5');
upload all styles to Themes/ default/ css folder    upload  menudark.svg   to Themes/ default/ images / icons  folder
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

gevv

Hi,

Curve2 Color Changer css and dark mode css files updated

a more descriptive code to choose;

$settings['theme_variants'] = array('index', 'flat', 'brownish', 'redihs', 'darkblue', 'dark');
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/


Advertisement: