Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Parametric CSS #8

Open
dan9186 opened this issue Jan 26, 2014 · 2 comments
Open

Parametric CSS #8

dan9186 opened this issue Jan 26, 2014 · 2 comments

Comments

@dan9186
Copy link
Contributor

dan9186 commented Jan 26, 2014

Any thoughts/opinions on doing some parametric CSS in the skeleton? I'm only familiar with LESS, but I know there's others out there. Pretty sure that we shouldn't have lots of CSS in there, but might be useful to set the groundwork for using it with the project being built from the skeleton.

@svpernova09
Copy link
Member

Per conversation we had about this: I'm all for adding the ability to customize CSS using LESS or any other methods so long as it doesn't get in the way of someone that may not be familiar enough to use it or prefer to use an alternate method.

tl;dr: Anything we add should be able to be ignored by the lowest common user. Lowest common user is likely someone who just wants Laravel+Bootstrap.

@dan9186
Copy link
Contributor Author

dan9186 commented Jan 29, 2014

I dunno about SASS just yet cause I've not looked at it, but LESS is still subsequently compiled out to regular CSS. I would be willing to assume that SASS is similar. So if a person wanted to totally ignore it and only edit the CSS, they could.

The advantage would come in with adding customizations faster. If we included the Bootstrap LESS files it would mean being able to do something like.

.btn-custom {
  .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
}

That would then compile as CSS if you wanted to easily add in new pieces. If you didn't want to touch it, you wouldn't have to. Just food for thought.

Sauce: http://stackoverflow.com/questions/17128904/styling-twitters-bootstrap-3-x-buttons

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

No branches or pull requests

2 participants