mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 14:35:52 +03:00
[GH-ISSUE #73] Dark theme #48
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BoundsCheck on GitHub (Mar 11, 2018).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/73
Any chance for a dark theme being included ? Or (ideally I suppose) some way to define your own.
@gissehel commented on GitHub (Apr 15, 2018):
This is not a valid answer to the request, but it may be an answer that would please people wondering for a dark theme, if they don't know such thing exists.
There is a navigator extension (stylish) that let's you create/share/install new style (in the sens of a css style) for web sites.
As a proof of concept, I created a dark style for shori: https://userstyles.org/styles/158511/shiori-dark-theme (Note/disclaimer: As I don't use dark styles, I don't intend to maintain that style when shiori will evoluate).
You can install stylish for your browser (Chrome/Baidu/Firefox/Opera officially supported), and then install that style (but just clicking on the install link on the style page).
it will work on any site with "shiori" insidide the domain name (eg: https://shiori.example.com/). If you host your shiori on anything else (like https://bookmark-manager.example.com/ or http://127.0.0.1:8080/) you'll need to go to your stylish installed styles and add your domain to style.
and because everyone loves screenshots, here is the comparison without and with the theme:
@gissehel commented on GitHub (Apr 18, 2018):
I submitted a PR #85 in order to provide a dark theme, but it only contains CSS part. It needs some code (that would only have to add/change the class on the body element to put "theme-dark" or "theme-light").
@RadhiFadlillah commented on GitHub (May 25, 2018):
Hi @gissehel @BoundsCheck, I've implemented the night theme in the last commit :
If you want to update your shiori, do note there are change in environment variables, so if you want to update it, you might have to move your database file to new location.