Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch to dark theme #822

Merged
merged 2 commits into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
GIT
remote: https://github.com/html2rss/html2rss-configs.git
revision: 721dc23e3cc84e7d6fd1183ff453f71e55ba5ab1
revision: 27f9f9adcd0a85310f5dfe1a61ed2f96b6638697
specs:
html2rss-configs (0.2.0)
html2rss

GIT
remote: https://github.com/html2rss/html2rss.git
revision: e84d2905182a3193eb43e1e627efdd6f80e8d1d2
revision: 278c9511e23f673a28c195d2d0422596368695b5
specs:
html2rss (0.12.0)
html2rss (0.13.0)
addressable (~> 2.7)
faraday (> 2.0.1, < 3.0)
faraday-follow_redirects
kramdown
mime-types (> 3.0)
nokogiri (>= 1.10, < 2.0)
parallel
regexp_parser
reverse_markdown (~> 2.0)
rss
Expand Down Expand Up @@ -92,7 +93,7 @@ GEM
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.7.2)
just-the-docs (0.8.2)
just-the-docs (0.9.0)
jekyll (>= 3.8.5)
jekyll-include-cache
jekyll-seo-tag (>= 2.0)
Expand All @@ -117,7 +118,7 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
parallel (1.26.2)
parallel (1.26.3)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
Expand Down Expand Up @@ -153,7 +154,7 @@ GEM
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
safe_yaml (1.0.5)
sanitize (6.1.2)
sanitize (6.1.3)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
sass-embedded (1.77.8-arm64-darwin)
Expand Down Expand Up @@ -190,4 +191,4 @@ DEPENDENCIES
wdm (~> 0.1.1)

BUNDLED WITH
2.5.14
2.5.17
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ description: |
github_username: "html2rss"

theme: just-the-docs
color_scheme: dark

logo: assets/images/logo.png

aux_links:
Expand Down
1 change: 0 additions & 1 deletion assets/css/sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.config__url.config__url {
hyphens: none;
word-break: break-word;
white-space: pre-wrap;
}

.config__url em {
Expand Down
12 changes: 6 additions & 6 deletions configs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
</noscript>

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

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

<p class="fs-4">
Expand All @@ -30,7 +30,7 @@
</p>

{% for config in site.data.configs %}
<details class="bg-grey-lt-000 py-1 px-2">
<details class="py-1 px-2">
<summary class="config__headline text-mono">
<span>{{ config.domain }}</span
><span class="text-yellow-300">/</span
Expand Down Expand Up @@ -95,12 +95,12 @@
</a>
</div>
{%- else -%}
<p class="bg-grey-lt-100 text-red-200 p-2">
This config requires parameters to work.
<p class="bg-grey-dk-200 text-red-300 p-2">
This config requires parameters to work.<br>
<a href="https://github.com/html2rss/html2rss-configs/blob/master/lib/html2rss/configs/{{ config.domain }}/{{ config.name }}.yml">View the config</a>
to find out which values are possible.
<br>
<code class="d-block w-100 py-2 bg-grey-lt-200 text-grey-dk-200 fs-4">
<code class="d-block w-100 py-2 bg-grey-dk-300 text-grey-dk-000 fs-4">
<span class="config__url"
><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 %}
</span>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"stylelint-config-recess-order": "5.0.1",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-scss": "6.5.0"
}
},
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}
Loading