Git Product home page Git Product logo

Comments (6)

linuz90 avatar linuz90 commented on August 12, 2024 2

I have an idea on how to implement this, so I'm re-opening this issue and I'll give it a shot soon.

from better-roam-research.

linuz90 avatar linuz90 commented on August 12, 2024 1

Thanks! Unfortunately not at this moment, I'm using the CSS native prefers-color-scheme query. I'll look into ways of doing this.

from better-roam-research.

jabossu avatar jabossu commented on August 12, 2024 1

I'm looking for the opposite : setting roam to dark mode while having my browser set to light.
In fact, my browser isn't set to anything : i'm running linux, which doesn't have a system wide dark/light mode system.

Thanks for the gorgeous theme !

from better-roam-research.

linuz90 avatar linuz90 commented on August 12, 2024 1

Just added support to this.

In your roam/css, instead of main.css, import dark.css or light.css to force the respective theme.

To achieve these I've used sass imports, so that main.scss imports both theme and leverages the system preference, while dark.scss and light.scss only import the respective palette.

Enjoy!

from better-roam-research.

hannah23280 avatar hannah23280 commented on August 12, 2024

Hi, love this theme!

I was just wondering if it was possible to enable the light mode despite having my Mac set on dark mode?

Me too. wanted to have my PC set to white mode, with the roam set to dark mode. Think i am not wrong, might have to resort to javascript to do this

from better-roam-research.

devinmancuso avatar devinmancuso commented on August 12, 2024

+1 was looking for this feature, would be extremely useful! Thanks for reopening this one @linuz90

from better-roam-research.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.