cache flame bg
This commit is contained in:
parent
a161f4d13e
commit
9496c6a405
5 changed files with 3 additions and 5 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 47 KiB |
|
@ -1,6 +1,6 @@
|
|||
:root {
|
||||
--bgColor: #2d3436;
|
||||
--bgImage: url("https://images.wallpaperscraft.com/image/single/leaf_plant_green_136967_2560x1440.jpg");
|
||||
--bgImage: url("/theme/img/bg.jpeg");
|
||||
--accentColor: #FFA500;
|
||||
--foreground: #ffffff;
|
||||
}
|
BIN
src/themes/flame/img/bg.jpeg
Normal file
BIN
src/themes/flame/img/bg.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 393 KiB |
|
@ -36,16 +36,14 @@ const sleep = ms => new Promise(r => setTimeout(r, ms));
|
|||
const themes = getDirectories("../../sample");
|
||||
for (const theme of themes) {
|
||||
replaceFiles(`../../sample/${theme}`, '../../src/data');
|
||||
await sleep(500);
|
||||
await sleep(2000);
|
||||
|
||||
const page = await browser.newPage();
|
||||
await page.goto('http://localhost:7001');
|
||||
await page.waitForNetworkIdle();
|
||||
await sleep(500);
|
||||
await sleep(1000);
|
||||
await page.screenshot({ path: `../../docs/screenshots/${theme}.png` });
|
||||
await page.close();
|
||||
|
||||
await sleep(1000);
|
||||
}
|
||||
|
||||
browser.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue