Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Some cursors are very blurry on lower sizes #75

Merged
merged 4 commits into from
Nov 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `svg/*.py` module support inside `pyright` config

### Changed

- Some cursors are very blurry on lower sizes fixed #74
- `make install` command fixed
- prettier bitmapping logs

## [v1.2.3] - 23 Nov 2021

### Added
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ install: $(src)
@echo "> Installing '$(THEME_PREFIX)' cursors inside $(local)/..."
@mkdir -p $(local)
@cp -r ./themes/$(THEME_PREFIX)BigSur $(local_dest)
@cp -r ./themes/$(THEME_PREFIX)BigSur -White $(local_dest) && echo "> Installed!"
@cp -r ./themes/$(THEME_PREFIX)BigSur-White $(local_dest)
@cp -r ./themes/$(THEME_PREFIX)Monterey $(local_dest)
@cp -r ./themes/$(THEME_PREFIX)Monterey -White $(local_dest) && echo "> Installed!"
@cp -r ./themes/$(THEME_PREFIX)Monterey-White $(local_dest) && echo "> Installed!"
@else
@echo "> Installing '$(THEME_PREFIX)' cursors inside $(root)/..."
@mkdir -p $(root)
@sudo cp -r ./themes/$(THEME_PREFIX)BigSur $(root_dest)
@sudo cp -r ./themes/$(THEME_PREFIX)BigSur-White $(root_dest) && echo "> Installed!"
@sudo cp -r ./themes/$(THEME_PREFIX)BigSur-White $(root_dest)
@sudo cp -r ./themes/$(THEME_PREFIX)Monterey $(root_dest)
@sudo cp -r ./themes/$(THEME_PREFIX)Monterey-White $(root_dest) && echo "> Installed!"
@fi
Expand Down
6 changes: 3 additions & 3 deletions bitmapper/packages/bigsur/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const svgDir = path.resolve(root, "svg", "bigsur");

const main = async () => {
for (const { themeName, color } of config) {
console.log("=>", themeName);
console.log("Generating bitmaps for", themeName);

const bitmapsDir = path.resolve(root, "bitmaps", themeName);
const svg = new SVGHandler.SvgDirectoryParser(svgDir);
Expand All @@ -17,14 +17,14 @@ const main = async () => {
const browser = await png.getBrowser();

for (let { key, content } of svg.getStatic()) {
console.log(" -> Saving", key, "...");
console.log(" ==> Saving", key, "...");

content = SVGHandler.colorSvg(content, color);
await png.generateStatic(browser, content, key);
}

for (let { key, content } of svg.getAnimated()) {
console.log(" -> Saving", key, "...");
console.log(" ==> Saving", key, "...");

content = SVGHandler.colorSvg(content, color);
await png.generateAnimated(browser, content, key);
Expand Down
6 changes: 3 additions & 3 deletions bitmapper/packages/monterey/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const svgDir = path.resolve(root, "svg", "monterey");

const main = async () => {
for (const { themeName, color } of config) {
console.log("=>", themeName);
console.log("Generating bitmaps for", themeName);

const bitmapsDir = path.resolve(root, "bitmaps", themeName);
const svg = new SVGHandler.SvgDirectoryParser(svgDir);
Expand All @@ -17,14 +17,14 @@ const main = async () => {
const browser = await png.getBrowser();

for (let { key, content } of svg.getStatic()) {
console.log(" -> Saving", key, "...");
console.log(" ==> Saving", key, "...");

content = SVGHandler.colorSvg(content, color);
await png.generateStatic(browser, content, key);
}

for (let { key, content } of svg.getAnimated()) {
console.log(" -> Saving", key, "...");
console.log(" ==> Saving", key, "...");

content = SVGHandler.colorSvg(content, color);
await png.generateAnimated(browser, content, key);
Expand Down
11 changes: 6 additions & 5 deletions svg/bigsur/static/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions svg/bigsur/static/plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 17 additions & 18 deletions svg/bigsur/static/vertical-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading