Giter Site home page Giter Site logo

Just noticed your project about gloss HOT 4 CLOSED

kof avatar kof commented on June 19, 2024
Just noticed your project

from gloss.

Comments (4)

natew avatar natew commented on June 19, 2024

jss-expand is cool, it should expose it's expansions more generically so people can use it outside JSS, no need to tie it into the plugin API (motion-nice-styles is like this).

react-jss seems ok, but verbose for my liking and also requires you put styles before your views which is a pattern I don't follow.

Tbh, gloss came before a lot of the jss stuff, and I'm happy with how it works. To get all the functionality we have you have to sort of remove flexibility. For example, expansions within dynamic themes, requires quite a bit of integration.

The more the merrier though! If JSS gets to where gloss is, I'd gladly switch. I'll certainly crib some of the expansions from jss-expand (I've been wanting to implement a couple for a while). Though I think nice-styles has faster loops.

I see gloss as higher level than JSS. JSS is a great toolkit, but doesn't make big choices, and so can't have some of the cool but maybe controversial features.

I think they have big upsides though. One weekend I'm going to hack in some of my babel-fu and have all your static styles be completely optimized (compiled with motion-nice-style beforehand, maybe even run it through JSS and just hardcode the output styles). We did this previously in a different project, and it was awesome.

from gloss.

kof avatar kof commented on June 19, 2024

jss-expand is cool, it should expose it's expansions more generically so people can use it outside JSS, no need to tie it into the plugin API (motion-nice-styles is like this).

I am more than happy to extract those things into a separate, generic library.

react-jss seems ok, but verbose for my liking and also requires you put styles before your views which is a pattern I don't follow.

We can discuss what things you want and don't and find a solution. Also take a look at jss-theme-reactor which is used by material-ui next branch. Also if your solution is much different than the others, its fine to keep it as it is and I would just add it to the links for integrations after I understand more the ideas behind it.

For example, expansions within dynamic themes, requires quite a bit of integration.

My next task is to introduce a way for more efficient dynamic themes:
cssinjs/jss#356

I see gloss as higher level than JSS.

Yep, thats the idea for JSS, to stay lower level and less opinionated.

I think they have big upsides though. One weekend I'm going to hack in some of my babel-fu and have all your static styles be completely optimized (compiled with motion-nice-style beforehand, maybe even run it through JSS and just hardcode the output styles). We did this previously in a different project, and it was awesome.

Lets talk about this things in separate issues or/and gitter. I would love to work with you on all this!

from gloss.

kof avatar kof commented on June 19, 2024

Btw. I have started to gather a list of products/companies using JSS http://cssinjs.org/we-are-using , do you have one to add?

from gloss.

natew avatar natew commented on June 19, 2024

Awesome! Look forward to collaborating. When I worked on reapp, specifically the theme engine, I worked with the material guys on some of that.

Also, pulled some stuff out of our stack as a better demo: https://github.com/motion/gloss-demo

And sure, we are in stealth still, but you can add the (slightly broken) website: https://seemirai.com

from gloss.

Related Issues (4)

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.