{"id":199151,"date":"2024-08-27T00:47:00","date_gmt":"2024-08-27T00:47:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dark-mode-toggle-block\/"},"modified":"2024-11-21T15:54:25","modified_gmt":"2024-11-21T15:54:25","slug":"dark-mode-toggle-block","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/dark-mode-toggle-block\/","author":15075831,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.5","stable_tag":"1.0.5","tested":"6.7.5","requires":"6.4","requires_php":"7.0","requires_plugins":null,"header_name":"Dark Mode Toggle Block","header_author":"Rich Tabor","header_description":"A WordPress block for toggling between between light and dark appearances on your site.","assets_banners_color":"4faa79","last_updated":"2024-11-21 15:54:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/rich.blog\/dark-mode-toggle-block","header_author_uri":"https:\/\/rich.blog","rating":5,"author_block_rating":5,"active_installs":200,"downloads":3205,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":4,"sections":["installation","faq","changelog","description"],"tags":{"1.0.2":{"tag":"1.0.2","author":"richtabor","date":"2024-08-27 00:46:37"},"1.0.3":{"tag":"1.0.3","author":"richtabor","date":"2024-08-27 00:50:27"},"1.0.4":{"tag":"1.0.4","author":"richtabor","date":"2024-08-27 01:05:33"},"1.0.5":{"tag":"1.0.5","author":"richtabor","date":"2024-11-21 15:54:25"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3141962,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3141962,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3141962,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3141962,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"tabor\/dark-mode-toggle":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"tabor\/dark-mode-toggle","title":"Dark Mode Toggle","category":"design","description":"Allow visitors to switch between light and dark appearances.","supports":{"color":{"link":false,"text":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"background":true,"text":false}},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalSkipSerialization":true,"__experimentalDefaultControls":{"color":false,"radius":false,"style":false,"width":false}},"html":false,"__experimentalSelector":".wp-block-tabor-dark-mode-toggle__track"},"attributes":{"icon":{"type":"string"},"size":{"type":"string","default":"small"}},"styles":[{"name":"filled","label":"Filled","isDefault":true},{"name":"stroke","label":"Stroke"},{"name":"circle","label":"Circle"},{"name":"eye","label":"Eye"}],"textdomain":"appearance-toggle","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","viewScript":"file:.\/view.js","dependencies":["wp-i18n"]}},"tagged_versions":["1.0.2","1.0.3","1.0.4","1.0.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220],"plugin_category":[],"plugin_contributors":[147369],"plugin_business_model":[],"class_list":["post-199151","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_contributors-richtabor","plugin_committers-richtabor"],"banners":{"banner":"https:\/\/ps.w.org\/dark-mode-toggle-block\/assets\/banner-772x250.png?rev=3141962","banner_2x":"https:\/\/ps.w.org\/dark-mode-toggle-block\/assets\/banner-1544x500.png?rev=3141962","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dark-mode-toggle-block\/assets\/icon-128x128.png?rev=3141962","icon_2x":"https:\/\/ps.w.org\/dark-mode-toggle-block\/assets\/icon-256x256.png?rev=3141962","generated":false},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress plugins screen directly (if available).<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Add the block from the inserter within the WordPress editor.<\/li>\n<li>If necessary, add CSS variables using .theme-dark to assign dark mode colors. <a href=\"https:\/\/rich.blog\/dark-mode-toggle-block\/\">Learn more<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20the%20dark%20mode%20toggle%20block%20be%20used%20with%20my%20theme%3F'><h3>Can the Dark Mode Toggle block be used with my theme?<\/h3><\/dt>\n<dd><p>Yes! You will need to add CSS variables to map existing coor values to a dark style though. <a href=\"https:\/\/rich.blog\/dark-mode-toggle-block\/\">Learn more<\/a>.<\/p><\/dd>\n<dt id='where%20can%20i%20send%20feedback%20or%20ideas%3F'><h3>Where can I send feedback or ideas?<\/h3><\/dt>\n<dd><p>Please reach out via the official <a href=\"https:\/\/wordpress.org\/support\/plugin\/dark-mode-toggle-block\">plugin support forum<\/a>.<\/p><\/dd>\n<dt id='where%20can%20i%20find%20the%20development%20files%3F'><h3>Where can I find the development files?<\/h3><\/dt>\n<dd><p>You can find the development files for the block on <a href=\"https:\/\/github.com\/richtabor\/dark-mode-toggle-block\">GitHub<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Improve accessibility.<\/li>\n<li>Updated tested up to.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Improve default colors.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update readme.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Improve block example.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Update prefix.<\/li>\n<li>Improve inline script.<\/li>\n<li>Use apiVersion 3.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>A WordPress block for toggling between between light and dark appearance on your site.<\/p>","raw_excerpt":"A WordPress block for toggling between between light and dark appearance on your site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/199151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=199151"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/richtabor"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=199151"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=199151"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=199151"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=199151"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=199151"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=199151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}