File tree Expand file tree Collapse file tree
packages/ui/src/css/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="c1-story-bg-sand-alt c1-story-pad-16 ">
22 < div
3- class ="cdr-container cdr-container--fluid "
4- class ="c1-story-bg-white c1-story-border-soft "
3+ class ="cdr-container cdr-container--fluid c1-story-bg-white c1-story-border-soft "
54 >
65 < div class ="c1-story-pad-16 ">
76 < strong > fluid</ strong > container content
Original file line number Diff line number Diff line change 11< div class ="c1-story-grid c1-story-gap-16 ">
22 < div class ="c1-story-bg-sand-alt c1-story-pad-16 ">
33 < div
4- class ="cdr-container cdr-container--static "
5- class ="c1-story-bg-white c1-story-border-soft "
4+ class ="cdr-container cdr-container--static c1-story-bg-white c1-story-border-soft "
65 >
76 < div class ="c1-story-pad-16 ">
87 < strong > static</ strong > container content
1110 </ div >
1211 < div class ="c1-story-bg-sand-alt c1-story-pad-16 ">
1312 < div
14- class ="cdr-container cdr-container--fluid "
15- class ="c1-story-bg-white c1-story-border-soft "
13+ class ="cdr-container cdr-container--fluid c1-story-bg-white c1-story-border-soft "
1614 >
1715 < div class ="c1-story-pad-16 ">
1816 < strong > fluid</ strong > container content
Original file line number Diff line number Diff line change 11< div class ="c1-story-bg-sand-alt c1-story-pad-16 ">
22 < div
3- class ="cdr-container cdr-container--static "
4- class ="c1-story-bg-white c1-story-border-soft "
3+ class ="cdr-container cdr-container--static c1-story-bg-white c1-story-border-soft "
54 >
65 < div class ="c1-story-pad-16 ">
76 < strong > static</ strong > container content
Original file line number Diff line number Diff line change 11< div class ="cdr-form-error --active-error c1-story-flex c1-story-align-center c1-story-gap-4 ">
22 < span
3- class ="cdr-form-error__icon "
4- class ="c1-story-inline-flex c1-story-align-center c1-story-justify-center c1-story-h-20 "
3+ class ="cdr-form-error__icon c1-story-inline-flex c1-story-align-center c1-story-justify-center c1-story-h-20 "
54 >
65 < svg
76 aria-hidden ="true "
Original file line number Diff line number Diff line change 1616 < div class ="cdr-label-standalone__post-content ">
1717 < div class ="cdr-form-error --active-error c1-story-flex c1-story-align-center c1-story-gap-4 ">
1818 < span
19- class ="cdr-form-error__icon "
20- class ="c1-story-inline-flex c1-story-align-center c1-story-justify-center c1-story-h-20 "
19+ class ="cdr-form-error__icon c1-story-inline-flex c1-story-align-center c1-story-justify-center c1-story-h-20 "
2120 >
2221 < svg
2322 aria-hidden ="true "
Original file line number Diff line number Diff line change 22 < article class ="cdr-prose c1-story-max-72ch ">
33 < h2 > Mixed content with Cedar components</ h2 >
44 < p >
5- Prose styling should not leak into Cedar components. Wrap component
6- blocks with < code > .cdr-not-prose</ code > when needed.
5+ Prose styling should not leak into Cedar components. Wrap component blocks
6+ with < code > .cdr-not-prose</ code > when needed.
77 </ p >
88 < div
9- class ="cdr-not-prose "
10- class ="c1-story-grid c1-story-gap-12 c1-story-pad-16 c1-story-border-prose "
9+ class ="cdr-not-prose c1-story-grid c1-story-gap-12 c1-story-pad-16 c1-story-border-prose "
1110 >
1211 < h3 class ="cdr-title "> Component title</ h3 >
1312 < a class ="cdr-link " href ="# "> Cedar link</ a >
1413 < button
1514 type ="button "
16- class ="cdr-button cdr-button--secondary cdr-button--medium "
17- class ="c1-story-justify-self-start "
15+ class ="cdr-button cdr-button--secondary cdr-button--medium c1-story-justify-self-start "
1816 >
1917 Secondary action
2018 </ button >
Original file line number Diff line number Diff line change 11< div class ="c1-story-grid c1-story-gap-24 c1-story-pad-24 ">
22 < article
3- class ="cdr-prose cdr-prose--invert "
4- class ="c1-story-bg-dark-rest c1-story-pad-24 c1-story-radius-softer c1-story-max-60ch "
3+ class ="cdr-prose cdr-prose--invert c1-story-bg-dark-rest c1-story-pad-24 c1-story-radius-softer c1-story-max-60ch "
54 >
65 < h2 > Prose on dark surfaces</ h2 >
76 < p >
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ <h2>Prose with embedded components</h2>
66 Cedar components or custom UI blocks.
77 </ p >
88 < div
9- class ="cdr-not-prose "
10- class ="c1-story-pad-16 c1-story-border-prose-dashed "
9+ class ="cdr-not-prose c1-story-pad-16 c1-story-border-prose-dashed "
1110 >
1211 < p class ="cdr-text "> This block opts out of prose styling.</ p >
1312 < button type ="button " class ="cdr-button cdr-button--primary cdr-button--medium ">
Original file line number Diff line number Diff line change 11< div class ="c1-story-grid c1-story-gap-24 c1-story-pad-24 ">
22 < article
3- class ="cdr-prose cdr-prose--invert "
4- class ="c1-story-bg-dark-rest c1-story-pad-24 c1-story-radius-softer c1-story-max-60ch "
3+ class ="cdr-prose cdr-prose--invert c1-story-bg-dark-rest c1-story-pad-24 c1-story-radius-softer c1-story-max-60ch "
54 >
65 < h2 > Dark surface</ h2 >
76 < p >
Original file line number Diff line number Diff line change 11< div class ="c1-story-bg-sand c1-story-pad-24 ">
22 < div
3- class ="cdr-split-surface cdr-split-surface--bottom "
4- class ="c1-story-split-surface-white "
3+ class ="cdr-split-surface cdr-split-surface--bottom c1-story-split-surface-white "
54 >
65 < div class ="cdr-split-surface__top ">
76 < img
You can’t perform that action at this time.
0 commit comments