{"id":22562100,"url":"https://github.com/sanderhelleso/darkmode","last_synced_at":"2025-03-28T12:42:41.683Z","repository":{"id":96641420,"uuid":"133296472","full_name":"sanderhelleso/darkMode","owner":"sanderhelleso","description":"Qucikly allows you to change an entire HTML page to a dark theme with a single trigger, then revert back once triggered again.","archived":false,"fork":false,"pushed_at":"2018-05-20T01:40:51.000Z","size":468,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T13:16:00.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanderhelleso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-14T02:48:11.000Z","updated_at":"2018-11-16T10:45:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e7f652c-c543-4c36-b2d4-07bfdbb1654b","html_url":"https://github.com/sanderhelleso/darkMode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FdarkMode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FdarkMode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FdarkMode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FdarkMode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanderhelleso","download_url":"https://codeload.github.com/sanderhelleso/darkMode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246034270,"owners_count":20712851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T22:11:32.217Z","updated_at":"2025-03-28T12:42:41.657Z","avatar_url":"https://github.com/sanderhelleso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# darkMode\ndarkMode qucikly allows you to change an entire HTML page and its elements to a dark theme with a single trigger, then revert back once triggered again.\n\n## Usage\nSimply pull this repository and include the script on any HTML page. Enter the ID of the element you want to use as a trigger and you are good to go.\n\nIf you want to use the script combined with other functionality, copy darkMode, clearDarkMode and the color variables into your own script, and initialize the trigger in your onload function.\n\n\u003cimg src=\"https://raw.githubusercontent.com/sanderhelleso/darkMode/master/screenshots/darkMode1.jpg\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/sanderhelleso/darkMode/master/screenshots/darkMode4.jpg\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/sanderhelleso/darkMode/master/screenshots/darkMode2.jpg\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/sanderhelleso/darkMode/master/screenshots/darkMode3.jpg\"\u003e\n\n## License\n \nThe MIT License (MIT)\n\nCopyright (c) 2018 Sander Hellesø\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderhelleso%2Fdarkmode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanderhelleso%2Fdarkmode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderhelleso%2Fdarkmode/lists"}