import {create} from 'tailwind-rn'; import styles from './styles.json'; const {tailwind, getColor} = create(styles); tailwind('text-blue-500 text-opacity-50'); //=> {color: 'rgba(66, 153, 225, 0.5)'}