Skip to content

Commit 49a9a27

Browse files
authored
Add dark mode svgs to index page. (#636)
1 parent 55cbec9 commit 49a9a27

File tree

5 files changed

+160
-0
lines changed

5 files changed

+160
-0
lines changed
Lines changed: 18 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 23 additions & 0 deletions
Loading
Lines changed: 33 additions & 0 deletions
Loading

docs/source/index.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,27 @@ gutter: 3
5757
:text-align: center
5858
:img-top: _static/images/light-bulb.svg
5959
:class-img-top: index-card-image
60+
:class-item: only-light
61+
:shadow: md
62+
63+
```{button-link} tutorials/index.html
64+
---
65+
click-parent:
66+
ref-type: ref
67+
class: stretched-link index-card-link
68+
---
69+
Tutorials
70+
```
71+
72+
Tutorials help you to get started with pytask and how you manage your first project.
73+
74+
````
75+
76+
````{grid-item-card}
77+
:text-align: center
78+
:img-top: _static/images/light-bulb-light.svg
79+
:class-img-top: index-card-image
80+
:class-item: only-dark
6081
:shadow: md
6182
6283
```{button-link} tutorials/index.html
@@ -76,6 +97,28 @@ Tutorials help you to get started with pytask and how you manage your first proj
7697
:text-align: center
7798
:img-top: _static/images/book.svg
7899
:class-img-top: index-card-image
100+
:class-item: only-light
101+
:shadow: md
102+
103+
```{button-link} how_to_guides/index.html
104+
---
105+
click-parent:
106+
ref-type: ref
107+
class: stretched-link index-card-link
108+
---
109+
How-to Guides
110+
```
111+
112+
How-to guides provide instructions for very specific and advanced tasks and document
113+
best-practices.
114+
115+
````
116+
117+
````{grid-item-card}
118+
:text-align: center
119+
:img-top: _static/images/book-light.svg
120+
:class-img-top: index-card-image
121+
:class-item: only-dark
79122
:shadow: md
80123
81124
```{button-link} how_to_guides/index.html
@@ -96,6 +139,27 @@ best-practices.
96139
:text-align: center
97140
:img-top: _static/images/books.svg
98141
:class-img-top: index-card-image
142+
:class-item: only-light
143+
:shadow: md
144+
145+
```{button-link} explanations/index.html
146+
---
147+
click-parent:
148+
ref-type: ref
149+
class: stretched-link index-card-link
150+
---
151+
Explanations
152+
```
153+
154+
Explanations deal with key topics and concepts which underlie the package.
155+
156+
````
157+
158+
````{grid-item-card}
159+
:text-align: center
160+
:img-top: _static/images/books-light.svg
161+
:class-img-top: index-card-image
162+
:class-item: only-dark
99163
:shadow: md
100164
101165
```{button-link} explanations/index.html
@@ -115,6 +179,27 @@ Explanations deal with key topics and concepts which underlie the package.
115179
:text-align: center
116180
:img-top: _static/images/coding.svg
117181
:class-img-top: index-card-image
182+
:class-item: only-light
183+
:shadow: md
184+
185+
```{button-link} reference_guides/index.html
186+
---
187+
click-parent:
188+
ref-type: ref
189+
class: stretched-link index-card-link
190+
---
191+
Reference Guides
192+
```
193+
194+
Reference guides explain the implementation and provide an entry-point for developers.
195+
196+
````
197+
198+
````{grid-item-card}
199+
:text-align: center
200+
:img-top: _static/images/coding-light.svg
201+
:class-img-top: index-card-image
202+
:class-item: only-dark
118203
:shadow: md
119204
120205
```{button-link} reference_guides/index.html

0 commit comments

Comments
 (0)