@cbpds/web-components
Version:
Web components for the CBP Design System.
28 lines (22 loc) • 648 B
CSS
/* Set the Storybook canvas body according to the cbp-app's theme */
body:has(cbp-app[data-cbp-theme="light"]) {
/*--cbp-color-body-background: var(--cbp-color-branding-cbp-light);*/
background-color: var(--cbp-color-branding-cbp-light);
}
body:has(cbp-app[data-cbp-theme="dark"]) {
/*--cbp-color-body-background: var(--cbp-color-branding-cbp-dark);*/
background-color: var(--cbp-color-branding-cbp-dark);
}
.sb-main-centered cbp-app {
min-height: unset;
}
/* Docs overrides */
.sbdocs .sbdocs-content {
max-width: 1200px ;
}
.sbdocs code {
white-space: normal ;
}
.sbdocs table {
width: 100% ;
}