{"id":16354964,"url":"https://github.com/ambient-impact/drupal-olivero-dark","last_synced_at":"2026-02-28T12:04:33.557Z","repository":{"id":155929675,"uuid":"632295146","full_name":"Ambient-Impact/drupal-olivero-dark","owner":"Ambient-Impact","description":"Dark mode support for Olivero","archived":false,"fork":false,"pushed_at":"2024-08-24T01:10:17.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"1.x","last_synced_at":"2025-02-21T12:36:33.588Z","etag":null,"topics":["drupal-10-theme","drupal-theme"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ambient-Impact.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2023-04-25T05:50:58.000Z","updated_at":"2024-08-24T01:10:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"25229b68-cf3e-4583-aedd-1b42d6640aac","html_url":"https://github.com/Ambient-Impact/drupal-olivero-dark","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/Ambient-Impact%2Fdrupal-olivero-dark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-olivero-dark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-olivero-dark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-olivero-dark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ambient-Impact","download_url":"https://codeload.github.com/Ambient-Impact/drupal-olivero-dark/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657793,"owners_count":21140842,"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":["drupal-10-theme","drupal-theme"],"created_at":"2024-10-11T01:38:10.134Z","updated_at":"2026-02-28T12:04:33.519Z","avatar_url":"https://github.com/Ambient-Impact.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Olivero sub-theme which provides dark mode colours.\n\nNote that this does not provide any sort of UI; instead it automagically\nswitches to dark mode colours when the CSS [`prefers-color-scheme`\nmedia query](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)\nmatches. This means that when your browser and operating system are set to light\nmode, this theme will display the light mode colours that ship with Drupal core;\nwhen your browser and operating system are set to dark mode, the dark mode\ncolours will be used.\n\nAlso note that this requires Drupal core 10, and will not be installable on\nprevious major core versions due to [lack of CSS custom property\nsupport](https://www.drupal.org/project/drupal/issues/3257274#comment-14567683),\nnor on Drupal core 10.4.0 or later because the Olivero CSS is marked as internal\nand thus not guaranteed to obey semantic versioning rules so it could change\ndrastically at any time. When new, stable core versions are tested and verified\nto work, the version constraint will be increased to allow them.\n\n# Installation\n\nFirst step is to make Composer aware of this repository. Your root\n`composer.json` should already have a `repositories` section that has the\ndrupal.org Composer repository like so:\n\n```json\n  \"repositories\": [\n    {\n      \"type\": \"composer\",\n      \"url\": \"https://packages.drupal.org/8\"\n    }\n  ],\n```\n\nYou'll need to edit the section to include this theme's repository like so:\n\n```json\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/Ambient-Impact/drupal-olivero-dark.git\"\n    },\n    {\n      \"type\": \"composer\",\n      \"url\": \"https://packages.drupal.org/8\"\n    }\n  ],\n```\n\nSave the file and then run\n`composer require \"drupal/olivero_dark:^1.0@dev\"` which should download\nthe theme. Log into Drupal, find the theme in the themes list (under\n`/admin/appearance`), install it, and configure the default colour scheme if\nneeded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambient-impact%2Fdrupal-olivero-dark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambient-impact%2Fdrupal-olivero-dark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambient-impact%2Fdrupal-olivero-dark/lists"}