callstack / callstack/react-native-paper

Add responsiveness to text components to v5

Abierto
#3,431 0 comentarios 2 reacciones 0 asignados Ver en GitHub
feature request Typography
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

**Is your feature request related to a problem? Please describe.**

Hello
It would be really great if there's support to add responsiveness to React Native Paper's text components.
When I test an app in different screen sizes and resolutions, the font size, width, margin, padding and basically anything that's scalable gets bigger or smaller for every screen. The size is not consistent.

**Describe the solution you'd like**

One solution might be to add a Theme Property called `responsive` that could be set to `true` or `false` (and by default be true) that makes the font size and other things responsive (could be customizable by adding either other parameters such as `responsiveWidth` `responsiveHeight` that works the same as `responsive`)

**Describe alternatives you've considered**

I tried to make a custom component that returns a `Text` component with the `fontSize` set to a function called `responsive(x)` that sets the size of the text accordingly

**Additional context**

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza localizando los componentes de texto y la configuración del tema en React Native Paper; después, revisa cómo se especifican actualmente el tamaño del texto y el espaciado. Define el comportamiento responsivo y la superficie de personalización antes de la implementación, y verifica que los componentes de texto escalen de forma coherente en distintos tamaños y resoluciones de pantalla.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react-native, typescript
Área
design, frontend, mobile
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
28/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.