Skip to content

Commit a1ab559

Browse files
committed
Custom primary and secondary colours
1 parent 57ccf4d commit a1ab559

4 files changed

Lines changed: 25 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Separate the training docs/help content to separate repo, like [IBISBA Handboook
55
Built using [Jupyter Book 1](https://jupyterbook.org/). For additional guidance, see:
66

77
- [Anatomy of a Jupyter Book (TeachBooks.io)](https://teachbooks.io/manual/basic-features/jupyterbook.html)
8+
- [Sphinx Design (the engine behind Jupyter Book)](https://sphinx-design.readthedocs.io/en/latest/)
89

910
To run locally, install Jupyter Book then build:
1011
```shell
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* Custom CSS variables: see https://sphinx-design.readthedocs.io/en/latest/css_variables.html and https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/styling.html */
2+
3+
html[data-theme="light"] {
4+
--pst-color-primary: #F47D21;
5+
}
6+
7+
html[data-theme="dark"] {
8+
--pst-color-primary: #F47D21;
9+
}
10+
11+
html[data-theme="light"] {
12+
--pst-color-secondary: #047eaa;
13+
}
14+
15+
html[data-theme="dark"] {
16+
--pst-color-secondary: #047eaa;
17+
}
18+

TeSS_docs/developers/code-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The source code for TeSS [is available on GitHub](https://github.com/ElixirTeSS/
1818

1919
:::{grid-item-card}
2020

21-
{fas}`plug` **Data**
21+
{fas}`plug;sd-text-secondary` **Data**
2222
^^^
2323

2424
Data in TeSS can be accessed via our [API](#api), under the [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/).

TeSS_docs/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This documentation is intended to provide help and information on how to use a t
1111
:link: overview/tess
1212
:link-type: doc
1313

14-
{fas}`panorama` **Overview**
14+
{fas}`panorama;sd-text-secondary` **Overview**
1515
^^^
1616

1717
What is TeSS, definitions of terms.
@@ -21,7 +21,7 @@ What is TeSS, definitions of terms.
2121
:link: accounts/user
2222
:link-type: doc
2323

24-
{fas}`user-plus` **Account creation**
24+
{fas}`user-plus;sd-text-secondary` **Account creation**
2525
^^^
2626

2727
Creating a user account, setting up a content provider.
@@ -31,7 +31,7 @@ Creating a user account, setting up a content provider.
3131
:link: spaces/intro-spaces
3232
:link-type: doc
3333

34-
{fas}`boxes-stacked` **Spaces**
34+
{fas}`boxes-stacked;sd-text-secondary` **Spaces**
3535
^^^
3636

3737
When to set up a TeSS space, how to credit other spaces' materials.
@@ -41,7 +41,7 @@ When to set up a TeSS space, how to credit other spaces' materials.
4141
:link: content/auto
4242
:link-type: doc
4343

44-
{fas}`box-open` **Content**
44+
{fas}`box-open;sd-text-secondary` **Content**
4545
^^^
4646

4747
Automatically or manually register events, materials or learning paths.
@@ -51,7 +51,7 @@ Automatically or manually register events, materials or learning paths.
5151
:link: developers/code-data
5252
:link-type: doc
5353

54-
{fas}`wrench` **Developers**
54+
{fas}`wrench;sd-text-secondary` **Developers**
5555
^^^
5656

5757
Configure an API or widget.

0 commit comments

Comments
 (0)