npm install --save-dev @gravity-ui/illustrations
Define --gil-color-underlay
css-token in your app:
--gil-color-underlay: rgba(240, 243, 245, 1);
or use mixins in scss:
@import '@gravity-ui/illustrations/styles/theme.scss';
.g-root {
&_theme_light {
@include g-illustrations-colors-light;
}
&_theme_dark {
@include g-illustrations-colors-dark;
}
}
import NotFound from '@gravity-ui/illustrations/NotFound';
or
import {NotFound} from '@gravity-ui/illustrations';
You might need an appropriate loader for this
import notFound from '@gravity-ui/illustrations/svgs/not-found-light.svg';