ginetta / skeleton

a static site generator for web frontend projects
22 stars 4 forks source link

Better skeleton boilerplate. #118

Closed lucalanca closed 7 years ago

lucalanca commented 8 years ago

Styles

styles folder no longer exist. — style files should now be under: styles (color, typography, sizes, etc), elements (utilities, similar to 4.layout or 3.base or the objects layer on ITCSS) or modules — the "root" css file is placed on templates. it is also possible to add page-dependent styles by placing more root files under /pages

Scripts

scripts folder no longer exist. — the "root" js file and the "vendor" js files are now under "/templates/default" but one could easily create page specific files by creating a file under /pages

Styles

— added typography — added colors — added spacings

Elements

— added buttons — added containers — added grid

Modules

— moved header to modules.

meodai commented 8 years ago

I like it! But default button styles? Does not feel like this should be part of skeleton. But rather be a separate thing.

ingvoo commented 8 years ago

Is the idea behind Skeleton to be as bare as possible? @meodai is that maybe the reason why you ask about button styles?

meodai commented 8 years ago

@ingvijonasson yes. To me a boilerplate should not go further then resetting or normalizing. But i like the idea of very reusable components maybe something like skeletton-bootstrap? Or meat :D

peterbraden commented 8 years ago

Are js files glob included? How is ordering done?

lucalanca commented 8 years ago

@peterbraden: no, that's still as it was before. Only two root files: vendor and main. If something needs to be included, it needs to be explicitly imported there. (vendor is uses CommonChunks plugin to create a different bundle for vendor scripts, that can be cached as they don't often change).

lucalanca commented 7 years ago

replaced by https://github.com/ginetta/skeleton/pull/148