Giter VIP home page Giter VIP logo

Comments (5)

kookma avatar kookma commented on May 27, 2024

Thank you. I am following the Talk discussion and I support your idea. Right know I use the below workaround:

  1. read the $:/palette text field
  2. if empty, it is assumed $:/palettes/Vanilla is in use
  3. from the palette in use read the color-scheme field

This way Shiraz realizes which color mode (light or dark) is in use. The downside is unofficial palettes may have not the color-scheme field.

from tw-shiraz.

linonetwo avatar linonetwo commented on May 27, 2024

Oh, I don't know the color-scheme field yet!

But I have preferred dark scheme, which is Nord, but this button will pick Solarized automatically instead. So a manually choosed palette is required.

After the discussion there is settled (after a week), I will PR it to the core, and we can try to use those config tiddlers.

from tw-shiraz.

kookma avatar kookma commented on May 27, 2024

But I have preferred dark scheme, which is Nord, but this button will pick Solarized automatically instead. So a manually choosed palette is required.

No you can set it automatically! Open Shiraz Settings, and set your light and dark palette of choice, then the button automatically switch between your choices not the default value. See instruction below. Also there is a reset button to return to Shiraz Default value.

image

from tw-shiraz.

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.