Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CoMPaTech/plugin-theme_auto_day_night
Example dark mode including users timezone as per github.com/fguillot/kanboard #1967
https://github.com/CoMPaTech/plugin-theme_auto_day_night
Last synced: 5 days ago
JSON representation
Example dark mode including users timezone as per github.com/fguillot/kanboard #1967
- Host: GitHub
- URL: https://github.com/CoMPaTech/plugin-theme_auto_day_night
- Owner: CoMPaTech
- License: mit
- Created: 2016-03-11T08:24:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-04-24T19:26:42.000Z (over 8 years ago)
- Last Synced: 2024-11-02T11:42:18.385Z (6 days ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - CoMPaTech/plugin-theme_auto_day_night - Example dark mode including users timezone as per github.com/fguillot/kanboard #1967 (others)
README
Kanboard Example of theme with two stylesheets
==============================================To be used with http://kanboard.net
This plugin overrides the core template and CSS using template hooks to create a custom theme including switching between them using predefined times using the users timezone. Or the applications timezone if none is set.
- New CSS styles are added with the hook **layout:head**
- Added configuration in Settings->IntegrationsInstallation
------------- Create a directory **Theme_auto_day_night** under the folder **plugins** or **rename** the cloned directory (leave out the plugin-)
- Copy all source files in this new directory
- Go on your local installation of Kanboard
- After the login, you should see the alterations to the default layout
- Make any changes in Settings->IntegrationsNOTE
----
The coloring on the theme is by no means a 'good example' or 'workable' in any way, it's just a demo of what can/needs to be adjusted.
The night-theme was quickly drafted up glancing at the reason to write this plugin (#1967 on fguillot/kanboard)
The day-theme was copied from #1248 on fguillot/kanboardOther resources
---------------* Image from Pixabay (https://pixabay.com/nl/dag-en-nacht-nacht-en-dag-694840/)
* Colorpicker from (https://bgrins.github.io/spectrum/)