-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Larissa Reis
committed
May 15, 2018
1 parent
ce98f96
commit fa50131
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# contrast-ratio extension for gnome-shell | ||
|
||
Calculate contrast ratio for readability based on WCAG 2.0 recommendations. If | ||
you have `grabc` installed, you can also capture color from your screen by | ||
clicking on the color preview. | ||
|
||
This extension has been tested on gnome-shell 3.26 and 3.28. If you're using | ||
this extension in earlier versions of gnome-shell, please let me know so I can | ||
officially add it to supported versions. | ||
|
||
## Dependencies | ||
|
||
If you want to capture color from a pixel on your screen, install `grabc` | ||
|
||
apt-get install grabc | ||
|
||
|
||
## Installation from git | ||
|
||
git clone https://github.com/larissa/contrast-ratio.git ~/.local/share/gnome-shell/extensions/[email protected] | ||
|
||
Restart the shell and then enable the extension. | ||
|
||
|
||
## Known issues | ||
|
||
Picking a color from anywhere on screen is not supported on wayland for | ||
security reasons, so `grabc` (and any other color picking tool) won't work if | ||
you're using wayland. |