themes: A mobile-first theme with light and dark mode
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- css, javascript, php
Direzione di ricerca
The proposed theme lives in data/themes/hyphae/, with .gitignore also mentioned; compare it with data/themes/default/ to understand the compatibility requirements. The issue links open pull request #615, so review that work first. Done means a selectable mobile-first theme with the described light and dark modes, accessibility, responsive layouts, icons, and preserved default-theme compatibility.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Proposal. Hypha ships one theme, default, which is desktop-first, light only, and uses web fonts and small icons. Many readers and authors now use a phone, often in dark mode. This proposes a second theme, hyphae, next to default (which stays unchanged), so a site can choose it in the settings.
What it offers
- Light and dark mode: follows
prefers-color-scheme, plus a switch in the header (system, light, dark) kept inlocalStorage(no cookie), applied before the page paints, withtheme-colorfor both. - Accessible colours: every text/background pair meets WCAG 2.2 AA (lowest text pair 4.8:1; field borders 4.5:1 where 3:1 is required).
- Mobile first: touch targets of at least 44 px, the menu and commands on one scrolling row, the login and new-page popup as a bottom sheet on a phone and a dialog on larger screens, tables that scroll sideways.
- Icons for current devices: an SVG favicon that follows the scheme, an apple-touch-icon (180), a web app manifest with 192/512 and maskable icons (Android adaptive safe zone), and the six command icons redrawn on a 24 px grid. The mark is original (a hub with branching threads).
- Lighter: the system font stack instead of the Dosis web font; Fork Awesome stays for pages that use it.
Compatibility: every id and class of the default theme that Hypha's PHP and JavaScript use is kept, and the CSS variables of default are mapped on the new tokens, so no PHP changes. .gitignore gets one line to track data/themes/hyphae/ like default.
Not themed yet: WYMeditor keeps its own light look; the share images sit on a white chip in dark mode; the manifest name is a fixed "Hypha" because a theme cannot know the site title.
Tested on a fictional test site with main (d97ab7b) on PHP 8.4, in Chrome at desktop width and as a 402 pt phone, light and dark; not yet on real devices.
🤖 Generated with Claude Code
- Lingua principale
- JavaScript
- Stelle
- 5
- Fork
- 9
- Merge medio
- 18h 7m
- PR unite (30g)
- 11
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 PlanBCode/hypha
-
Component: User interface Impact: Low Level: Easy Pagetype: Peer reviewed article Type: Bug Value: Visitors
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Medium Level: Easy Type: Bug Value: Users
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Low Level: Easy Pagetype: Festival Type: Bug Value: Coders
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Medium Level: Easy Pagetype: Mailinglist Type: Bug Value: Users
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Low Level: Easy Type: Bug Value: Coders
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
PlanBCode/hypha#586 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PlanBCode/hypha
Issue simili
-
ai-driven-fuzzing bug claude Minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
linagora/cozy-client#1777 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
cncf/endusers#2006 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
check:passed feeds:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 4 giorni
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android ChromeApertaneeds-triage Platform(Default)
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
all-contributors/cli#587 ·
I maintainer di solito rispondono entro 1 giorno