color_contrast_calc 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/color_contrast_calc/color_function_parser.rb +2 -0
- data/lib/color_contrast_calc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f14c1b61fcfcbab962811f5d6c2bee98841b5fc88aedbe3cdcb1f66747c7735
|
4
|
+
data.tar.gz: 60c833fd6e0374f319172ff40307f496f3d3e31b7ae7e77b01105f2283855776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2406be8e787bc8730cc4297429f37081a21cfde4acd5fc82f53703eccce10f0d1868ce8072ee4f592c2ea7a4a8372c4ca7bdfa97a6866b4d632f30b7c2a49675
|
7
|
+
data.tar.gz: 226e05b5b73f8f19e7589bed424cb1eb6c14dabfa1b87b2b8e1db84c646ce4110ad3cbd93970746a9df1d8df41fa5286801fea849168ac260e76724d55ab4cca
|
data/README.md
CHANGED
@@ -75,7 +75,7 @@ red
|
|
75
75
|
|
76
76
|
To calculate the contrast ratio between two colors, a class method of `ColorContrastCalc`, `.contrast_ratio()` is available.
|
77
77
|
|
78
|
-
For example, if you want calculate the contrast ratio between yellow and black at the command line, you can do as follows:
|
78
|
+
For example, if you want to calculate the contrast ratio between yellow and black at the command line, you can do as follows:
|
79
79
|
|
80
80
|
```bash
|
81
81
|
$ ruby -rcolor_contrast_calc -e 'puts ColorContrastCalc.contrast_ratio("#ff0", "#000")'
|