forked from vaadin/vaadin-icons
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
saasfreelancer edited this page May 17, 2022
·
1 revision
Vaadin iconset and font build process. They ship 600 icons, we only need some.
-
conversionxl/vaadin-icons
fork has a customgulpfile.js
, clone, install deps. - vaadin-icons/gulpfile.js: modify
const cxlVaadinIconset
.
- vaadin-icons: run
npx gulp icons iconfont
.
- iron-iconset-svg[name="vaadin"]: copy-paste vaadin-icons/iconset.html
<g>
elements toconversionxl/aybolit/packages/cxl-lumo-styles/src/icons.js
.
- iron-iconset-svg[name="vaadin"]: copy-paste vaadin-icons/vaadin-icons.woff2 base64 encoding to
conversionxl/aybolit/packages/cxl-lumo-styles/src/icons.js
.
- `$ base64 vaadin-icons.woff2 > vaadin-icons.txt`
ref: https://stackoverflow.com/a/26872453/1232232
OR
- https://hellogreg.github.io/woff2base/
- style#cxl-lumo-styles-vaadin-icons: add / change CSS custom properties, get unicode values from step #3 task output to
conversionxl/aybolit/packages/cxl-lumo-styles/src/icons.js
.