nirsky / react-native-size-matters

A lightweight, zero-dependencies, React-Native utility belt for scaling the size of your apps UI across different sized devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request - allow configuring guidelineBaseWidth and guidelineBaseHeight

lightrow opened this issue · comments

It would be sweet if we could choose our baseline dimensions, so we could achieve pixel perfect design on our target device used in designs, e.g. our designs all use iPhone 14 frame – we would set the baseline dimensions to those of an iPhone 14, then all the scaling functions would return the same value for that device, e.g. 15pt stays 15pt, achieving 100% design match.

somehow i missed the bottom link in the readme about changing guideline sizes, my apologies, ignore