-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat (style-dictionary): resolved class formater
- Loading branch information
Showing
5 changed files
with
129 additions
and
51 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
design-system/style-dictionary/build/css/classes-resolved.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,38 @@ | ||
@font-face { | ||
font-family: 'MaterialIcons'; | ||
src: url('../assets/fonts/MaterialIcons-Regular.ttf'); | ||
} | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
src: url('../assets/fonts/OpenSans-Regular.ttf'); | ||
} | ||
@font-face { | ||
font-family: 'Roboto'; | ||
src: url('../assets/fonts/Roboto-Regular.ttf'); | ||
} | ||
|
||
.btn { | ||
font-family: Roboto; | ||
font-size: 1rem; | ||
border-radius: .375rem; | ||
padding: 0.5rem 1rem; | ||
} | ||
.btn:hover { | ||
cursor: pointer; | ||
} | ||
.btn-primary { | ||
background-color: #616161; | ||
color: #ffffff; | ||
border: #9e9e9e; | ||
} | ||
.btn-primary:hover { | ||
background-color: #212121; | ||
} | ||
.btn-secondary { | ||
background-color: #e0e0e0; | ||
color: #000000; | ||
border: #e0e0e0; | ||
} | ||
.btn-secondary:hover { | ||
background-color: #bdbdbd; | ||
} |
File renamed without changes.
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
13 changes: 13 additions & 0 deletions
13
design-system/style-dictionary/src/classes-tokens/index.html
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,13 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link href="../../build/css/variables.css" rel="stylesheet"> | ||
<link href="../../build/css/classes-tokens.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<p><button class="btn btn-primary">Primary</button></p> | ||
<p><button class="btn btn-secondary">Secondary</button></p> | ||
</body> | ||
</html> |