About
is a widget that containing the blog's view mode configurations (Light or Dark).
Specification
Configuration
Description
enable
When the value is yes,
visitors can switch between view modes via a switch button located in the top right corner of the screen - (View).
default_mode
This configuration has 2 functions:
-
Set initial mode
When the feature is activated (enable configurasion is yes),
on the first visit, the active mode will use the default_mode configuration.
If the visitor switches modes, the last active mode will be remembered by system for next visit.
- Lock mode When the feature is deactivated (enable configuration is no), the active mode will use the default_mode configuration. Visitors cannot switch mode. This system allows you to lock the mode to desired mode.
switch_to_light_button_title
switch_to_dark_button_title
Switch button title to dark mode -
(View).