This repository was archived by the owner on Nov 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +19
-17
lines changed Expand file tree Collapse file tree 9 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export default function ApiPage(props, ref) {
6161 </ H3 >
6262 </ ReactComponentApiPageSummary >
6363 < ReactComponentApiPageImport >
64- < Code theme = { "darcula" } > { importCode } </ Code >
64+ < Code themeLight = { "darcula" } > { importCode } </ Code >
6565 < Markdown > { componentAPILocale . importDifferenceText } </ Markdown >
6666 { overrideName && < Markdown data = { { name : overrideName } } > { componentAPILocale . componentName } </ Markdown > }
6767 </ ReactComponentApiPageImport >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default function CodeDemo() {
4848 < Markdown locale = { `${ locale } /codeDetails` } > </ Markdown >
4949 < DemoWithCode
5050 code = { codeCode }
51- theme = { "darcula" }
51+ themeLight = { "darcula" }
5252 paperContainer
5353 actions = { [ { label : "Source code" , link : "" } ] }
5454 actions = { [ {
@@ -63,7 +63,7 @@ export default function CodeDemo() {
6363 < Markdown locale = { `${ locale } /expansionCodeDetails` } />
6464 < DemoWithCode
6565 code = { expansionCodeCode }
66- theme = { "darcula" }
66+ themeLight = { "darcula" }
6767 paperContainer
6868 actions = { [ { label : "Source code" , link : "" } ] }
6969 actions = { [ {
@@ -78,7 +78,7 @@ export default function CodeDemo() {
7878 < Markdown locale = { `${ locale } /demoWithCodeDetails` } />
7979 < DemoWithCode
8080 code = { demoWithCodeCode }
81- theme = { "darcula" }
81+ themeLight = { "darcula" }
8282 paperContainer
8383 actions = { [ {
8484 label : "GitHub source" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default function HeadersDemo() {
3535 < DemoWithCode
3636 paperContainer
3737 code = { AllHeadersCode }
38- theme = { "darcula" }
38+ themeLight = { "darcula" }
3939 defaultExpanded
4040 name = { locale . headersExample }
4141 actions = { [ {
@@ -49,13 +49,13 @@ export default function HeadersDemo() {
4949 < H2 > Settings</ H2 >
5050 < H3 noDivider > { locale . contentAutoGeneration } </ H3 >
5151 < Markdown > { locale . tagsInfo } </ Markdown >
52- < Code theme = { "darcula" } >
52+ < Code themeLight = { "darcula" } >
5353 { `return(\n <H1 noTag>I am H1 header than not generates navigation tags!</H1>\n)` }
5454 </ Code >
5555 < Markdown > { locale . noTagInfo } </ Markdown >
5656 < H3 noDivider > { locale . divider } </ H3 >
5757 < Markdown > { locale . dividerInfo } </ Markdown >
58- < Code theme = { "darcula" } >
58+ < Code themeLight = { "darcula" } >
5959 { `return(\n <H1 noDivider>I am H1 without divider at the bottom!</H1>\n)` }
6060 </ Code >
6161 < Markdown > { locale . noDividerInfo } </ Markdown >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default function ImagesDemo() {
3030 < Markdown > { locale . infoBlock } </ Markdown >
3131 < DemoWithCode
3232 code = { imagesOverviewCode }
33- theme = { "darcula" }
33+ themeLight = { "darcula" }
3434 paperContainer
3535 defaultExpanded
3636 actions = { [ {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default function LayoutDemo() {
3030 __Material Docs__ starts here.
3131 </ Markdown >
3232 < H3 noDivider > Simple layout</ H3 >
33- < Code theme = { "darcula" } >
33+ < Code themeLight = { "darcula" } >
3434 { simpleLayoutCode }
3535 </ Code >
3636 < Markdown >
@@ -39,7 +39,7 @@ export default function LayoutDemo() {
3939 ```DocsMenuItem``` prop ___name___ is a page identifier.
4040 </ Markdown >
4141 < H3 noDivider > Layout with auto menu</ H3 >
42- < Code theme = { "darcula" } > { layoutWithAutoMenuCode } </ Code >
42+ < Code themeLight = { "darcula" } > { layoutWithAutoMenuCode } </ Code >
4343 < Markdown >
4444 Here is ```DocsLayout``` with automated menu. You can add __pages__ and __groups__ in other __groups__
4545 to create
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default function ListsDemo() {
3939 < DemoWithCode
4040 code = { simpleListCode }
4141 paperContainer
42- theme = { "darcula" }
42+ themeLight = { "darcula" }
4343 name = { "Simple list" }
4444 defaultExpanded
4545 actions = { [ {
@@ -60,6 +60,7 @@ export default function ListsDemo() {
6060 code = { listWithNestedItemsCode }
6161 paperContainer theme = { "darcula" }
6262 name = { "List with nested items" }
63+ themeLight = { "darcula" }
6364 actions = { [ {
6465 label : "GitHub source" ,
6566 link : "https://github.com/material-docs/material-docs-documentation/blob/master/src/examples/Lists/ListWithNestedItems.js"
@@ -75,6 +76,7 @@ export default function ListsDemo() {
7576 code = { decoratedListCode }
7677 paperContainer theme = { "darcula" }
7778 name = { "List with items decoration" }
79+ themeLight = { "darcula" }
7880 actions = { [ {
7981 label : "GitHub source" ,
8082 link : "https://github.com/material-docs/material-docs-documentation/blob/master/src/examples/Lists/DecoratedList.js"
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export default function MarkdownDemo() {
5252 < Markdown > { locale . infoBlock1 } </ Markdown >
5353 < DemoWithCode
5454 code = { markdownOverviewCode }
55- theme = { "darcula" }
55+ themeLight = { "darcula" }
5656 paperContainer
5757 defaultExpanded
5858 name = { locale . overviewExample }
@@ -81,7 +81,7 @@ export default function MarkdownDemo() {
8181 { demo &&
8282 < DemoWithCode
8383 code = { demo . code }
84- theme = { "darcula" }
84+ themeLight = { "darcula" }
8585 paperContainer
8686 actions = { [ { label : "GitHub source" , link : demo . page } ] }
8787 >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default function TablesDemo() {
3333 < H3 > { locale . simpleTableHeader } </ H3 >
3434 < Markdown > { locale . simpleTableSummary } </ Markdown >
3535 < DemoWithCode
36- theme = { "darcula" }
36+ themeLight = { "darcula" }
3737 code = { simpleTableCode }
3838 paperContainer
3939 defaultExpanded
@@ -46,7 +46,7 @@ export default function TablesDemo() {
4646 < H3 > { locale . tablesWithMarkdownHeader } </ H3 >
4747 < Markdown > { locale . tablesWithMarkdownSummary } </ Markdown >
4848 < DemoWithCode
49- theme = { "darcula" }
49+ themeLight = { "darcula" }
5050 code = { tableWithMarkdownCode }
5151 paperContainer
5252 actions = { [ { label : "GitHub source" , link : "https://github.com/material-docs/material-docs-documentation/blob/master/src/examples/Tables/TableWithMarkdown.js" } ] }
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export default function TextStylingDemo() {
3636 paperContainer
3737 code = { overviewCode }
3838 defaultExpanded
39- theme = { "darcula" }
39+ themeLight = { "darcula" }
4040 name = { locale . overview }
4141 actions = { [ { label : "GitHub source" , link : "https://github.com/material-docs/material-docs-documentation/blob/master/src/examples/TextStyling/TextStylingOverview.js" } ] }
4242 >
@@ -49,7 +49,7 @@ export default function TextStylingDemo() {
4949 < DemoWithCode
5050 paperContainer
5151 code = { nestedCode }
52- theme = { "darcula" }
52+ themeLight = { "darcula" }
5353 name = { locale . nestedComponents }
5454 actions = { [ { label : "GitHub source" , link : "https://github.com/material-docs/material-docs-documentation/blob/master/src/examples/TextStyling/TextStylingNested.js" } ] }
5555 >
You can’t perform that action at this time.
0 commit comments