mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-28 04:56:35 +00:00

* Generate hass icons * Generate Hass.io icons * Convert hass.io to use hassio iconset * Convert src to use hass iconset * Give mdi-icons a chunk name * gen-index-html aware of hass-icons * Use ha-icon for rendering state icon
14 lines
309 B
JavaScript
Executable File
14 lines
309 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
const fs = require('fs');
|
|
const {
|
|
findIcons,
|
|
generateIconset,
|
|
} = require('../../gulp/tasks/gen-icons.js');
|
|
|
|
function genHassIcons() {
|
|
const iconNames = findIcons('./src', 'hassio');
|
|
fs.writeFileSync('./hassio-icons.html', generateIconset('hassio', iconNames));
|
|
}
|
|
|
|
genHassIcons();
|