Files
Andrew Zambazos 207a849f06 Add Nebula Browser app, UI and assets
Add initial Nebula Browser project skeleton: CMakeLists to configure and link CEF (including post-build steps to copy runtime and UI files), a Windows CEF-based entry (app/main.cpp) that initializes CEF and loads the bundled UI, and a full ui/ and assets/ tree (HTML, CSS, JS, fonts, icons, and branding images). Update .gitignore to ignore build/out, thirdparty/cef, IDE and common OS artifacts.
2026-05-13 22:17:58 +12:00

21 lines
720 B
JavaScript

// This file is automatically generated from Google's Material Icons.
/**
* Fetches the full list of Material Icon names from Google Fonts.
* Returns an array of strings like ["3d_rotation","access_alarm",…]
*/
export async function fetchAllIcons() {
const res = await fetch("https://fonts.google.com/metadata/icons");
let txt = await res.text();
// strip the weird prefix )]}'\n
txt = txt.replace(/^\)\]\}'\s*/, "");
const json = JSON.parse(txt);
return json.icons.map(icon => icon.name);
}
// Fallback static array for immediate use (e.g. the "+" button and bookmark icons)
export const icons = [
'add',
'bookmark',
'star',
// …add any other icons your components expect synchronously…
];