88# Constants
99MAX_WIDTH = "560px"
1010FADEIN_ANIMATION = "animate__animated animate__fadeIn"
11- BOUNCEIN_ANIMATION = "animate__animated animate__bounceIn "
11+ SHAKE_ANIMATION = "animate__animated animate__shakeX "
1212
1313# Sizes
1414
1515STYLESHEETS = [
1616 "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;800&display=swap" ,
1717 "https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" ,
18- "/css/styles.css"
18+ "/css/styles.css" ,
1919]
2020
2121
@@ -40,6 +40,7 @@ class Spacing(Enum):
4040 MEDIUM_BIG = "7"
4141 VERY_BIG = "9"
4242
43+
4344# Styles
4445
4546
@@ -53,7 +54,7 @@ class Spacing(Enum):
5354 rx .heading : {
5455 "color" : TextColor .LIGHT .value ,
5556 "font_family" : Font .DEFAULT .value ,
56- "font_weight" : FontWeight .MEDIUM .value
57+ "font_weight" : FontWeight .MEDIUM .value ,
5758 },
5859 rx .button : {
5960 "width" : "100%" ,
@@ -65,17 +66,9 @@ class Spacing(Enum):
6566 "color" : Color .DARK .value ,
6667 "border" : f"1px solid { Color .LIGHT .value } " ,
6768 "box_shadow" : f"3px 3px 0px 0px { Color .LIGHT .value } " ,
68- "_hover" : {
69- "box_shadow" : "none" ,
70- "transform" : "translate(3px, 3px)"
71- }
69+ "_hover" : {"box_shadow" : "none" , "transform" : "translate(3px, 3px)" },
7270 },
73- rx .link : {
74- "color" : TextColor .LIGHT .value ,
75- "text_decoration" : "none" ,
76- ""
77- "_hover" : {}
78- }
71+ rx .link : {"color" : TextColor .LIGHT .value , "text_decoration" : "none" , "" "_hover" : {}},
7972}
8073
8174title_style = dict (
@@ -90,6 +83,6 @@ class Spacing(Enum):
9083 "box_shadow" : f"3px 3px 0px 0px { Color .LIGHT .value } " ,
9184 "_hover" : {
9285 "box_shadow" : f"6px 6px 0px 0px { Color .LIGHT .value } " ,
93- "transform" : "translate(-3px, -3px)"
94- }
86+ "transform" : "translate(-3px, -3px)" ,
87+ },
9588}
0 commit comments