This commit updates the theme colors in the Storybook configuration to use the new global color definitions. The changes include replacing greyscale colors with their corresponding gray colors for consistency. Additionally, the theme structure has been refactored to align with the updated token architecture, enhancing maintainability and ensuring a cohesive design system across the application.
29 lines
776 B
HTML
29 lines
776 B
HTML
<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;
|
|
}
|
|
|
|
.cunningham-theme--dark {
|
|
.docblock-source {
|
|
background-color: var(--c--globals--colors--gray-100);
|
|
}
|
|
|
|
.prismjs {
|
|
background-color: var(--c--globals--colors--gray-100) !important;
|
|
}
|
|
}
|
|
</style>
|
|
<script>
|
|
window.global = window;
|
|
</script>
|