From a433cc8de15e09fb63226a6f666eb6a7aa41c84f Mon Sep 17 00:00:00 2001 From: Guillem Date: Fri, 18 Oct 2024 16:10:26 +0200 Subject: [PATCH] Update mariana.py --- lifehacks/colour/palette/mariana.py | 35 +++++++++++++++-------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/lifehacks/colour/palette/mariana.py b/lifehacks/colour/palette/mariana.py index beb773d..2f2f79f 100644 --- a/lifehacks/colour/palette/mariana.py +++ b/lifehacks/colour/palette/mariana.py @@ -24,20 +24,21 @@ class Palette(metaclass=enum[Colour]): class Mariana(Palette): ''' mariana theme from sublime ''' - MARIANA = hsla(210, 15, 22) - DARK_0 = MARIANA.clone(l=11) - DARK_1 = MARIANA.clone(l=13) - DARK_2 = MARIANA.clone(l=19) - MEDIUM_0 = MARIANA.clone() - MEDIUM_1 = MARIANA.clone(l=40, a=75) - MEDIUM_2 = MARIANA.clone(l=45) - LIGHT_0 = hsla(220, 12, 69) - LIGHT_1 = hsla(220, 28, 88) - RED = hsla(357, 79, 65) - CORAL = hsla( 13, 93, 66) - ORANGE = hsla( 32, 93, 66) - YELLOW = hsla( 40, 94, 68) - MINT = hsla(114, 31, 68) - TEAL = hsla(180, 36, 54) - BLUE = hsla(210, 50, 60) - PURPLE = hsla(300, 30, 68) + # real RGB color HSL reference + MARIANA = rgba( 46, 56, 66) # hsla(210, 15, 22) + DARK_0 = rgba( 23, 28, 34) # MARIANA.clone(l=11) + DARK_1 = rgba( 28, 34, 40) # MARIANA.clone(l=13) + DARK_2 = rgba( 40, 48, 57) # MARIANA.clone(l=19) + MEDIUM_0 = MARIANA.clone() # MARIANA.clone() + MEDIUM_1 = rgba( 83, 99,113, 75) # MARIANA.clone(l=40, a=75) + MEDIUM_2 = rgba(179,183,187) # MARIANA.clone(l=45) + LIGHT_0 = rgba(165,172,186) # hsla(220, 12, 69) + LIGHT_1 = rgba(215,222,234) # hsla(220, 28, 88) + RED = rgba(255, 82, 96) # hsla(357, 79, 65) + CORAL = rgba(255,113, 76) # hsla( 13, 93, 66) + ORANGE = rgba(255,170, 67) # hsla( 32, 93, 66) + YELLOW = rgba(255,195, 74) # hsla( 40, 94, 68) + MINT = rgba(140,201,143) # hsla(114, 31, 68) + TEAL = rgba( 54,183,181) # hsla(180, 36, 54) + BLUE = rgba( 85,155,209) # hsla(210, 50, 60) + PURPLE = rgba(207,146,201) # hsla(300, 30, 68)