📝(doc) create docs for utility classes
In order to showcase the utility classes, we needed to create beautiful tokens-based docs !
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
<link rel='stylesheet' type='text/css' href='/src/index.scss'>
|
||||
<style>
|
||||
code {
|
||||
margin: 0 2px;
|
||||
padding: 3px 5px;
|
||||
white-space: nowrap;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #EEEEEE;
|
||||
color: rgba(51,51,51,0.9);
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
/* Prevent the index.scss font-family to override code blocks's one. */
|
||||
pre * {
|
||||
font-family: ui-monospace,Menlo,Monaco,"Roboto Mono","Oxygen Mono","Ubuntu Monospace","Source Code Pro","Droid Sans Mono","Courier New",monospace;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.global = window;
|
||||
</script>
|
||||
Reference in New Issue
Block a user