{"id":156506,"date":"2022-05-05T08:27:05","date_gmt":"2022-05-05T08:27:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/nightly\/"},"modified":"2026-02-16T11:59:04","modified_gmt":"2026-02-16T11:59:04","slug":"nightly","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/nightly\/","author":8610910,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Nightly Dark Mode","header_author":"Fahim Reza","header_description":"Protect your visitor's eyes and enable dark mode on your website","assets_banners_color":"666666","last_updated":"2026-02-16 11:59:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/plugpress.io\/nightly","header_author_uri":"https:\/\/plugpress.io","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1416,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.1-beta":{"tag":"0.0.1-beta","author":"badhonrocks","date":"2022-05-05 08:26:49"},"0.0.1-beta.2":{"tag":"0.0.1-beta.2","author":"badhonrocks","date":"2022-05-05 08:34:23"},"0.0.1-beta.3":{"tag":"0.0.1-beta.3","author":"badhonrocks","date":"2022-05-05 08:41:31"},"1.0.0":{"tag":"1.0.0","author":"badhonrocks","date":"2025-08-16 09:32:12"},"1.0.1":{"tag":"1.0.1","author":"badhonrocks","date":"2025-10-19 09:52:10"},"1.0.2":{"tag":"1.0.2","author":"badhonrocks","date":"2026-02-16 11:16:53"},"1.0.3":{"tag":"1.0.3","author":"badhonrocks","date":"2026-02-16 11:59:04"}},"upgrade_notice":{"1.0.2":"<p>Major update! Adds 6 color schemes, auto-scheduling, per-page control, keyboard shortcuts, and media brightness controls. Highly recommended upgrade.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3453786,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3453786,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3453786,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3453786,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3453786,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1-beta","0.0.1-beta.2","0.0.1-beta.3","1.0.0","1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3453782,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3453782,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3453782,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Admin Settings","2":"Toggle button customization","3":"Six beautiful color theme options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[173231,24155,255209,163960],"plugin_category":[34],"plugin_contributors":[203414,235163],"plugin_business_model":[],"class_list":["post-156506","plugin","type-plugin","status-publish","hentry","plugin_tags-dark-mode","plugin_tags-dark-theme","plugin_tags-eye-care","plugin_tags-night-mode","plugin_category-accessibility","plugin_contributors-badhonrocks","plugin_contributors-plugpressco","plugin_committers-badhonrocks","plugin_committers-plugpressco","plugin_support_reps-asifsiam97"],"banners":{"banner":"https:\/\/ps.w.org\/nightly\/assets\/banner-772x250.png?rev=3453786","banner_2x":"https:\/\/ps.w.org\/nightly\/assets\/banner-1544x500.png?rev=3453786","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/nightly\/assets\/icon.svg?rev=3453786","icon":"https:\/\/ps.w.org\/nightly\/assets\/icon.svg?rev=3453786","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/nightly\/assets\/screenshot-1.png?rev=3453782","caption":"Admin Settings"},{"src":"https:\/\/ps.w.org\/nightly\/assets\/screenshot-2.png?rev=3453782","caption":"Toggle button customization"},{"src":"https:\/\/ps.w.org\/nightly\/assets\/screenshot-3.png?rev=3453782","caption":"Six beautiful color theme options"}],"raw_content":"<!--section=description-->\n<p>Nightly Dark Mode adds dark mode to your website in one click. Give visitors a more comfortable viewing experience with automatic dark mode that can help reduce eye strain. With customizable color schemes, scheduling options, and a floating toggle button, Nightly makes it easy to offer a dark theme for your site.<\/p>\n\n<h4>Why Dark Mode?<\/h4>\n\n<p>Dark mode makes your site more comfortable to browse in low light. Many users prefer it at night, and OLED screens may use less power with darker colors. It also gives your site a modern look.<\/p>\n\n<h4>How It Works<\/h4>\n\n<p>Nightly applies a smart CSS-based filter to create a dark version of your site when dark mode is enabled. Visitors can switch between light and dark using a floating toggle button, or you can enable automatic scheduling based on the time of day. The plugin also intelligently re-inverts images and media so they look correct in dark mode.<\/p>\n\n<h4>Key Features<\/h4>\n\n<p><strong>6 Color Themes<\/strong>\nChoose from Classic, Cool, Warm, High Contrast, Pure Black (OLED), or create your own custom colors.<\/p>\n\n<p><strong>Smart Auto-Scheduling<\/strong>\nAutomatically enable dark mode during evening hours (e.g., 8 PM to 6 AM).<\/p>\n\n<p><strong>Customizable Toggle Button<\/strong>\n3 styles (Classic, Pill, Minimal) with 5 size options that float on your site.<\/p>\n\n<p><strong>Smooth Transitions<\/strong>\nAdjustable fade animations when switching between light and dark modes.<\/p>\n\n<p><strong>Keyboard Shortcuts<\/strong>\nLet power users toggle dark mode with customizable keyboard shortcuts.<\/p>\n\n<p><strong>Per-Page Control<\/strong>\nDisable dark mode on specific pages, such as landing pages or photo galleries.<\/p>\n\n<p><strong>Media Controls<\/strong>\nIndividual brightness adjustments for images, videos, and backgrounds.<\/p>\n\n<p><strong>Performance Optimized<\/strong>\nLightweight and fast with no impact on page speed.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong> in your WordPress admin<\/li>\n<li>Search for \"Nightly Dark Mode.\"<\/li>\n<li>Click <strong>Install<\/strong> and then <strong>Activate<\/strong><\/li>\n<li>Navigate to <strong>Settings \u2192 Nightly<\/strong> to configure<\/li>\n<li>Enable dark mode and customize your preferences<\/li>\n<\/ol>\n\n<h4>Build from Source<\/h4>\n\n<p>To build the plugin from source, clone the repository and install dependencies:<\/p>\n\n<pre><code>git clone https:\/\/github.com\/plugpress-io\/nightly.git\ncd nightly\nnpm install\nnpm run build\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20my%20wordpress%20theme%3F\"><h3>Does it work with my WordPress theme?<\/h3><\/dt>\n<dd><p>Yes! Nightly works with any WordPress theme using universal CSS filters. We've tested it with popular themes like Astra, GeneratePress, Kadence, and Divi.<\/p><\/dd>\n<dt id=\"will%20it%20slow%20down%20my%20site%3F\"><h3>Will it slow down my site?<\/h3><\/dt>\n<dd><p>No. Nightly is performance-optimized with minimal CSS and JavaScript. It won't affect your page speed scores.<\/p><\/dd>\n<dt id=\"can%20visitors%20toggle%20dark%20mode%20on%2Foff%3F\"><h3>Can visitors toggle dark mode on\/off?<\/h3><\/dt>\n<dd><p>Yes! A customizable toggle button appears on your site that visitors can click. Their preference is saved automatically.<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20mobile%20devices%3F\"><h3>Does it work on mobile devices?<\/h3><\/dt>\n<dd><p>Yes! Nightly is fully responsive and works perfectly on desktops, tablets, and smartphones.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20colors%3F\"><h3>Can I customize the colors?<\/h3><\/dt>\n<dd><p>Yes! Choose from 6 pre-built themes or create your own custom color palette with our color picker.<\/p><\/dd>\n<dt id=\"will%20dark%20mode%20break%20my%20images%3F\"><h3>Will dark mode break my images?<\/h3><\/dt>\n<dd><p>No! Nightly intelligently re-inverts images, videos, and media so they display correctly in dark mode.<\/p><\/dd>\n<dt id=\"can%20i%20schedule%20dark%20mode%20for%20specific%20hours%3F\"><h3>Can I schedule dark mode for specific hours?<\/h3><\/dt>\n<dd><p>Yes! Enable auto-scheduling to automatically activate dark mode during evening hours (e.g., 8 PM to 6 AM).<\/p><\/dd>\n<dt id=\"is%20it%20accessible%3F\"><h3>Is it accessible?<\/h3><\/dt>\n<dd><p>Yes! Nightly is WCAG 2.1 compliant with keyboard navigation, screen reader support, and a high-contrast mode.<\/p><\/dd>\n<dt id=\"does%20it%20collect%20any%20data%3F\"><h3>Does it collect any data?<\/h3><\/dt>\n<dd><p>No. Nightly is 100% GDPR compliant with no external API calls or data collection. All settings are stored locally.<\/p><\/dd>\n<dt id=\"how%20do%20i%20disable%20dark%20mode%20on%20specific%20pages%3F\"><h3>How do I disable dark mode on specific pages?<\/h3><\/dt>\n<dd><p>Use the \"Dark Mode Settings\" meta box in the post\/page editor to disable dark mode for specific content.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added 6 color scheme variants (Classic, Cool, Warm, High Contrast, Pure Black, Custom)<\/li>\n<li>Added auto-scheduling with custom time ranges<\/li>\n<li>Added per-page dark mode control with meta boxes<\/li>\n<li>Added customizable keyboard shortcuts<\/li>\n<li>Added smooth transitions with adjustable duration<\/li>\n<li>Added individual media brightness controls (images, videos, backgrounds)<\/li>\n<li>Improved live preview with real-time updates<\/li>\n<li>Fixed toggle button icon visibility issues<\/li>\n<li>Performance optimizations<\/li>\n<li>WCAG 2.1 accessibility improvements<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2025-01-15<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Nightly Dark Mode customizable dark mode plugin for site that allows you to easily add a dark theme.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/156506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=156506"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/badhonrocks"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=156506"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=156506"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=156506"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=156506"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=156506"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=156506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}