mixin view-divider +view('divider', 'Divider') .c-box +div-heading('lg')= 'Heading' +divider('strong') p= loremIpsum .c-box +div-heading('sm')= 'Heading' +divider('medium') p= loremIpsum .c-box +div-heading('xs')= 'Heading' +divider('faint') p= loremIpsum .c-box +divider('strong')= 'Strong' +divider('medium')= 'Medium' +divider('faint')= 'Faint' +divider('strong') +divider('medium') +divider('faint') each theme in ['accent', 'negative'] .c-box +divider('strong')(color=theme)= 'Strong' +divider('medium')(color=theme)= 'Medium' +divider('faint')(color=theme)= 'Faint' +divider('strong')(color=theme) +divider('medium')(color=theme) +divider('faint')(color=theme) each theme in ['static-black', 'static-white'] - const bg = theme.startsWith('static-black') ? 500 : 1000; .c-box(style=`background-color: var(--static-colors--blue--${bg});`) +divider('strong')(color=theme)= 'Strong' +divider('medium')(color=theme)= 'Medium' +divider('faint')(color=theme)= 'Faint' +divider('strong')(color=theme) +divider('medium')(color=theme) +divider('faint')(color=theme)