-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default CSS in each page #253
Comments
Hey @ralfiannor, thanks for trying Bud! The A couple solutions I can think of right now. 1. You can override This was the original plan. By creating a 2. No default styles, instead you're expected to scaffold your CSS solution Something like: bud new css tailwind
bud create --css=tailwind 3. A default CSS stylesheet is added when you create a new project. You can delete it if you don't want it This way you get the default, but you can go back to no styling or replace it by deleting the generated file. You could additionally add scaffolders for Tailwind like in 2., but the difference is that 3. starts with a default, where 2. does not. I'm leaning towards 3. right now because I think it provides the most flexibility. |
I remember @vito also being surprised about the |
I like 3 as well. I was a little surprised to have default CSS but I think it's a reasonable thing for Bud to do, since as you said just about every project starts with one, and I think it's good for Bud to cut out as much boilerplate as possible. What I like about 3 is I can clearly see that it generated a default CSS for me. Thinking back what was more surprising was that it was happening without any indication, it was just sort of injected into the page for me. One thing to consider is what happens when I bump to a new version of Bud that comes with a new default CSS. I guess I would expect the |
Good point! I also agree that a manual upgrade would be preferable to a potential styling surprise. Copy and paste for now should be fine since I don't see normalize.css changing much. Let's go with 3. then! @ralfiannor, do you have any interest in contributing this change in your PR? |
@matthewmueller Great, I'm interested to start contributing to this project. So If we run the command |
I'd ignore tailwind scaffolding at the moment because I intend to work on that soon #188 and I'm not quite sure what shape that will take at the moment. For now I'd suggest:
|
any updates? |
Instead applied a default css in each html page, why not to add the css style in the
example project
orwelcome page generator
only.The text was updated successfully, but these errors were encountered: