Spectre: How to add dark mode?

Created on 9 Jun 2020  路  4Comments  路  Source: picturepan2/spectre

Hello,
I'd like to add dark mode while using spectr's SCSS. I'm wondering how can I acheive this?

duplicate enhancement

Most helpful comment

I will add dark mode.

All 4 comments

You can redefine default Spectre color variables: https://picturepan2.github.io/spectre/getting-started/custom.html#variables

alternatively, you can add a dark variant for elements.
&.dark-mode { -- override. }

I will add dark mode.

@picturepan2 That is wonderful to hear! Is there any progress yet to show&test?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elias-garcia picture elias-garcia  路  4Comments

CaiMiao picture CaiMiao  路  5Comments

mtnra picture mtnra  路  5Comments

9Emi picture 9Emi  路  3Comments

zibbizor picture zibbizor  路  4Comments