GithubHelp home page GithubHelp logo

Comments (11)

Kilian avatar Kilian commented on May 18, 2024 1

FromScratch currently has no management gui or settings, and I'd like to keep it that way.

from fromscratch.

adiultra avatar adiultra commented on May 18, 2024

Yep I do like the solarised light syntax theme rather than solarised dark. Also, It would be great to have custom font, because I am a real fan of Architects Daughter Font, for note taking.

@JohnSandel pls change the issue title to themeing ;p

from fromscratch.

Kilian avatar Kilian commented on May 18, 2024

Would a settings/theming file in ~/.fromscratch suffice? a theme.json with this style?

{
  "background":"#000",
  "color": "#fff"
}

from fromscratch.

adiultra avatar adiultra commented on May 18, 2024

@Kilian Yep It would definetly, But gui would be great for non programmers. 👍

from fromscratch.

adiultra avatar adiultra commented on May 18, 2024

😢 😿

from fromscratch.

spike1234 avatar spike1234 commented on May 18, 2024

+1

from fromscratch.

Kilian avatar Kilian commented on May 18, 2024

I'm going to wait until electron updates to Chrome 48 or 49 so I can try and use css variables. Due to the theme now using SCSS to programmaticly define the highlight and focus colors based off the default colors, this is harder to do on runtime.

from fromscratch.

altern8tif avatar altern8tif commented on May 18, 2024

Is this still on the cards?

from fromscratch.

Kilian avatar Kilian commented on May 18, 2024

Yes, but it turned out to be a bit more difficult than just setting the foreground and background :) I need a bunch of color functions to generate all the permutations (selection, found items, current line highlight) and that is currently done in SCSS. I could switch to CSS4 color functions and use PostCSS, but I would need to ship the parser and build something to parse a users css file with Fromscratch if end users should be able to theme. It's a difficult problem if you want to keep the automation for the styling that I have.

Another option is hue-rotate, which is very limited and basically only allows you to change the blue-ish tint to a different coloured tint, leaving the saturation and lightness the same (so you could have a dark theme in red, or green, or purple or whatever, but they would still be dark).

I'm holding out for a better option, or css4 color function support.

from fromscratch.

Kilian avatar Kilian commented on May 18, 2024

It's a little work-in-progress, but I came up with a nice way to get a light theme:
selection_003

This allows me to re-use my theme setup, as it's essentially a color-corrected inversion :)

from fromscratch.

spike1234 avatar spike1234 commented on May 18, 2024

very nice! I like it better than the standard colors! :)

from fromscratch.

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.