mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-25 04:24:33 -04:00
enahnce: prettier bitmapping
logs
This commit is contained in:
parent
da7beec6a4
commit
b81a2d7ef1
3 changed files with 7 additions and 6 deletions
|
@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- support creator button updated
|
- support creator button updated
|
||||||
- emojis removed from README.md
|
- emojis removed from README.md
|
||||||
- Github Action renamed to `build`
|
- Github Action renamed to `build`
|
||||||
|
- prettier `bitmapping` logs
|
||||||
|
|
||||||
## [Bibata v1.1.2] - 12 Jul 2021
|
## [Bibata v1.1.2] - 12 Jul 2021
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ const svgDir = path.resolve(root, "svg", "modern");
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
for (const { themeName, color } of config) {
|
for (const { themeName, color } of config) {
|
||||||
console.log("=>", themeName);
|
console.log("Generating bitmaps for", themeName);
|
||||||
|
|
||||||
const bitmapsDir = path.resolve(root, "bitmaps", themeName);
|
const bitmapsDir = path.resolve(root, "bitmaps", themeName);
|
||||||
const svg = new SVGHandler.SvgDirectoryParser(svgDir);
|
const svg = new SVGHandler.SvgDirectoryParser(svgDir);
|
||||||
|
@ -17,14 +17,14 @@ const main = async () => {
|
||||||
const browser = await png.getBrowser();
|
const browser = await png.getBrowser();
|
||||||
|
|
||||||
for (let { key, content } of svg.getStatic()) {
|
for (let { key, content } of svg.getStatic()) {
|
||||||
console.log(" -> Saving", key, "...");
|
console.log(" ==> Saving", key, "...");
|
||||||
|
|
||||||
content = SVGHandler.colorSvg(content, color);
|
content = SVGHandler.colorSvg(content, color);
|
||||||
await png.generateStatic(browser, content, key);
|
await png.generateStatic(browser, content, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let { key, content } of svg.getAnimated()) {
|
for (let { key, content } of svg.getAnimated()) {
|
||||||
console.log(" -> Saving", key, "...");
|
console.log(" ==> Saving", key, "...");
|
||||||
|
|
||||||
content = SVGHandler.colorSvg(content, color);
|
content = SVGHandler.colorSvg(content, color);
|
||||||
await png.generateAnimated(browser, content, key);
|
await png.generateAnimated(browser, content, key);
|
||||||
|
|
|
@ -8,7 +8,7 @@ const svgDir = path.resolve(root, "svg", "original");
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
for (const { themeName, color } of config) {
|
for (const { themeName, color } of config) {
|
||||||
console.log("=>", themeName);
|
console.log("Generating bitmaps for", themeName);
|
||||||
|
|
||||||
const bitmapsDir = path.resolve(root, "bitmaps", themeName);
|
const bitmapsDir = path.resolve(root, "bitmaps", themeName);
|
||||||
const svg = new SVGHandler.SvgDirectoryParser(svgDir);
|
const svg = new SVGHandler.SvgDirectoryParser(svgDir);
|
||||||
|
@ -17,14 +17,14 @@ const main = async () => {
|
||||||
const browser = await png.getBrowser();
|
const browser = await png.getBrowser();
|
||||||
|
|
||||||
for (let { key, content } of svg.getStatic()) {
|
for (let { key, content } of svg.getStatic()) {
|
||||||
console.log(" -> Saving", key, "...");
|
console.log(" ==> Saving", key, "...");
|
||||||
|
|
||||||
content = SVGHandler.colorSvg(content, color);
|
content = SVGHandler.colorSvg(content, color);
|
||||||
await png.generateStatic(browser, content, key);
|
await png.generateStatic(browser, content, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let { key, content } of svg.getAnimated()) {
|
for (let { key, content } of svg.getAnimated()) {
|
||||||
console.log(" -> Saving", key, "...");
|
console.log(" ==> Saving", key, "...");
|
||||||
|
|
||||||
content = SVGHandler.colorSvg(content, color);
|
content = SVGHandler.colorSvg(content, color);
|
||||||
await png.generateAnimated(browser, content, key);
|
await png.generateAnimated(browser, content, key);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue