Skip to content

Commit 955b113

Browse files
committed
feat: switch to dark theme
1 parent 960bef1 commit 955b113

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ description: |
1616
github_username: "html2rss"
1717

1818
theme: just-the-docs
19+
color_scheme: dark
20+
1921
logo: assets/images/logo.png
2022

2123
aux_links:

assets/css/sass/base.scss

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
.config__url.config__url {
1111
hyphens: none;
1212
word-break: break-word;
13-
white-space: pre-wrap;
1413
}
1514

1615
.config__url em {

configs/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
</noscript>
1313

1414
<div id="configs">
15-
<fieldset class="bg-grey-lt-000 mb-4 py-1 px-2">
15+
<fieldset class="mb-4 py-1 px-2">
1616
<legend class="fs-5">Instance URL</legend>
1717

18-
<input type="text" name="instance" value="https://1.h2r.workers.dev" class="bg-grey-lt-100 p-2">
18+
<input type="text" name="instance" value="https://1.h2r.workers.dev" class="bg-grey-dk-100 p-2">
1919
</fieldset>
2020

2121
<p class="fs-4">
@@ -30,7 +30,7 @@
3030
</p>
3131

3232
{% for config in site.data.configs %}
33-
<details class="bg-grey-lt-000 py-1 px-2">
33+
<details class="py-1 px-2">
3434
<summary class="config__headline text-mono">
3535
<span>{{ config.domain }}</span
3636
><span class="text-yellow-300">/</span
@@ -95,12 +95,12 @@
9595
</a>
9696
</div>
9797
{%- else -%}
98-
<p class="bg-grey-lt-100 text-red-200 p-2">
99-
This config requires parameters to work.
98+
<p class="bg-grey-dk-200 text-red-300 p-2">
99+
This config requires parameters to work.<br>
100100
<a href="https://github.com/html2rss/html2rss-configs/blob/master/lib/html2rss/configs/{{ config.domain }}/{{ config.name }}.yml">View the config</a>
101101
to find out which values are possible.
102102
<br>
103-
<code class="d-block w-100 py-2 bg-grey-lt-200 text-grey-dk-200 fs-4">
103+
<code class="d-block w-100 py-2 bg-grey-dk-300 text-grey-dk-000 fs-4">
104104
<span class="config__url"
105105
><span class="instance"></span>{{ config.domain }}/{{ config.name }}.rss?{% for params in config.url_parameters %}{{ params[0] }}=<em>{{ params[1] }}</em><span class="config__url-amp">&</span>{% endfor %}
106106
</span>

0 commit comments

Comments
 (0)