mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 10:48:05 +02:00
Remove customCssFileName as any css file in /static/css gets appended to end of main.css
This commit is contained in:
parent
e71b4d902e
commit
a86af92e7c
3 changed files with 0 additions and 8 deletions
|
@ -34,8 +34,6 @@ const siteConfig = {
|
||||||
headerIcon: "img/docusaurus.svg",
|
headerIcon: "img/docusaurus.svg",
|
||||||
footerIcon: "img/docusaurus.svg",
|
footerIcon: "img/docusaurus.svg",
|
||||||
favicon: "img/favicon.png",
|
favicon: "img/favicon.png",
|
||||||
/* the name of your custom css file that resides in static/css/ */
|
|
||||||
// customCssFileName: "custom.css",
|
|
||||||
/* colors for website */
|
/* colors for website */
|
||||||
colors: {
|
colors: {
|
||||||
primaryColor: "#2E8555",
|
primaryColor: "#2E8555",
|
||||||
|
|
|
@ -43,11 +43,6 @@ class Head extends React.Component {
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href={this.props.config.baseUrl + "css/main.css"}
|
href={this.props.config.baseUrl + "css/main.css"}
|
||||||
/>
|
/>
|
||||||
{this.props.config.customCssFileName &&
|
|
||||||
<link
|
|
||||||
rel="stylesheet"
|
|
||||||
href={this.props.config.baseUrl + "css/" + this.props.config.customCssFileName}
|
|
||||||
/>}
|
|
||||||
<script async defer src="https://buttons.github.io/buttons.js" />
|
<script async defer src="https://buttons.github.io/buttons.js" />
|
||||||
</head>
|
</head>
|
||||||
);
|
);
|
||||||
|
|
|
@ -58,7 +58,6 @@ const siteConfig = {
|
||||||
apiKey: "3eb9507824b8be89e7a199ecaa1a9d2c",
|
apiKey: "3eb9507824b8be89e7a199ecaa1a9d2c",
|
||||||
indexName: "docusaurus"
|
indexName: "docusaurus"
|
||||||
},
|
},
|
||||||
customCssFileName: "custom.css", //the name of your custom css file
|
|
||||||
colors: {
|
colors: {
|
||||||
primaryColor: "#2E8555",
|
primaryColor: "#2E8555",
|
||||||
secondaryColor: "#205C3B",
|
secondaryColor: "#205C3B",
|
||||||
|
|
Loading…
Add table
Reference in a new issue