In order to showcase the utility classes, we needed to create beautiful tokens-based docs !
19 lines
601 B
HTML
19 lines
601 B
HTML
<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> |