Skip to content

Commit

Permalink
cont coding color filters
Browse files Browse the repository at this point in the history
  • Loading branch information
edadma committed May 6, 2018
1 parent f0bf3d3 commit 198edd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/scala/ExtraColorFilters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ package xyz.hyperreal.liquescent

object ExtraColorFilters {

val hslRegex = """hsl\(\s*(\d+)\s*,\s*(\d+)\s*%\s*,\s*(\d+)\s*%\s*\)"""r
val hslaRegex = """hsl\(\s*(\d+)\s*,\s*(\d+)\s*%\s*,\s*(\d+)\s*%\s*,\s*(\d+(?:\.\d*)?)\s*\)"""r

val map =
List(

Expand Down

0 comments on commit 198edd1

Please sign in to comment.