-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(color): add docs,demo for color
- Loading branch information
Showing
3 changed files
with
184 additions
and
95 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,35 @@ | ||
<template> | ||
<div> | ||
<div class="color-demo blue"></div> | ||
<div class="color-demo green"></div> | ||
<div class="color-demo red"></div> | ||
<div class="color-demo black-dark"></div> | ||
<div class="color-demo generate-green-level-3"></div> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
@import 'daoColor'; | ||
.color-demo { | ||
width: 15px; | ||
height: 15px; | ||
display: inline-block; | ||
} | ||
.blue { | ||
background-color: $blue; | ||
} | ||
.green { | ||
background-color: $green; | ||
} | ||
.red { | ||
background-color: $red; | ||
} | ||
.black-dark { | ||
background-color: $black-dark; | ||
} | ||
.generate-green-level-3 { | ||
background-color: generate-color($green, -3); | ||
} | ||
</style> | ||
|
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