SolidOS / SolidOS/solid-ui

header icon sizing/svg?

Aperta
#300 4 commenti 0 reazioni 3 assegnatari Vedi su GitHub

@timbl ci sta già lavorando.

Dal 10/4/2020.

Lingua principale
TypeScript
Stelle
153
Fork
46
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

This is in branch add-header-styles
Currently all icons in solid-ui are in the icon directory as svg files, however in mashlib the icon for the header sits in a icon.ts file. I think I should make this a svg file called header-icon.svg and store it in the icon directory to match the organization of solid-ui, since it will now be in that repository. Want to get feedback?

The other thing I have ran into is that the svg (defined in src/header/icon.ts) defines the styling, which is called header-banner__icon. I'm not quite sure how to do this in jss.
Meaning: I have defined this style in my styleMap.ts. How might I link this style to an svg? Or do I need to just hardcode this style in the svg itself?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.