You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
With smarty 3 and XOOPS 2.5.11, there are some modifications in the xswatch4 theme.
1 - File README.md
With smarty 3, now we used xswatch4.conf
so The README.md file isn't correct:
Dual theme light and dark media query responsive operation - Two files control which themes are used, tpl/xswatchCss.tpl and tpl/xswatchDarkCss.tpl. In the file tpl/xswatchCss.tpl, edit the bottom line to match the Bootswatch theme of your choice for use with prefers-color-scheme light media queries. By default, the line reads css-cerulean. In the file tpl/xswatchDarkCss.tpl, edit the bottom line to match the Bootswatch theme of your choice for use with dark media queries. By default, the line reads css-slate. Your site will then follow the use's browser or OS preference to choose light or dark.
Single theme operation - Edit tpl/xswatchDarkCss.tpl and delete the line with the file name, and the theme will be locked to whatever theme is specified in the file tpl/xswatchCss.tpl. No consideration of prefers-color-scheme queries will be made. In the file tpl/xswatchCss.tpl, edit the bottom line to match the Bootswatch theme of your choice. By default, the line reads css-cerulean. To change to a dark theme, for example, change it to css-slate. You can pick from any of the 21 variations listed in the comments in tpl/xswatchCss.tpl_
Hi,
With smarty 3 and XOOPS 2.5.11, there are some modifications in the xswatch4 theme.
1 - File README.md
With smarty 3, now we used xswatch4.conf
so The README.md file isn't correct:
Dual theme light and dark media query responsive operation - Two files control which themes are used, tpl/xswatchCss.tpl and tpl/xswatchDarkCss.tpl. In the file tpl/xswatchCss.tpl, edit the bottom line to match the Bootswatch theme of your choice for use with prefers-color-scheme light media queries. By default, the line reads css-cerulean. In the file tpl/xswatchDarkCss.tpl, edit the bottom line to match the Bootswatch theme of your choice for use with dark media queries. By default, the line reads css-slate. Your site will then follow the use's browser or OS preference to choose light or dark.
Single theme operation - Edit tpl/xswatchDarkCss.tpl and delete the line with the file name, and the theme will be locked to whatever theme is specified in the file tpl/xswatchCss.tpl. No consideration of prefers-color-scheme queries will be made. In the file tpl/xswatchCss.tpl, edit the bottom line to match the Bootswatch theme of your choice. By default, the line reads css-cerulean. To change to a dark theme, for example, change it to css-slate. You can pick from any of the 21 variations listed in the comments in tpl/xswatchCss.tpl_
2 - File theme_autorun.php
A member in monxoops.fr find a bug in this file
becomes
The text was updated successfully, but these errors were encountered: