Hyper: A component-first CSS design system.
1. settings
: Global variables, theme confing and typography settings, etc.2. base
: Low-specificity, far-reaching rulesets (e.g. normalize, typography, fonts).3. tools
: The style files are the main parts of the site is located in this folder.4. elements
: Unclassed HTML elements. (eg.a { }
,hr { }
,)5. objects
: Objects, abstractions, and design patterns (e.g..o-layout {}
).6. components
: Discrete, complete chunks of UI (e.g..c-carousel {}
).7. utilities
: High-specificity, very explicit selectors. Overrides and helper classes (e.g..u-hidden {}
).8. vendors
: Outside library files. (e.g magnific-popup, jquery-ui, )
hyper.scss
: Home sass file. You can@import
way of typing necessary to your project.
Depending on the structure of your project, you can add new scss files to expand the structure. You're free.
hyper/
|
|β settings/
| |β __all.scss
| |β _core.scss
| |β _theme.scss
| |β _typography.scss
| β¦
|
|β tools/
| |β __all.scss
| |β _clearfix.scss
| |β _breakpoints.scss
| |β _fonts-face.scss
| |β _rem.scss
| |β _list.scss
| |β _grid.scss
| |β _visibility.scss
| |β _transition-delay
| |β _background-retina
| β¦
|
|β base/
| |β __all.scss
| |β _normalize.scss
| |β _fonts.scss
| |β _typography.scss
| |β _icons.scss
| |β _reboot.scss
| β¦
|
|β elements/
| |β __all.scss
| |β _links.scss
| |β _hr.scss
| β¦
|
|β objects/
| |β __all.scss
| |β _header.scss
| |β _main-nav.scss
| |β _breadcrumbs.scss
| |β _list.scss
| β¦
|
|β components/
| |β __all.scss
| |β _button.scss
| |β _accordion.scss
| |β _carousel.scss
| |β _modal.scss
| |β _slider.scss
| |β _table.scss
| |β _box.scss
| β¦
|
|β utilities/
| |β __all.scss
| |β _clearfix.scss
| |β _typography.scss
| |β _heading.scss
| |β _print.scss
| |β _visibility.scss
| |β _float.scss
| |β _gap.scss
| |β _responsive-img.scss
| |β _scroll.scss
| β¦
|
|β vendors/
| |β __all.scss
| |β _library-file.scss
| β¦
|
β hyper.scss # Hyper main scss file
MIT license