-
-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf8b8a1
commit 2ccf75c
Showing
20 changed files
with
89 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ susy-*.gem | |
*.DS_Store | ||
.sass-cache | ||
.rvmrc | ||
.pages/ | ||
pkg/ | ||
*.sublime-* | ||
docs/_build/ | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
2ccf75c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mirisuzanne , hi!
I'm curious. Why to drop
$count x $width
syntax incolumns
? I loved this syntax. I even started to use it on my own mixins and functions.2ccf75c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robsonsobral it's a fair question. I went back and forth on that for a while. In the end I realized I could simplify the parser/normalization dramatically by following the CSS Grid spec instead of inventing my own syntax. Wouldn't be hard to add back in if we feel like it's needed, but
susy-repeat()
felt like cleaner solution, and an opportunity to simplify.2ccf75c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the list syntax is easier to understand and to learn. Everybody can understand at the first look. However, it's all a matter of personal preference.
I'll have to update two projects, I guess, which used the previous alphas. No problem.
2ccf75c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which are you referring to as the "list syntax"?
I agree, it's very easy to get caught up in personal syntax preferences. My hope was that this approach is teaching people how to use CSS Grid syntax, or allows people who know CSS Grid to use our syntax pretty interchangeably.
I also thought about allowing
fr
units, and then stripping them in normalization – since CSS Gridfr
and our unitless numbers serve the same purpose. My only worry is that there might be small differences, and we don't want to stop people from usingfr
if there's a good reason for that instead of unitless.2ccf75c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ops! I'm sorry. This is what I mean.