Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Ulysse

Switch Light to Dark Mode

Question

Hello,

I am using Wexley template and I want to know how to use css passing white to dark mode with a simple button?

Anyone could help me?

Thanks a lot!

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

Hi Tuanphan,

Thank you for the answer!

i'm sad, I thought it was just easy manipulation, switching white background to black, and black font to white...

++

Share this post


Link to post
  • 0

@Ulysse Can you provide a working link to the site so that we can see what you are trying to do? And also, can you explain a little more about why you want to do this? 


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0

OK, so you just want to invert the colours like this? There's nothing complex about that if your colour scheme is b/w. I thought there was some purpose to it, but perhaps not?


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0

Yes, just need simple white and black versus black and white 😉

I saw some purposes but it was working with device settings... 

I just want to click on a moon icon to switch in black and white and invert like in example,

 

Many thanks

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...