We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
I'm using this plugin on a RN / Sketch / Web project and running into an issue with gradients in Sketch.
Code:
const Bg = ({ type }: { type: string }) => ( <Svg id="grad" style={{ position: 'absolute', ...StyleSheet.absoluteFillObject, width: '100%', height: '100%', }} > <Defs> <LinearGradient id={`button-sheen-${type}`} x1="0" x2="0" y1="0" y2="1" > <Stop offset="0%" stopColor={THEME[type.toUpperCase()].BG_COLOR_START} /> <Stop offset="100%" stopColor={THEME[type.toUpperCase()].BG_COLOR_END} /> </LinearGradient> </Defs> <Rect fill={`url(#button-sheen-${type})`} style={{ position: 'absolute', ...StyleSheet.absoluteFillObject, width: '100%', height: '100%', }} x="0" y="0" /> </Svg> );
Web screencap (yay!):
Sketch screencap (no gradient?):
Sketch gradient detail (ahh, there's a gradient it's just TINY?):
any thoughts on why this might be?
The text was updated successfully, but these errors were encountered:
not a problem with this repo, sorry to bother!
airbnb/react-sketchapp#269 (comment)
Sorry, something went wrong.
No branches or pull requests
Hi!
I'm using this plugin on a RN / Sketch / Web project and running into an issue with gradients in Sketch.
Code:
Web screencap (yay!):

Sketch screencap (no gradient?):

Sketch gradient detail (ahh, there's a gradient it's just TINY?):

any thoughts on why this might be?
The text was updated successfully, but these errors were encountered: