You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
creating components for hyperloop is cool and using them works, even if they depend on js, as this can be Hyperloop.import ed. Cool. just add it to Gemfile and ready to go.
But what about stylesheets?
When it comes to stylesheets, in addition to the gems, i have to instruct users to add this and that to application.css?
I guess for stylesheets to work "out of the box totally automatic", we will need to have some //= require hyperloop-stylein application.css, which is a erb and in addition have a Hyperloop.import_style
Activity
[-]distributing external components with style[/-][+]distributing components with style[/+]catmando commentedon Feb 19, 2018
I really want to add a DSL so that styles can be tied more directly to components, but still be overridden, but have it all work within ruby hyperloop
There are other projects like this both in Opal land, and in JS land
janbiedermann commentedon Feb 19, 2018
For example, Hyper::Vis::Component depends on Vis.js, Vis.js comes with stylesheets, referred by Vis.js itself, not by the component, how to handle?