feat(ui): apply Endoleap themes, brand marks and favicons
Endoleap brand checks / verify (pull_request) Successful in 2m25s
creative workspace review checks / verify (pull_request) Failing after 2m20s

This commit is contained in:
2026-11-01 01:44:51 +08:00
parent ff91a281f1
commit 8062dbc878
57 changed files with 610 additions and 395 deletions
+11
View File
@@ -0,0 +1,11 @@
// Run in the confirmed remote CI build (or an explicitly authorized dev environment).
import { copyFile, mkdir, readFile } from 'node:fs/promises';
import { resolve } from 'node:path';
const app = JSON.parse(await readFile('package.json', 'utf8'));
if (!['@prompt/studio', '@prompt/waterfall-wiki'].includes(app.name)) throw Error('Run from a consuming application directory');
const source = new URL('../assets/', import.meta.url);
await mkdir(resolve('public/brand'), {recursive:true});
for (const name of ['logo-light.svg','logo-dark.svg','icon-dark.svg']) await copyFile(new URL(`svg/${name}`, source), resolve(`public/brand/${name}`));
await copyFile(new URL('icons/favicon.ico', source), resolve('public/favicon.ico'));
await copyFile(new URL('icons/apple-touch-icon.png', source), resolve('public/apple-touch-icon.png'));
console.log('Prepared fixed Endoleap marks and multi-resolution favicon.');