Color-Change Night Mode

Hi Community.

I would love to set the color for one field of my cards to a different color in Night Mode than in Day Mode.
I would love to use LightGrey for Day Mode and Gray for Day Mode.

How can I do that?

Thank you.

To achieve that, you need to edit the Card Template of your notes.

A possible approach could be:

Front/Back template:

<span class="myClass">{{Field}}</span>

Styling section:

.myClass {color: grey;}
.night_mode .myClass {color: lightgrey;}

Thank you so much for your help :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.