forked from sasstools/sass-lint
-
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.
✅ Add shorthand-values Sass tests sasstools#166
- Loading branch information
Showing
2 changed files
with
257 additions
and
1 deletion.
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
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,111 @@ | ||
.value-one | ||
border-color: red | ||
border-radius: 1px/1rem | ||
border-style: dashed | ||
border-width: inherit | ||
margin: 1rem | ||
padding: 1px | ||
|
||
.value-two-ident | ||
border-color: red red | ||
border-radius: 1px/1rem 1px/1rem | ||
border-style: dashed dashed | ||
border-width: inherit inherit | ||
margin: 1rem 1rem | ||
padding: 1px 1px | ||
|
||
.value-two-diff | ||
border-color: red blue | ||
border-radius: 1px/1rem 2px/2rem | ||
border-style: dashed dotted | ||
border-width: inherit 2em | ||
margin: 1rem 2rem | ||
padding: 1px 2px | ||
|
||
.value-three-ident | ||
border-color: red red red | ||
border-radius: 1px/1rem 1px/1rem 1px/1rem | ||
border-style: dashed dashed dashed | ||
border-width: inherit inherit inherit | ||
margin: 1rem 1rem 1rem | ||
padding: 1px 1px 1px | ||
|
||
.value-three-diff-one | ||
border-color: blue red red | ||
border-radius: 2px/2rem 1px/1rem 1px/1rem | ||
border-style: dotted dashed dashed | ||
border-width: 10px inherit inherit | ||
margin: 2rem 1rem 1rem | ||
padding: 2px 1px 1px | ||
|
||
.value-three-diff-two | ||
border-color: red blue red | ||
border-radius: 1px/1rem 2px/2rem 1px/1rem | ||
border-style: dashed dotted dashed | ||
border-width: inherit 10px inherit | ||
margin: 1rem 2rem 1rem | ||
padding: 1px 2px 1px | ||
|
||
.value-three-diff-three | ||
border-color: red red blue | ||
border-radius: 1px/1rem 1px/1rem 2px/2rem | ||
border-style: dashed dashed dotted | ||
border-width: inherit inherit 10px | ||
margin: 1rem 1rem 2rem | ||
padding: 1px 1px 2px | ||
|
||
.value-four-ident | ||
border-color: red red red red | ||
border-radius: 1px/1rem 1px/1rem 1px/1rem 1px/1rem | ||
border-style: dashed dashed dashed dashed | ||
border-width: inherit inherit inherit inherit | ||
margin: 1rem 1rem 1rem 1rem | ||
padding: 1px 1px 1px 1px | ||
|
||
.value-four-diff-one | ||
border-color: blue red red red | ||
border-radius: 2px/2rem 1px/1rem 1px/1rem 1px/1rem | ||
border-style: dotted dashed dashed dashed | ||
border-width: 10px inherit inherit inherit | ||
margin: 2rem 1rem 1rem 1rem | ||
padding: 2px 1px 1px 1px | ||
|
||
.value-four-diff-two | ||
border-color: red blue red red | ||
border-radius: 1px/1rem 2px/2rem 1px/1rem 1px/1rem | ||
border-style: dashed dotted dashed dashed | ||
border-width: inherit 10px inherit inherit | ||
margin: 1rem 2rem 1rem 1rem | ||
padding: 1px 2px 1px 1px | ||
|
||
.value-four-diff-three | ||
border-color: red red blue red | ||
border-radius: 1px/1rem 1px/1rem 2px/2rem 1px/1rem | ||
border-style: dashed dashed dotted dashed | ||
border-width: inherit inherit 10px inherit | ||
margin: 1rem 1rem 2rem 1rem | ||
padding: 1px 1px 2px 1px | ||
|
||
.value-four-diff-four | ||
border-color: red red red blue | ||
border-radius: 1px/1rem 1px/1rem 1px/1rem 2px/2rem | ||
border-style: dashed dashed dashed dotted | ||
border-width: inherit inherit inherit 10px | ||
margin: 1rem 1rem 1rem 2rem | ||
padding: 1px 1px 1px 2px | ||
|
||
.value-four-diff-five | ||
border-color: red blue red blue | ||
border-radius: 1px/1rem 2px/2rem 1px/1rem 2px/2rem | ||
border-style: dashed dotted dashed dotted | ||
border-width: inherit 10px inherit 10px | ||
margin: 1rem 2rem 1rem 2rem | ||
padding: 1px 2px 1px 2px | ||
|
||
.value-four-ident | ||
border-color: $red $red $red $red | ||
border-radius: $one $two $one $two | ||
border-style: $one $two $three $one | ||
border-width: $one $two $three $four | ||
margin: $one $two $one $three | ||
padding: $one $one $one $two |