Skip to content

Instantly share code, notes, and snippets.

Compiling Solid With Grunt Sass

Grunt-sass uses libsass to compile your sass. Use includePaths to make solid available as an scss import.

  sass: {
    dist: {
      options: {
        includePaths: 'node_modules/bf-solid/_lib'
 },
@samthurman
samthurman / Custom-Button-Colors-in-Solid.scss
Last active December 8, 2016 18:59
Extending Buttons W/ Solid
// Custom Button Boilerplate
// -------------------------
// all the css you would need to
// add a purple button to your app
// w/ Solid
.button--purple {
@include button-style(violet, $text-white, violet, $text-white);
}

#Onboarding (amy)

  • welcome to buzzfeed doc

##Tech Organization (luke)

  • staffing
  • learning and professional development

#Teams

@samthurman
samthurman / SassMeister-input.scss
Created October 7, 2015 14:17
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
//
// Mixins
// --------------------------------------------------
// Generate Breakpoint Prefixes
// -------------------------
@samthurman
samthurman / SassMeister-input.scss
Last active August 29, 2015 14:22
Generated by SassMeister.com.
// ----
// libsass (v3.2.4)
// ----
.person {
background: deepPink;
.person__face {
background: green;
@samthurman
samthurman / SassMeister-input.scss
Created May 12, 2015 18:58
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
// Borders
$border-default: 1px solid rgba(0,0,0,.2);
// Spacing
@samthurman
samthurman / SassMeister-input.scss
Last active August 29, 2015 14:21
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
//Generate Breakpoint Prefixes
// all of the breakpoint names and values
// we may use this a lot, keep them somwhere safe
$breakpoints: (
@samthurman
samthurman / SassMeister-input.scss
Created May 11, 2015 15:54
Generated by SassMeister.com.
// ----
// libsass (v3.2.2)
// ----
@function px-to-rem($size) {
$remSize: $size / 16px;
@return #{$remSize}rem;
}
h1 {
@samthurman
samthurman / SassMeister-input.scss
Last active August 29, 2015 14:20
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
// all of the breakpoint names and values
// we may use this a lot, keep them somwhere safe
$breakpoints: (
all: 0,
xs: 24rem,
@samthurman
samthurman / SassMeister-input.scss
Last active August 29, 2015 14:20
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
//breakpoint function, seems solid
@mixin media($breakpoint) {
$queries: (
xs: 24rem,
sm: 40rem,