-
Notifications
You must be signed in to change notification settings - Fork 530
Closed
Labels
Description
Description

The color I'm using is #F0605C
. It's apparent that the color rendered by Skia differs from the native rendering.
React Native Skia Version
2.1.1
React Native Version
0.79.5
Using New Architecture
- Enabled
Steps to Reproduce
Use the code below
I use iOS simulator(iOS 18.2)
Snack, Code Example, Screenshot, or Link to Repository
import { View, Text } from 'react-native'
import {
Canvas,
Circle,
} from '@shopify/react-native-skia'
function Demo() {
return (
<View>
<Text>Skia</Text>
<Canvas style={{ width: 40, height: 40 }}>
<Circle cx={20} cy={20} r={20} color="#F0605C" />
</Canvas>
<Text>RN View</Text>
<View
style={{
width: 40,
height: 40,
backgroundColor: '#F0605C',
borderRadius: 100,
}}
/>
</View>
)
}