All Projects → oddbird → Susy

oddbird / Susy

Licence: bsd-3-clause
Responsive layout toolkit for Sass

Programming Languages

SCSS
7915 projects
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Susy

Mappy Breakpoints
Breakpoints with Maps in Sass
Stars: ✭ 360 (-90.82%)
Mutual labels:  scss
Arewegameyet
The repository for arewegameyet.rs
Stars: ✭ 372 (-90.52%)
Mutual labels:  scss
Umy Ui
umy-ui,一套为开发者准备的基于 Vue 2.0 的桌面端组件库,完美解决表格万级数据渲染卡顿,编辑表格卡顿问题
Stars: ✭ 396 (-89.9%)
Mutual labels:  scss
The Shell
Ghost Theme 👻
Stars: ✭ 362 (-90.77%)
Mutual labels:  scss
Office Ui Fabric Core
The front-end CSS framework for building experiences for Office and Microsoft 365.
Stars: ✭ 3,678 (-6.22%)
Mutual labels:  scss
Repl
The Learning Hub for UoL's Online CS Students
Stars: ✭ 367 (-90.64%)
Mutual labels:  scss
React Coding Challenges
A collection of React.js coding challenges with different difficulties.
Stars: ✭ 294 (-92.5%)
Mutual labels:  scss
React 2048 Game
🎮 A fancy 2048 game build with react, redux best practices.
Stars: ✭ 401 (-89.78%)
Mutual labels:  scss
Magento2 Theme Blank Sass
SASS based version of Magento 2 Blank theme
Stars: ✭ 373 (-90.49%)
Mutual labels:  scss
Motherplate
A bare bones responsive SCSS boilerplate for web designers
Stars: ✭ 392 (-90.01%)
Mutual labels:  scss
Sass Loader
Compiles Sass to CSS
Stars: ✭ 3,718 (-5.2%)
Mutual labels:  scss
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-90.64%)
Mutual labels:  scss
Typesettings
A Sass or Stylus toolkit that sets type in Ems based on modular scale, vertical rhythm, and responsive ratio based headlines.
Stars: ✭ 380 (-90.31%)
Mutual labels:  scss
Coreui
Open Source UI Kit built on top of Bootstrap 4 and plain JavaScript without any additional libraries like jQuery
Stars: ✭ 361 (-90.8%)
Mutual labels:  scss
Adminkit
🧰 AdminKit is a free & open source Bootstrap 5 Admin Template
Stars: ✭ 395 (-89.93%)
Mutual labels:  scss
Serverless Stack Com
An open source guide for building and deploying full-stack apps using Serverless and React on AWS.
Stars: ✭ 3,617 (-7.78%)
Mutual labels:  scss
Hacktoberfest2019
Happy Hacktober! This is a beginner friendly repository made specifically for Hacktoberfest that helps you get your first PR.
Stars: ✭ 378 (-90.36%)
Mutual labels:  scss
Vue Material Dashboard
Vue Material Dashboard - Open Source Material Design Admin
Stars: ✭ 403 (-89.72%)
Mutual labels:  scss
Textarea Autosize
Vertically adjust a textarea based on user input without using a clone or ghost element.
Stars: ✭ 400 (-89.8%)
Mutual labels:  scss
Trunk
Build, bundle & ship your Rust WASM application to the web.
Stars: ✭ 378 (-90.36%)
Mutual labels:  scss

Power Tools For The Web [Deprecated]

Susy is Deprecated. It should no longer be used on new projects, and will no longer be receiving any updates.

npm version
Build Status

Susy is a design-agnostic set of tools for creating powerful, custom layouts. We didn't want another grid system full of rules and restrictions — we wanted a power tool for building our own damn systems. Version Three is trimmed down to it's most basic components — functions that can be used to build any grid system.

Quotes

"I like the idea of grids-on-demand, rather than a strict framework."
– Chris Coyier, CSS Tricks

"Susy and Zendesk have been getting along magically… It’s precisely what you need and nothing more."
— Stephany Varga, Zendesk

"If you’re interested in reading Sass poetry, be sure to look at Susy’s source code!"
— Kitty Giraudel, SitePoint

Resources

Third-Party Tools

Installation

npm install susy

There are two imports to choose from. The default sass/susy comes with un-prefixed versions of the core API functions. If you want Susy to be name-spaced, import sass/susy-prefix instead.

// un-prefixed functions
@import '<path-to>/susy/sass/susy';

// susy-prefixed functions
@import '<path-to>/susy/sass/susy-prefix';

Using Eyeglass

With eyeglass set up, you can @import 'susy'; without providing the npm-modules path.

Using Webpack

Make sure sass-loader is installed:

npm install sass-loader --save-dev

Make sure you have sass-loader enabled in your webpack configuration:

// webpack.config.js
module: {
  rules: [
    {
      test: /\.scss$/,
      use: ['style-loader', 'css-loader', 'sass-loader']
    }
  ]
}

Start using Susy:

/* app.scss */
@import "~susy/sass/susy";

Using Gulp

Add a gulp task:

// gulpfile.js
gulp.task('sass', function() {
  return gulp.src('scss/*.scss')
      .pipe(sass({
          outputStyle: 'compressed',
          includePaths: ['node_modules/susy/sass']
      }).on('error', sass.logError))
      .pipe(gulp.dest('dist/css'));
});

Start using Susy:

/* app.scss */
@import 'susy';

Using Grunt (and Yeoman)

To add Susy to the Sass task, edit your Gruntfile.js at the root level of your project and look for the Sass-related rules. Add require: 'susy' inside the options object:

// Gruntfile.js
sass: {
  dist: {
    options: {
      style: 'expanded',
      require: 'susy'
    },
    files: {
      'css/style.css': 'scss/style.scss'
    }
  }
}

Assuming you’ve already installed Susy, it will now be added to the project and will not clash with Yeoman's grunt rules.

Start using Susy:

/* app.scss */
@import 'susy';

Susy vs Su

You may notice that some functions have a susy- prefix, while others only have su-. This helps distinguish between the two distinct layers:

  • The core grid-math layer is called Su, and is made up of "pure" functions that expect normalized values. This is useful if you prefer argument-syntax to shorthand syntax, or if you are building your own Susy mixins.
  • The upper Susy layer provides syntax-sugar – global defaults, shorthand-parsing, normalization, and a smaller set of common-use functions that call on the core math as necessary. This is the primary API for most users.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].