-
Notifications
You must be signed in to change notification settings - Fork 0
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
98e76cc
commit 409af97
Showing
16 changed files
with
490 additions
and
82 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
docs | ||
examples |
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
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
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
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 |
---|---|---|
@@ -1,19 +1,27 @@ | ||
@require stylus-kit | ||
|
||
.faz | ||
grid-template-columns map(1..5, @(a){ (a)fr }) | ||
|
||
.foo | ||
odd-numbers filter(1..10, @(a){ a % 2 }) | ||
|
||
.bar | ||
z-index reduce(1..5, @(a, b){ '%s%s' % (a b) }) | ||
background-color facebook | ||
|
||
.faz | ||
some-lists concat(1..9, range(10, 100, 10), range(100, 1001, 100)) | ||
f(str) | ||
warn('nueva func') | ||
ans = split('{', str) | ||
ans = map(ans, @(x){split('}', x)}) | ||
ans = map(ans, @(x){ | ||
p('.............') | ||
p(x) | ||
|
||
x0 = lookup(x[0]) | ||
|
||
p(x[0]) | ||
|
||
x | ||
}) | ||
p(ans) | ||
ans | ||
|
||
my-hash = yaml('stylus-kit/yml/measures.bootstrap.yml', { hash: true }) | ||
// zip(('width' 'height' 'color'), (4em 5em cyan)) | ||
padd = 1rem | ||
padd2 = padd * 2 | ||
|
||
p(my-hash.breakpoints) | ||
div | ||
padding padd2 | ||
height calc(100vw - 4em + 3px) | ||
width 'calc(50% - %s)' % padd2 | ||
--str f('padd vale {padd} y padd2 vale {padd2}') |
Oops, something went wrong.