Changeset 2355057
- Timestamp:
- 08/08/2020 06:50:42 AM (6 years ago)
- Location:
- blackout-darkmode-widget/trunk
- Files:
-
- 2 edited
-
blackout.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blackout-darkmode-widget/trunk/blackout.php
r2335507 r2355057 4 4 Plugin Name: Blackout: Dark Mode Widget 5 5 Description: Adds a toggle widget to your website that activates dark mode on click. 6 Version: 2.0. 06 Version: 2.0.1 7 7 Author: José Sotelo 8 8 Author URI: https://inboundlatino.com … … 431 431 buttonColorDark: '{$blackout_options['blackout_button_dark']}', // default: '#100f2c' 432 432 buttonColorLight: '{$blackout_options['blackout_button_light']}', // default: '#fff' 433 saveInCookies: '{$blackout_cookies}', // default: true434 autoMatchOsTheme: '{$blackout_match_os}', // default: true433 saveInCookies: {$blackout_cookies}, // default: true 434 autoMatchOsTheme: {$blackout_match_os}, // default: true 435 435 label: '🌓' // default: '' 436 436 } … … 446 446 buttonColorDark: '{$blackout_options['blackout_button_dark']}', // default: '#100f2c' 447 447 buttonColorLight: '{$blackout_options['blackout_button_light']}', // default: '#fff' 448 saveInCookies: '{$blackout_cookies}', // default: true449 autoMatchOsTheme: '{$blackout_match_os}', // default: true448 saveInCookies: {$blackout_cookies}, // default: true 449 autoMatchOsTheme: {$blackout_match_os}, // default: true 450 450 label: '🌓' // default: '' 451 451 } … … 461 461 buttonColorDark: '{$blackout_options['blackout_button_dark']}', // default: '#100f2c' 462 462 buttonColorLight: '{$blackout_options['blackout_button_light']}', // default: '#fff' 463 saveInCookies: '{$blackout_cookies}', // default: true464 autoMatchOsTheme: '{$blackout_match_os}', // default: true463 saveInCookies: {$blackout_cookies}, // default: true 464 autoMatchOsTheme: {$blackout_match_os}, // default: true 465 465 label: '🌓' // default: '' 466 466 } -
blackout-darkmode-widget/trunk/readme.txt
r2335511 r2355057 4 4 Tags: dark, dark mode, dark mode widget, darkmode, darkmode widget 5 5 Requires at least: 4.7 6 Tested up to: 5. 4.26 Tested up to: 5.2 7 7 Requires PHP: 5.4 8 Stable tag: 2.0. 08 Stable tag: 2.0.1 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 86 86 == Changelog == 87 87 88 = 2.0.1 - 2020-08-08 = 89 90 * Fixed the Cookies and Match OS features. Many thanks to @phillipjohnston 91 88 92 = 2.0.0 - 2020-07-04 = 89 93 * **New Feature** Now you can use your own widget or element by enabling the option in the settings page then adding the class `darkmode-enable` to the element that you want to use as toggle.
Note: See TracChangeset
for help on using the changeset viewer.