1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-24 13:39:35 +02:00

Fallback to web search if local search has zero results. Updated packages

This commit is contained in:
Paweł Malak 2021-11-08 13:22:11 +01:00
parent bce51bb2c4
commit 2485f4ff33
9 changed files with 645 additions and 658 deletions

9
.dev/getMdi.js Normal file
View file

@ -0,0 +1,9 @@
// Script to get all icon names from materialdesignicons.com
const getMdi = () => {
const icons = document.querySelectorAll('#icons div span');
const names = [...icons].map((icon) => icon.textContent.replace('mdi-', ''));
const output = names.map((name) => ({ name }));
output.pop();
const json = JSON.stringify(output);
console.log(json);
};