threespot / frontline-sass Goto Github PK
View Code? Open in Web Editor NEWThreespot's base Sass framework
Home Page: http://threespot.github.io/frontline-sass/documentation/
License: MIT License
Threespot's base Sass framework
Home Page: http://threespot.github.io/frontline-sass/documentation/
License: MIT License
Add new mixin for scaling units based on viewport width:
http://www.sassmeister.com/gist/7f22e44ace49b5124eec
Based on this http://slides.com/davidkhourshid/deck-17#/9
Since upgrading to Rails 6, I'm getting some deprecation warnings related to this package:
DEPRECATION WARNING on line 1270 of /Users/orenmagid/development/opensecrets-sandbox/app/assets/stylesheets/../../../node_modules/frontline-sass/dist/_frontline.scss: !global assignments won't be able to declare new variables in future versions. Consider adding
$burger-height: null at the top level.
There's a similar warning about the next line, $burger-gutter
.
Let me know if there's any other information I can provide. Thanks!
This will allow for element styles to be nested within the element while relying on the parents state.
fs-static-parent
fs-attention-parent
fs-all-states-parent
Example:
@mixin fs-attention-parent($parent:null) {
@if $parent {
#{$parent}:hover &,
#{$parent}:focus &,
#{$parent}:active & {
@content;
}
}
@else {
@content
}
}
fs-strip
to fs-strip-unit
Allow for passing a breakpoint map for scale attributes similar to poly-fluid-sizing
The documentation is either out of sync or incorrect.
fs-svg
- missing params, incorrect return valuefs-triangle
- check with Raefs-burger-to-cross
- missing paramWould be convienent if fs-svg
accepted a function for the $color
arguement.
Use Case:
.example {
background-image: url( fs-svg($name: 'chevron', $color: fs-color('blue') ) );
}
Pseudo:
@function fs-svg($name, $color) {
// . . .
// Fill
$fill: '';
@if ($color) {
@if (type-of($color) == 'function') {
$fill: call($color);
} @else {
$fill: ' fill="#{$color}"';
}
}
// . . .
}
ActionView::Template::Error (Error: Incompatible units: 'deg*deg*deg' and 'deg'.
09:46:25 web.1 | on line 475 of node_modules/frontline-sass/dist/_frontline.scss
09:46:25 web.1 | >> $result: $result + $item;
09:46:25 web.1 | -------------^
09:46:25 web.1 | ):
The fs-pow()
function fails for non-unitless values. Need to store the units, strip them, then reapply to the result.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.