Giter Club home page Giter Club logo

Comments (5)

Lissy93 avatar Lissy93 commented on June 15, 2024

Hey @irasdesire
You can have a theme for each page, and a locally stored theme on each browser (so different users could have different themes that way, if they have different computers), but right now there's no option for a theme for each user.

Realistically, I don't think this will be a feature that I implement, as the complexity would be quite high, for something quite niche.

from dashy.

irasdesire avatar irasdesire commented on June 15, 2024

hey, thank you for the answear! maybe i wasn t clear in my question, the problem is that i want only one theme for everyone and for some reason admin user see a theme, the rest of the users see other theme (the default one) and i don t know how comes this behavior.
the change i made : for the config, in SettingsContainer.vue i added a v-if based on computed isUserAdmin() . so, only if the user is admin, he can see , , , . for the admin user everything is fine, for the rest of the users it shows the default theme....also i added some console.logs and i see that the theme looks corectly set (i chose material) still the default one is shown in browser :( maybe i did something wrong i don t know, maybe you can make it clear for me

from dashy.

CrazyWolf13 avatar CrazyWolf13 commented on June 15, 2024

So you are speaking of a config option to set a default theme globally, for all users?

from dashy.

irasdesire avatar irasdesire commented on June 15, 2024

yes, i set it using theme selector (chose material) + also in config.yml i made theme: material. and other users still se the default one

from dashy.

Lissy93 avatar Lissy93 commented on June 15, 2024

Ah, I see. Yes, if you set a theme in your config, that will be applied for everyone / all users.

When a user changes the theme through the UI, their chosen theme is remembered in their browsers local storage.
So if you're seeing a different theme, to what you set in the config, try clearing local storage (under the Config Menu --> Reset Local Settings)

from dashy.

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.