Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
fix(generators/component): use correct names for rupture vars and rem…
Browse files Browse the repository at this point in the history
…ove unnecessary vars (#22)

due to upcoming changes to the DocumentDefault the variables for gutter and max width need not be
used anymore
  • Loading branch information
Doğa Gürdal committed Nov 14, 2017
1 parent ade1f5c commit 1311233
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions generators/component/templates/style.styl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
$rupture.scale = lookup('$globalLayoutScale') || (0 576px 768px 992px 1200px)
$rupture.anti-overlap = lookup('$globalLayoutOverlap') || -1px
$gutterWidth = lookup('$globalLayoutGutterWidth') || 1.5
$rupture.scale = lookup('$globalRuptureScale') || (0 576px 768px 992px 1200px)
$rupture.anti-overlap = lookup('$globalRuptureOverlap') || -1px
$containerPadding = lookup('$globalLayoutContainerPadding') || 15px
$containerMaxWidth = lookup('$globalLayoutContainerMaxWidth') || 1140px

.flyntComponent[is="flynt-<%= nameKebabCase %>"]
*,
Expand Down

0 comments on commit 1311233

Please sign in to comment.