akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.19k stars 952 forks source link

How to change the thickness of the Icon #1735

Open Qyokizzzz opened 1 year ago

Qyokizzzz commented 1 year ago

import styled from 'styled-components/native'; import { Icon } from '@ui-kitten/components';

export const StyledIcon = styled(Icon) height: 24px; width: 24px; font-weight: 100; ;

I can only change the size of Icon, not its thickness.

greenfrvr commented 1 year ago

Could you please provide more details about icons pack you're using? If we're talking about Eva Icons Pack it's not based on fonts, so there is no way to change its thickness with font properties.

Qyokizzzz commented 1 year ago

Yes, I am using Eva. May I know which icon pack supports adjusting thickness?

Qyokizzzz commented 1 year ago

Is there any other way to change the thickness of the eva icon?