forked from sass/sass-site
-
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.
Closes sass#361
- Loading branch information
Israel-4Ever
committed
Sep 2, 2019
1 parent
2454333
commit 196b981
Showing
8 changed files
with
471 additions
and
42 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,34 @@ | ||
<% example do %> | ||
// _library.scss | ||
$black: #000 !default; | ||
$border-radius: 0.25rem !default; | ||
$box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default; | ||
|
||
code { | ||
border-radius: $border-radius; | ||
box-shadow: $box-shadow; | ||
} | ||
--- | ||
// style.scss | ||
@use 'library' with ( | ||
$black: #222, | ||
$border-radius: 0.1rem | ||
); | ||
=== | ||
// _library.sass | ||
$black: #000 !default | ||
$border-radius: 0.25rem !default | ||
$box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default | ||
|
||
code | ||
border-radius: $border-radius | ||
box-shadow: $box-shadow | ||
--- | ||
// style.sass | ||
@use 'library' with ($black: #222, $border-radius: 0.1rem) | ||
=== | ||
code { | ||
border-radius: 0.1rem; | ||
box-shadow: 0 0.5rem 1rem rgba(#222, 0.15); | ||
} | ||
<% end %> |
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,3 +3,5 @@ title: "@forward" | |
introduction: > | ||
TODO(nweiz): Write this | ||
--- | ||
|
||
## Controlling Visibility |
Oops, something went wrong.