Skip to content
This repository was archived by the owner on Jan 2, 2020. It is now read-only.

Bower package not found? #1

Open
Jakobud opened this issue Mar 31, 2015 · 6 comments
Open

Bower package not found? #1

Jakobud opened this issue Mar 31, 2015 · 6 comments

Comments

@Jakobud
Copy link

Jakobud commented Mar 31, 2015

# bower install semantic-ui-scss
bower ENOTFOUND     Package semantic-ui-scss not found

Uh.... what?

@einkoro
Copy link
Owner

einkoro commented Mar 31, 2015

The package was never registered. The port hasn't progressed beyond a WIP due to issues with inheritance and lack of support using variables in import statements. There is a conversation on the Semantic UI issues about it

@Jakobud
Copy link
Author

Jakobud commented Mar 31, 2015

Yeah I think they all got closed. Too bad there isn't a way to make this happen. Is the problem just trying to include theme partials using variable names?

@einkoro
Copy link
Owner

einkoro commented Mar 31, 2015

Phone cut me off pasting the URL, thread is here:
Semantic-Org/Semantic-UI#1147

Thats correct. I've looked at alternatives using the structure outlined in the readme and building a bunch of prefixed variables but its prone to error. Dropping theme support would be the only viable way to push out a sass port similar to how Foundation's SCSS bower package is structured.

@einkoro
Copy link
Owner

einkoro commented Mar 31, 2015

Ah I see you are already on that thread. Do you think there would be any interest in a version minus the theme support?

@Jakobud
Copy link
Author

Jakobud commented Mar 31, 2015

I would use it. Or at least try it. I would think it would be easy to add in theme support but just without using variables in the import names. Just import additional theme-specific partials to override your default variable values. I'll look at it closer this week and see if it's feasible or not.

@einkoro
Copy link
Owner

einkoro commented Mar 31, 2015

I was playing around with compiling the !default variables into each component partial like foundation and then you can load your own variables in a partial before the components. The problem I ran into was some global variables are redefined per component which would likely require changes upstream and talking to Jack changing them was a less than desirable approach.

My experimental solution to that was to create component specific versions of the globals and inherit the globals unless one was defined in the component. It made things a pain to override from your own variables partial in my experience so I dropped it at that point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants