File tree Expand file tree Collapse file tree 4 files changed +27
-2
lines changed
components/src/components
design-tokens/src/content Expand file tree Collapse file tree 4 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,11 @@ export const Markdown: FC<MarkdownProps> = (props) => {
9595 < ol > { props . children } </ ol >
9696 </ Text >
9797 ) ,
98+ blockquote : ( props ) => (
99+ < Text color = { textColor } >
100+ < blockquote > { props . children } </ blockquote >
101+ </ Text >
102+ ) ,
98103 } ;
99104
100105 return (
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ const meta: Meta<typeof Markdown> = {
1919 ' "name": "My Project"\n' +
2020 "}\n" +
2121 "```\n" +
22- "[link](#)" +
22+ "[link](#)\n" +
23+ "> Block quote" +
2324 "\n - Unordered list item 1 \n - Unordered list item 2 " +
2425 "\n 1. Ordered list item 1 \n 2. Ordered list item 2" }
2526 </ Markdown >
Original file line number Diff line number Diff line change 1111
1212 ul ,
1313 ol {
14- padding-left : var (--size-rem--l );
14+ padding-left : var (--text--list-padding );
1515 }
1616
1717 ul {
2323 small {
2424 font-size : var (--font-size-text--s );
2525 }
26+
27+ blockquote {
28+ border-left-width : var (--text--blockquote-border-width );
29+ border-left-style : var (--text--blockquote-border-style );
30+ border-left-color : var (--text--blockquote-border-color );
31+ padding-left : var (--text--blockquote-padding );
32+ }
2633}
Original file line number Diff line number Diff line change 1010 value : " {disabled-plain-content-color}"
1111 max-width :
1212 value : " 780px"
13+
14+ blockquote-border-width :
15+ value : " {border-width.300}"
16+ blockquote-border-style :
17+ value : " {border-style.default}"
18+ blockquote-border-color :
19+ value : " {info-outline-border-color}"
20+ blockquote-padding :
21+ value : " {size-rem.s}"
22+
23+ list-padding :
24+ value : " {size-rem.l}"
You can’t perform that action at this time.
0 commit comments