Comments (6)
Any guiding principles for starting this work? Id be open to contributing this work.
Any ideas on how you want to version the Material typography? e.g. materialOld.js ..?
from react-native-typography.
Definitely!
from react-native-typography.
The updated scale is quite different, so probably some of the users won't want to migrate to the new scale right away.
Having that in mind, I think that we should aim for:
- A solution for the users that want to keep using the old scale for now and migrate their styles manually
- A way for users to switch to the new scale immediately
- Not introducing complexity for new users that are only interested in the new scale
Material UI took an interesting approach, see: https://material-ui.com/style/typography/#migration-to-typography-v2
I also recommend reading the RFC: mui/material-ui#12741
We could go for a similar solution, what do you think?
from react-native-typography.
Similar issue here #34
from react-native-typography.
@hectahertz Any news on this?
from react-native-typography.
@hectahertz hello, thank you for the great work! Are you still planning to work on this? I also wonder if iOS styles are still relevant or they need to be updated as well (for example, according to official resources, largeTitleEmphasized seems to have letterSpacing value of 0.37 but definitions show 0.41).
from react-native-typography.
Related Issues (20)
- Line height issue (Android vs iOS) HOT 3
- Styled Components HOT 1
- Add react-native-web to the example app
- Ship babelified code to NPM for the web platform HOT 3
- Typescript Support HOT 7
- Add windows support HOT 1
- Does it support other fonts? HOT 1
- Ability to support San Fransisco Compact natively
- systemWeight black HOT 1
- iOSUIKit will cut the bottom of Text if contains Chinese characters
- Scaling font sizes for bigger screens HOT 3
- Split out react-native to support other css-in-js frameworks HOT 1
- Material styles doesn't match with the guidelines HOT 1
- Republish example with update to Expo
- Missing types for dense and tall
- Dark Mode support HOT 1
- Workaround for new material guidelines? HOT 1
- styled-components expect lineHeight to contain units HOT 2
- [README] The logo does not appear properly in the dark mode of Github.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-typography.