bratislava / bratislava/component-library

Typography component

Open
#3 1 comment 0 reactions 1 assignee Claimed by @daksas303 View on GitHub
pr: needs review :pray:
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Komponent podobný ako https://mui.com/material-ui/api/typography/ . Dovoli vytvorit iba varianty take ako vo [Figma foundations](https://www.figma.com/file/ctDKMhAPIjLUVNNmq430D4/DS-ESBS%3A-Foundations?type=design&node-id=65-47&mode=design&t=xsC9dMxwPN7KNfN6-0) resp typography.css v projekte konta.

Preskumat ci vieme enforcovat cez eslint alebo inym toolom (nenechavat ziaden text mimo Typography komponentu).

Nasledne bude treba prekopat bratislava.sk a konto projekt tak aby vsade pouzival tento komponent. Bude potrebne vela synchronizacie s nasim designerom Patrikom Michalickom, pocitame s tym ze toto nebude na jeden zatah.

K "balancovaniu" textu - toto sme spominali na calle, v mnohom moze stacit zacat pouzivat tento css property https://developer.chrome.com/blog/css-text-wrap-balance/ . Pripadne pozriet na https://react-wrap-balancer.vercel.app/ (treba zistit ci to nie je mostly polyfill a ak ano ci je este potrebny). Druha cast tohto problemu su predlozky ktore by nemali ostavat na konci riadku - ak toto nebude riesene same toolami vyssie, tak sme to robili na inych projektoch (bratislava/kniznica/galeria), pravdepodobne vkladanim non-breaking spaces na spravne miesta. Ak by bolo treba @radoslavzeman ma viac info.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.