minamarkham/sassy-starter
Sobre
๐ Starter Sassy โ HTML / SCSS (SMACSS)
Desenvolvimento web e de aplicativosO que vocรช pode fazer
- Live reloading with BrowserSync
- Image Minification
- Github Pages deployment
- Sass linting (based on default config)
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mรชs
- Coletando histรณrico
Variaรงรตes lรญquidas em perรญodos sobrepostos, nรฃo totais diรกrios. Mediรงรตes ausentes ficam em branco. Estrelas indicam interesse, nรฃo qualidade.
README.md
OriginalSassy Starter 
A starter toolkit based on Scalable and Modular Architecture for CSS (SMACSS) and Atomic Design for Sass (SCSS) projects. Do what you'd like with it :)
Styles are broken down into the following groups: Base, Layout, Atoms, Molecules, Organisms, States, Themes, Utilities and Overrides
Getting Started
- If needed, install
nodeandnpm(Node Package Manager).
- If needed, install
gulpwithnpm install gulp -g. - Clone this repo with
git clone https://github.com/minamarkham/sassy-starteror download the zip. - In terminal,
cdto the folder containing your project. Alternatively, you can typecdand drag the location of the folder into your terminal and hit enter (on Macs). - In terminal, type
npm install. If (and only if)npm installisn't working, trysudo npm install. This should install all dependencies. - In terminal, enter
gulp. - Your browser should open at
http://localhost:3000. You can access this same page on any device on the same wifi network and they'll see whats on your screen. It'll even sync scrolls and clicks! - Edit your code inside of the
srcfolder. - Your complied and minified css, html, and javascript files will be created and updated in
dist/. Never edit files within thedist/folder, as it gets deleted frequently. - Keep
gulprunning while you're making changes. When you want to stop the gulp task, hitctrl + C.
For theming: add separate file (theme.scss) insrc/scss/themes/, override the default $theme variable, and run gulp themes.
Requirements
- Node/NPM
- LibSass
- Gulp
Features
- Live reloading with BrowserSync
- Image Minification
- Github Pages deployment
- Sass linting (based on default config)
- Autoprefixer configuration
- SMACSS and Atomic Design-based folder structure
pxtoem,pxtoremand other useful functions.- Mixins for inlining media queries.
- Useful CSS helper classes.
- Default print styles, performance optimized.
- "Delete-key friendly." Easy to strip out parts you don't need.
- Includes:
Normalize.cssfor CSS normalizations and common bug fixesCSS Pesticidefor easy CSS debuggingjQueryvia CDN, with a local fallbackModernizr, via CDN, for feature detectionApache Server Configsthat, among other, improve the web site's performance and security
Dependencies
"browser-sync": "^2.0.0-rc4",
"colors": "^1.1.2",
"del": "^2.0.2",
"gulp-autoprefixer": "^2.1.0",
"gulp-concat": "^2.4.3",
"gulp-gh-pages": "^0.4.0",
"gulp-imagemin": "^2.1.0",
"gulp-jshint": "^1.9.0",
"gulp-minify-css": "^0.3.12",
"gulp-minify-html": "^0.1.8",
"gulp-notify": "^2.2.0",
"gulp-plumber": "^0.6.6",
"gulp-rename": "^1.2.0",
"gulp-sass": "^1.3.2",
"gulp-sass-lint": "1.0.1",
"gulp-size": "^1.2.0",
"gulp-sourcemaps": "^1.5.2",
"gulp-uglify": "^1.0.2",
"imagemin-pngquant": "^4.0.0",
"sassdoc": "^2.1.15",
"vinyl-paths": "^2.0.0"
Tasks
- clean:dist
- styles
- browser-sync
- deploy
- js-app
- js-libs
- sass-lint
- minify-html
- watch
- imagemin
- stats
- sassdoc
- themes
- default
- clean:dist
- browser-sync
- js-app
- js-libs
- imgmin
- minify-html
- styles
- watch
- build
- clean:dist
- js-app
- js-libs
- imgmin
- minify-html
- styles
- copy
- audit
- sass-lint
- stats
Directory structure
โโโ .gitignore
โโโ .htaccess
โโโ .sass-lint.yml
โโโ .travis.yml
โโโ src
โ โโโ browserconfig.xml
โ โโโ crossdomain.xml
โ โโโ humans.txt
โ โโโ icons
โ โ โโโ apple-touch-icon-114x114-precomposed.png
โ โ โโโ apple-touch-icon-57x57-precomposed.png
โ โ โโโ apple-touch-icon-72x72-precomposed.png
โ โ โโโ apple-touch-icon-precomposed.png
โ โ โโโ apple-touch-icon.png
โ โ โโโ favicon.ico
โ โ โโโ favicon.png
โ โโโ img
โ โโโ index.html
โ โโโ js
โ โโโ robots.txt
โ โโโ scss
โ โโโ atoms
โ โ โโโ _index.scss
โ โโโ base
โ โ โโโ _base.scss
โ โ โโโ _index.scss
โ โโโ layout
โ โ โโโ _index.scss
โ โโโ libs
โ โ โโโ _index.scss
โ โ โโโ _normalize.scss
โ โ โโโ _pesticide.scss
โ โโโ molecules
โ โ โโโ _index.scss
โ โโโ organisms
โ โ โโโ _index.scss
โ โโโ overrides
โ โ โโโ _index.scss
โ โโโ states
โ โ โโโ _index.scss
โ โ โโโ _print.scss
โ โโโ themes
โ โ โโโ rebeccapurple.scss
โ โโโ utilities
โ โ โโโ _colors.scss
โ โ โโโ _config.scss
โ โ โโโ _fonts.scss
โ โ โโโ _functions.scss
โ โ โโโ _index.scss
โ โ โโโ _mixins.scss
โ โ โโโ _typography.scss
โ โโโ styles.scss
โ โโโ _shame.scss
โโโ gulpfile.js
โโโ package.json
Bugs & Support
Developed by @MinaMarkham. Please list all bugs and feature requests in the Github issue tracker.
Thanks & Resources
This toolkit is based on the work of the following fine people & projects.
Explore projetos relacionados
Carregandoโฆ
