-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
edf5347
commit f9b8ef9
Showing
7 changed files
with
193 additions
and
0 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
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,32 @@ | ||
@value v-def from './values.css'; | ||
@value v-foo from './less-file.less'; | ||
@value v-bar from './scss-file.scss'; | ||
@value v-baz from './sass-file.sass'; | ||
|
||
:global(.globalClassName) { | ||
color: orange; | ||
} | ||
|
||
.ghi { | ||
color: v-def; | ||
} | ||
|
||
.class { | ||
color: v-foo; | ||
composes: lessClass from "less-file.less"; | ||
} | ||
|
||
.other { | ||
color: v-bar; | ||
composes: scssClass from "scss-file.scss"; | ||
} | ||
|
||
.last { | ||
color: v-baz; | ||
composes: sassClass from "sass-file.sass"; | ||
} | ||
|
||
.otherClassName { | ||
composes: globalClassName from global; | ||
background: #000; | ||
} |
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,5 @@ | ||
import css from './composes-preprocessors.css'; | ||
|
||
__export__ = css; | ||
|
||
export default css; |
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,8 @@ | ||
@value v-def: red; | ||
@value v-foo: green; | ||
@value v-bar: white; | ||
@value v-baz: coral; | ||
|
||
.lessClass { | ||
padding: 5px; | ||
} |
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,8 @@ | ||
@value v-def: red | ||
@value v-foo: green | ||
@value v-bar: white | ||
@value v-baz: coral | ||
|
||
.sassClass | ||
padding: 10px | ||
|
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,8 @@ | ||
@value v-def: red; | ||
@value v-foo: green; | ||
@value v-bar: white; | ||
@value v-baz: coral; | ||
|
||
.scssClass { | ||
padding: 15px; | ||
} |
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