Giter Club home page Giter Club logo

Comments (14)

 avatar commented on April 27, 2024 1

I'll keep experimenting :)

By the way, instead of doing it a CLI argument, I did a theme chooser in pure CSS, and the theme has become a query parameter. Since theme is really up to the client, I found it wierd to set it at CLI-level, kind of like sorting.

Still a prototype, but it looks like this at the moment:

Edit: removed outdated screenshot

from miniserve.

 avatar commented on April 27, 2024

Should be easy, do you have a colorscheme or an application you like design-wise ?

Edit: removed outdated screenshot

Here's a little fun based on an Arch-like palette :) I also added some padding.

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

I actually kinda like that colorscheme. Actualllly how about colorscheme support? We could provide a bunch of colorschemes. The few bytes won't make it too bloaty and another added CLI option won't kill us.

Yeah but generally I also want a more contrasted default color scheme that still looks clean but just has better contrast than the current one.

from miniserve.

 avatar commented on April 27, 2024

Sure, great idea. I'll be on it then ;) By support, do you mean being able to read actual tmTheme files from known themes (Monokai, etc) ? Or should I hardcode the themes ? I think we don't need the whole themes, we basically need 8-10 colors max, so I would go for hardcoding them.

struct MonokaiTheme {
  background: "abcdef",
  text_color: "eeeeee",
  link_color: "ffffff"
  ...
}

Something like this (that's not valid syntax but you get it :P)

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

Yes, absolutely go for hard coding them.

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

Maybe actually in the form of having a different CSS template files? I'm not sure which would be better.

from miniserve.

 avatar commented on April 27, 2024

If we only change colors, I think the first option is the easiest. If we want to have actual themes and not only color schemes, the latter option is the best.

I'll start with the first one, we'll see how it goes

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

from miniserve.

 avatar commented on April 27, 2024

Sure, how would you want it to be ?

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

I honestly don't know :P I'd probably play around with it a bit and look at how other software represents the dates.

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

from miniserve.

svenstaro avatar svenstaro commented on April 27, 2024

from miniserve.

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.