-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit: AUEB theme for Docusaurus
- Loading branch information
1 parent
5e5f32c
commit d2c3a24
Showing
3 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# docusaurus-aueb-theme | ||
A custom Docusaurus theme with AUEB's primary color palette | ||
# Docusaurus AUEB Theme | ||
|
||
A custom Docusaurus theme with AUEB's primary color palette. | ||
|
||
## Installation | ||
```bash | ||
npm install docusaurus-aueb-theme | ||
``` | ||
|
||
## Usage | ||
Add the following to your `docusaurus.config.js` file | ||
```js | ||
module.exports = { | ||
themeConfig: { | ||
customCss: require.resolve('docusaurus-aueb-theme/theme.css'), | ||
}, | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "docusaurus-aueb-theme", | ||
"version": "1.0.0", | ||
"description": "Custom Docusaurus theme for AUEB with updated primary colors", | ||
"main": "theme.css", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": ["docusaurus", "theme", "AUEB", "primary-colors"], | ||
"author": "YParaskevas Leivadaros", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/theatrikiopa/docusaurus-aueb-theme.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/theatrikiopa/docusaurus-aueb-theme/issues" | ||
}, | ||
"homepage": "https://github.com/theatrikiopa/docusaurus-aueb-theme#readme" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
:root { | ||
--ifm-color-primary: #804040; | ||
--ifm-color-primary-dark: #662626; | ||
--ifm-color-primary-darker: #4d1c1c; | ||
--ifm-color-primary-darkest: #331212; | ||
--ifm-color-primary-light: #a05252; | ||
--ifm-color-primary-lighter: #b06868; | ||
--ifm-color-primary-lightest: #c08080; | ||
} | ||
|
||
[data-theme='dark'] { | ||
--ifm-color-primary: #804040; | ||
--ifm-color-primary-dark: #662626; | ||
--ifm-color-primary-darker: #4d1c1c; | ||
--ifm-color-primary-darkest: #331212; | ||
--ifm-color-primary-light: #a05252; | ||
--ifm-color-primary-lighter: #b06868; | ||
--ifm-color-primary-lightest: #c08080; | ||
} |