Giter Site home page Giter Site logo

Dark mode/theme error about nyxt HOT 5 CLOSED

lansingthomas avatar lansingthomas commented on August 18, 2024
Dark mode/theme error

from nyxt.

Comments (5)

aadcg avatar aadcg commented on August 18, 2024 2

You should always open an issue and assign it to yourself in that case. That communicates to your team members on what you're focusing.

from nyxt.

hgluka avatar hgluka commented on August 18, 2024 1

Both dark-mode from the toggle modes menu and the Use Dark Theme button in the Common Settings section are causing an error -- and not initiating dark theme.

As far as I know, those two are unrelated.

  • dark-mode runs the darken bookmarklet from bookmarklets-mode, which just invokes a piece of JS code to darken a webpage.
  • Dark theme is the Nyxt theme, which handles the UI elements (and internal pages, panel and prompt buffers), but not the webpages themselves.

I can reproduce the error for dark-mode and I think there's an easy fix.
Dark theme works for me, but I have to restart Nyxt for it to be applied. This will hopefully be fixed soon in #3120.

from nyxt.

aadcg avatar aadcg commented on August 18, 2024

@hgluka correct! Could you please close this issue and open a short issue mentioning the issue relative to dark-mode?

The issue relative to the dark theme is implicit in #2296.

from nyxt.

hgluka avatar hgluka commented on August 18, 2024

@aadcg I was going to just make a PR with the fix, but I can open a new issue as well.

from nyxt.

hgluka avatar hgluka commented on August 18, 2024

Closing in favor of #3128.

from nyxt.

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.