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:
parent
bce51bb2c4
commit
2485f4ff33
9 changed files with 645 additions and 658 deletions
9
.dev/getMdi.js
Normal file
9
.dev/getMdi.js
Normal 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);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue