[Feature] Presskit SVGs doesn't work well with non-white backgrounds
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia dall'output HTML di License chooser e confronta le icone Presskit a cui fa riferimento, come https://mirrors.creativecommons.org/presskit/icons/by.svg, con le icone trasparenti in src/svg/cc/icons. Conferma dove vengono mantenuti gli asset Presskit; il lavoro è completato quando sono disponibili varianti con centro trasparente e i valori predefiniti del chooser vengono modificati solo se rientra nell'ambito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Presskit SVGs don't work well with non-white backgrounds.
Current behavior on the left and desired behavior on the right.
Description
The SVGs used by the HTML produced by the "License chooser" have a solid white background inside the circle.
The icons are hosted here and are part of the "Presskit" e.g.:
https://mirrors.creativecommons.org/presskit/icons/by.svg
The white background icons from "Presskit" are inconsistent with the icons here (which are transparent):
https://github.com/creativecommons/vocabulary/tree/main/src/svg/cc/icons
I suggest having an extra set of icons in the "Presskit" with transparent centers.
It is probably a good idea to leave the current ones as is for backwards compatibility.
Maybe even use these in the "License chooser" by default moving forward.
Alternatives
Leave everything "as is", but having icons with transparent backgrounds available, we get a web that looks better 😅
Additional context
Maybe also provide SVGs with white "fill color" for dark (themed) websites.
Implementation
- I would be interested in implementing this feature. (but I would need some pointers as to where I can find this "Presskit")
- Lingua principale
- HTML
- Stelle
- 187
- Fork
- 243
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di creativecommons/creativecommons.org
-
💻 aspect: code 🚦 status: awaiting triage 🛠 goal: fix 🟨 priority: medium
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
💻 aspect: code 🚧 status: blocked 🛠 goal: fix 🟨 priority: medium
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
creativecommons/creativecommons.org#1424 · 4 commenti ·
-
💻 aspect: code 🛠 goal: fix 🟨 priority: medium 🧹 status: ticket work required
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
creativecommons/creativecommons.org#1422 · 2 commenti ·
-
Proposal: AI Assisted markAperta✨ goal: improvement 🏁 status: ready for work 💻 aspect: code 🟩 priority: low
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
creativecommons/creativecommons.org#1315 · 1 commento ·
-
[Feature] Unambiguously Grant a Copyright License to CC IconsForse di nuovo libera @diyananoory-cc l’ha presa 422 giorni fa e non c’è nessuna pull request aperta. Aperta✨ goal: improvement 🏁 status: ready for work 🔒 staff only 🕹 aspect: interface 🟩 priority: low
creativecommons/creativecommons.org#1308 · 2 commenti · 3 assegnatari ·
Tutte le issue di creativecommons/creativecommons.org
Issue simili
-
Selection improvementsApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
IacobIonut01/ReFra#1433 ·
I maintainer di solito rispondono entro 17 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
OREL-group/Project-Management#133 · 1 commento ·
-
项目日志弹出窗尺寸可拉伸功能Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
宿題一覧のフィルタと期限表示を見やすくするApertaCodex使用可 コード
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ryuki-moro/Nicomaru#209 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno