{"id":46747492,"url":"https://github.com/mtoensing/hero-color-picker","last_synced_at":"2026-04-03T18:01:38.924Z","repository":{"id":341143268,"uuid":"1167937811","full_name":"mtoensing/hero-color-picker","owner":"mtoensing","description":"WordPress plugin for the block editor (Gutenberg) to set a hero color per post.","archived":false,"fork":false,"pushed_at":"2026-03-19T20:35:18.000Z","size":3084,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-20T09:42:04.164Z","etag":null,"topics":["wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/hero-color-picker/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtoensing.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-26T21:04:49.000Z","updated_at":"2026-03-19T20:35:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mtoensing/hero-color-picker","commit_stats":null,"previous_names":["mtoensing/hero-color-picker"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/mtoensing/hero-color-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fhero-color-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fhero-color-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fhero-color-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fhero-color-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtoensing","download_url":"https://codeload.github.com/mtoensing/hero-color-picker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fhero-color-picker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["wordpress-plugin"],"created_at":"2026-03-09T20:09:40.820Z","updated_at":"2026-04-03T18:01:38.909Z","avatar_url":"https://github.com/mtoensing.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== Hero Color Picker ===\nContributors: MarcDK\nTags: Gutenberg, Block Editor, Color Picker, Accessibility, WCAG\nRequires at least: 5.9\nTested up to: 6.9\nStable tag: 1.0.18\nRequires PHP: 7.3\nLicense: GPLv2 or later\nLicense URI: http://www.gnu.org/licenses/gpl-2.0.html\nDonate link: https://marc.tv/out/donate\n\nHero Color Picker adds per-post color selection in the editor sidebar for hero styling via CSS.\n\n== Description ==\n\n**Hero Color Picker** adds per-post background and font color controls to the editor sidebar for hero styling via CSS on elements with the `hero-colored` class.\n\nFeatures:\n- Two color controls: `Background Color` and `Font Color`\n- On-demand color pickers in compact dropdown popovers\n- Live preview of both colors together directly in the sidebar\n- Applies selected colors to the editor post summary area for a closer backend preview\n- Removes the featured image preview outline while a custom background color is active\n- Accessibility check for `WCAG AAA Normal Text` with `PASS` / `FAILED` status\n- Panel is shown only while editing posts (`post`), not in template editing contexts\n- Adds a core-like posts list view `Hero Background` to show only posts with a custom hero background color\n- Works on elements that have the CSS class `hero-colored`\n\nStored as post meta:\n- `hero_color_picker_hero_color`\n- `hero_color_picker_font_color`\n\nFrontend output (only when values are set):\n\n    .hero-colored {\n        background-color: $background;\n        color: $font;\n    }\n\nImportant template setup:\n- Open your block theme template (for example `Single`) in the Site Editor.\n- Select the `Group` block that should receive the hero styles.\n- In block settings, add `hero-colored` to `Additional CSS class(es)`.\n\n== Installation ==\n\n1. Place the plugin in `wp-content/plugins/hero-color-picker`.\n2. Activate the plugin in WordPress.\n3. Open `Appearance \u003e Editor` and edit your post template (for example `Single`).\n4. Select the target `Group` block and add the class `hero-colored` in `Additional CSS class(es)`.\n5. Optional: open `Posts \u003e All Posts` and click `Hero Background` to list posts with a custom hero background.\n\n== Frequently Asked Questions ==\n\n= How do I add the `hero-colored` CSS class in templates? =\n\n1. Go to `Appearance \u003e Editor` and open the template you use for posts (for example `Single`).\n2. Create a `Group` block that wraps the elements you want to style, for example the title and featured image.\n3. Open the `Group` block settings, expand `Advanced`, and enter `hero-colored` in `Additional CSS class(es)`.\n4. Save the template.\n\n== Screenshots ==\n\n1. Hero Color Picker sidebar panel with background color, font color, live preview, and WCAG status.\n\n== Changelog ==\n\n= 1.0.18 =\n* Remove the manual textdomain loading and rely on the modern WordPress default translation flow.\n\n= 1.0.17 =\n* Updated the WordPress.org icon assets.\n* Added refreshed WordPress.org banner assets in `1544x500` and `772x250`.\n\n= 1.0.16 =\n* Fixed loading of WordPress.org language packs for editor JavaScript strings.\n* Marked the editor panel title as translatable.\n\n= 1.0.15 =\n* Corrected and refined wording in the readme and editor preview text.\n\n= 1.0.14 =\n* Refined the plugin description across plugin metadata and the WordPress.org readme.\n\n= 1.0.13 =\n* Updated the editor FAQ link to point directly to the relevant WordPress.org FAQ entry.\n\n= 1.0.12 =\n* Added an editor FAQ link for frontend setup troubleshooting.\n* Expanded the WordPress.org FAQ with template setup instructions.\n\n= 1.0.11 =\n* Bumped plugin version to `1.0.11`.\n* Removed unused WordPress.org banner assets.\n\n= 1.0.10 =\n* Bumped plugin version to `1.0.10`.\n\n= 1.0.9 =\n* Bumped plugin version to `1.0.9`.\n\n= 1.0.8 =\n* Bumped plugin version to `1.0.8`.\n* Added release note entry for `1.0.8`.\n\n= 1.0.7 =\n* Added `Hero Background` view on `Posts \u003e All Posts` to list posts with a custom hero background color.\n* Editor preview now removes the featured image outline while a custom background color is active.\n* Expanded documentation with newly added backend/editor features.\n\n= 1.0.6 =\n* Improved and expanded `Description` and `Installation` documentation.\n* Added explicit setup steps for applying the `hero-colored` CSS class in block theme templates.\n\n= 1.0.5 =\n* Added a second sidebar color control for `Font Color`.\n* Frontend output now applies both `background-color` and `color` to `.hero-colored`.\n* Sidebar color picker is now shown on demand via dropdown popover.\n* Added `WCAG AAA Normal Text` status with `PASS` / `FAILED`.\n* Improved spacing in the color value button.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtoensing%2Fhero-color-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtoensing%2Fhero-color-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtoensing%2Fhero-color-picker/lists"}