mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +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",
|
||||
footerIcon: "img/docusaurus.svg",
|
||||
favicon: "img/favicon.png",
|
||||
/* the name of your custom css file that resides in static/css/ */
|
||||
// customCssFileName: "custom.css",
|
||||
/* colors for website */
|
||||
colors: {
|
||||
primaryColor: "#2E8555",
|
||||
|
|
|
@ -43,11 +43,6 @@ class Head extends React.Component {
|
|||
rel="stylesheet"
|
||||
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" />
|
||||
</head>
|
||||
);
|
||||
|
|
|
@ -58,7 +58,6 @@ const siteConfig = {
|
|||
apiKey: "3eb9507824b8be89e7a199ecaa1a9d2c",
|
||||
indexName: "docusaurus"
|
||||
},
|
||||
customCssFileName: "custom.css", //the name of your custom css file
|
||||
colors: {
|
||||
primaryColor: "#2E8555",
|
||||
secondaryColor: "#205C3B",
|
||||
|
|
Loading…
Add table
Reference in a new issue