- Up to date
- Better documentation. Now it clearly states that
sgl-html()
is mandatory for all the other mixins to work.
main
attribute topackage.json
so it's easier to import Sassy Gridlover when using bundlers #21
- Warning error in
!global
variables when using Dart Sass.
bower.json
minor issue.
- Failed to publish v6.0.0 correctly to npm and yarn.
NOTE: This release contains breaking changes!
- Refactored Sassy-Gridlover so it stays up to date with Gridlover.
- Changed some defaults:
Deprecated$sgl-base-font-size: $SGL_DEFAULT_FONT_SIZE
.$sgl-base-font-size: 18
.Deprecated$sgl-base-line-height: 1.2
.$sgl-base-line-height: 1.3
.Deprecated$sgl-base-unit: "pxrem"
.$sgl-base-unit: "em"
.
- Added new steps to
sgl-body()
sgl-heading()
andsgl-margins()
mixins:Deprecated@mixin sgl-body($unit: $sgl-base-unit)
.sgl-body()
now accepts 2 arguments:$line-height-step: 0
$unit: $sgl-base-unit
- →
@mixin sgl-body($line-height-step: 0, $unit: $sgl-base-unit)
.
Deprecated@mixin sgl-heading($step, $unit: $sgl-base-unit, $base-value: $sgl-root-font-size)
.sgl-heading()
now accepts 6 arguments (the first 4 are mandatory):$font-size-step
$line-height-step
$margin-top-step
$margin-bottom-step
$unit: $sgl-base-unit
$base-value: $sgl-root-font-size
- →
@mixin sgl-heading($font-size-step, $line-height-step, $margin-top-step, $margin-bottom-step, $unit: $sgl-base-unit, $base-value: $sgl-root-font-size)
.
Deprecated@mixin sgl-margins($unit: $sgl-base-unit, $base-value: $sgl-root-font-size)
.sgl-margins()
now accepts 4 arguments (the first 2 are mandatory):$margin-top-step
$margin-bottom-step
$unit: $sgl-base-unit
$base-value: $sgl-root-font-size
- →
@mixin sgl-margins($margin-top-step, $margin-bottom-step, $unit: $sgl-base-unit, $base-value: $sgl-root-font-size)
.
- Added
$sgl-debug-mode-max-width
to center the text when debug mode istrue
. - Moved some list styles from
_extras.scss
tomain.scss
. - Cleaned up the docs.
- Published Sassy-Gridlover as a yarn package.
- Changed some defaults:
- Merged #16 (Fixes
sgl-extras
variable). - Added
.editorconfig
.
- Added Code of conduct.
- Added Issue template.
- Added Pull request template.
- Fixed MIT License for
npm
andbower
packages.
- Added optional extra reset styles to make sure everything is aligned.
- Changed license to MIT License.
- Added Travis CI
NOTE: This release contains breaking changes!
-
Refactored Sassy-Gridlover so it stays up to date with Gridlover. Now the base font size and line height are added to
<html>
instead of<body>
.- Added a new mixin:
sgl-html()
. - Created a global variable:
$sgl-root-font-size
(to rule them all!). sgl-body()
now only accepts 1 argument$unit: $sgl-base-unit
→@mixin sgl-body($unit: $sgl-base-unit)
.Deprecated@mixin sgl-body($font-size: $sgl-base-font-size, $unit: $sgl-base-unit)
- Fixed some decimals on
rem
outputs. - Simplified
sgl-show-grid()
. Now it goes insidesgl-html()
and it only accepts 1 argument. - Added
$unit
insgl-show-margins()
as a parameter for more flexibility. $sgl-base-font-size:
has now$SGL_DEFAULT_FONT_SIZE
as default.
- Added a new mixin:
-
Updated links to the Gridlover app.
NOTE: This release contains breaking changes!
- Prefixed with
sgl-
some functions that were left behind in previous versions (so they don't collide with other functions with the same name from other frameworks #9). - Changed some margins (to keep Sassy-Gridlover up to date with Gridlover's margins changes).
- Matched HTML example with Gridlover's.
- Refactored debug mode (created
_debug-mode.css
with a couple of mixins:sgl-show-grid
andsgl-show-margins
).- Removed
max-width
andpadding
from<body>
. - Fixed background lines styles.
- Added arrows to show margins directions.
- Now the debug mode works with the different units (
px
,em
,rem
,pxrem
).
- Removed
- Published Sassy-Gridlover as an npm package.
Published Sassy-Gridlover as an npm package.- Failed at publishing the npm package xD.
- Fixed decimals on line heights when using
em
#12.
- Added debug mode.
NOTE: This release contains breaking changes!
- Added
sgl-
prefix to all functions so they don't collide with other functions with the same name from other frameworks #9. - Changed mixins'
sassy-gridlover-
prefix forsgl-
.
NOTE: This release contains breaking changes!
- Added em support.
- Added @param {string} $unit [$sgl-base-unit] - Unit to output
@param {Boolean} $rem [false] - Outputs rem units ifDeprecatedtrue
- Upgraded to SassDoc v2.1.0
- Added SassDoc documentation #6.
- Applied naming conventions to constants #5.
- Added
pow()
function for Compass, Sassy-math, etc. #4 - Changed strings for lengths #3
- Added
!default
to configurable variables #2
- Released stable version.
- Added bower installation support.
- Initial commit.