惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
V
V2EX - 技术
S
Secure Thoughts
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
S
Securelist
S
Security Archives - TechRepublic
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Recent Commits to openclaw:main
Recent Commits to openclaw:main
G
GRAHAM CLULEY
H
Hacker News: Front Page
Microsoft Azure Blog
Microsoft Azure Blog
I
Intezer
Google Online Security Blog
Google Online Security Blog
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
T
The Exploit Database - CXSecurity.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Webroot Blog
Webroot Blog
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
P
Proofpoint News Feed
The Cloudflare Blog
I
InfoQ
L
LangChain Blog
U
Unit 42
P
Proofpoint News Feed
S
Schneier on Security
S
Security Affairs
Y
Y Combinator Blog
T
Tenable Blog
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog
量子位
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
D
Darknet – Hacking Tools, Hacker News & Cyber Security
GbyAI
GbyAI
AWS News Blog
AWS News Blog

Comments for Astra

Introducing the Agency Signature Template Sunsetting Beaver Builder Support in Starter Templates Say It With Style: 31 Stunning WordPress Magazine Themes How To Create a Website With AI in Just 5 Minutes 21 Tips To Increase the Conversion Rate of Your Website Best Content Management Systems (CMS) of [yr] WooCommerce Shortcodes: Products, Carts, Categories and Other Useful Shortcodes
Going Dark: Introducing the New Color Switcher for Astra
Mehedi Hasan · 2025-04-17 · via Comments for Astra

We’re excited to announce a brand-new feature for the Astra WordPress theme, dark mode!

You have been asking us for this feature for a while now but we didn’t want to release it until it was 100% perfect.

Now is the time.

Update Astra today and you’ll be able to utilize the all-new Color Switcher.

It’s a simple way for visitors to switch between light and dark viewing experiences.

Whether it’s personal preference, late night browsing sessions or accessibility, the Color Switcher adds another level of interactivity to your website.

Table Of Contents

  1. A Smoother Viewing Experience on Your Terms
  2. You Control the Experience
  3. Who Can Benefit From Astra Dark Mode?
  4. How To Enable the Color Switcher
  5. The New Color Switcher for the Astra Theme

Custom dark mode for your WordPress site? The Astra Color Switcher makes it possible with no plugins or coding. Take control of color, UX, and accessibility!

A Smoother Viewing Experience on Your Terms

Light?

Astra Theme on Light Mode

Or dark?

Astra Theme On Dark Mode

You get to choose.

Dark mode isn’t just a design trend. It’s an expectation. 

Whether visitors are browsing late at night or just prefer a darker interface, Astra makes it easy to give them what they want without compromising performance or design.

Dark mode offers:

  • Choice in how visitors experience your site
  • Reduced eye strain and fatigue while on the page
  • Improved battery efficiency for phones, tablets or laptops
  • Accessibility benefits for the visually impaired

With the new Color Switcher, you can add a stylish toggle button anywhere on your site. 

Visitors can then instantly switch between the default light mode and a fully customized dark mode.

You Control the Experience

The Color Switcher isn’t just about flipping colors. It’s about designing the user journey on your terms

Here’s what you can do:

  • Customize the switcher: Choose where the toggle button appears, how it looks, and how it behaves.
  • Define your color palette: Set distinct color schemes for both light and dark modes to ensure branding stays consistent.
  • Decide how switching works: Let users toggle freely and set display conditions based on device.

Whether you’re running a blog, portfolio, or business site, this update lets you offer a more comfortable and accessible experience to every visitor.

Who Can Benefit From Astra Dark Mode?

We have seen requests for dark mode across all our channels and we’re now happy to deliver.

While everyone can get something out of the Color Switcher, we think these groups will particularly like it:

  • Website owners and bloggers: Keep readers hooked for longer. Add a dark mode toggle so late-night visitors don’t bounce.
  • Developers and designers: Instantly add a fully customizable dark mode switch with just a few clicks. Perfect for client projects with tight deadlines.
  • Accessibility advocates: Dark mode isn’t just a trend. It’s an inclusive design choice that helps people with migraines, photophobia or dyslexia.
  • eCommerce and business sites: Reduce cart abandonment at night. Make content more accessible to increase your chances of conversion.
  • Content-driven sites: Make long reads easier on the eyes. Dark mode makes tutorials, case studies, or articles more readable during long sessions.

It’s not always about flexibility. Sometimes it’s just about offering choice.

Now you can offer that choice with the Astra Color Switcher.

How To Enable the Color Switcher

Update to the latest version of Astra and navigate to Astra > Customize.

You can add your mode toggle wherever you like but it’s traditionally found in the header so we’ll add it there.

Choose Header Builder and select where you would like to add the button.

Select Color Switcher from the popup menu.

Select Color Switcher from the popup menu

Click on the Color Switcher to load the customizer menu on the left.

Select the Configure Palettes button to select your colors. You’ll need both a light mode palette and a dark mode palette for the switcher to work.

Select the Configure Palettes button

Select the dropdown menu under Alternate Palette to select which palettes are switched by the button.

Select the dropdown menu under Alternate Palette

Default is the standard light design and Dark is dark mode. You can add alternative options if you like using the Style 2 and Style 3 settings.

Change the colors in the Global Palette menu, save them and select the relevant palette using the  Alternate Palette menu.

The Default Color Mode setting underneath controls whether visitors see the light or dark version of the page when they first arrive.

The Default Color Mode setting

Under that are settings for the switcher button, size, label and visibility.

Switch to the Design tab and you can configure colors, spacing and how the button will behave if you use sticky headers.

Introducing the New Color Switcher for Astra-7

Select the device switcher icons at the bottom of the page to configure the appearance and behavior for mobile and tablet as well as desktop.

As this is Astra, you can infinitely customize colors, behavior and personalize the user journey as much as you like!

The New Color Switcher for the Astra Theme

Astra’s new dark mode Color Switcher gives site owners complete design control and visitors the freedom to choose how they experience your site. 

It’s a simple way to boost engagement. 

It also improves accessibility, and delivers a more personalized user experience on any screen, at any time. 

Update Astra today and let your design work for everyone!

Our editorial team at Astra is a group of experts led by the co-founder of Brainstorm Force, Sujay Pawar. We aim to create well researched, highly detailed content related to WordPress, Web design, and guides on how to grow your online business.

Disclosure: This blog may contain affiliate links. If you make a purchase through one of these links, we may receive a small commission. Read disclosure. Rest assured that we only recommend products that we have personally used and believe will add value to our readers. Thanks for your support!

Join 1,587,020 Subscribers

Get exclusive access to new tips, articles, guides, updates, and more.