Format code with prettier

This commit fixes the style issues introduced in 61c6922 according to the output
from prettier.

Details: https://deepsource.io/gh/fuwaa/pint/transform/41f1820b-f95f-4d01-b6b3-7d2b647739c5/
This commit is contained in:
deepsource-autofix[bot] 2022-07-26 09:34:27 +00:00 committed by GitHub
parent 61c6922638
commit 8a523ef35f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@
you can install this extension via the chrome web store (old version) or manually.
### chrome web store installation
> ⚠️ Please note that the version in the chrome web store is V1, which is very bad and outdated.
<a href="https://chrome.google.com/webstore/detail/gitccentify/mjhmdkcefcklflcmmokoahfdodcpeobg"><img src="https://storage.googleapis.com/web-dev-uploads/image/WlD8wC6g8khYWPJUsQceQkhXSlv1/UV4C4ybeBTsZt43U4xis.png" /></a>
@ -39,11 +40,13 @@ you can install this extension via the chrome web store (old version) or manuall
please check issue [#12](https://github.com/fuwaa/pint/issues/12) for more information :)
## limitations
> 💡 I am still looking for ways to better implement this! if you have any idea, please open an issue or create a pull request [here](https://github.com/fuwaa/pint/issues/new/choose)
The old implementation used a `setTimeout()` function, however the delay makes the project look like garbage as you can see the original colors before seeing your palette applied. The new implementation simply throws the entire css of github and unsets it while hiding the entire html making github look like an empty page until your palette gets loaded. Slight issue though, a flicker comes from time to time but it isn't noticable.
## documentation
Documentation is planned to debut on [fuwadocs](https://docs.fuwa.sh/pint/), however it is still in progress and is quite low on the priority queue.
## contributing