2323 --font-heading : 'Poppins' , -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, sans-serif;
2424}
2525
26+ .darkmode {
27+ --primary-color : # 432323 ;
28+ --secondary-color : # 2F5755 ;
29+ --accent-color : # 5A9690 ;
30+ --dark-color : # 2c3e50 ;
31+ --light-color : # ecf0f1 ;
32+ --white : # ffffff ;
33+ --text-dark : # 2c3e50 ;
34+ --text-light : # 7f8c8d ;
35+ background-color : black;
36+ --shadow : 0 4px 15px rgba (0 , 0 , 0 , 0.1 );
37+ --shadow-hover : 0 8px 25px rgba (0 , 0 , 0 , 0.15 );
38+ --border-radius : 12px ;
39+ --transition : all 0.3s cubic-bezier (0.4 , 0 , 0.2 , 1 );
40+ --font-primary : 'Inter' , -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, sans-serif;
41+ --font-heading : 'Poppins' , -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, sans-serif;
42+ }
43+
2644/* Import Google Fonts */
2745@import url ('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap' );
2846
@@ -39,6 +57,31 @@ body {
3957 overflow-x : hidden;
4058}
4159
60+ # theme-switch {
61+ height : 50px ;
62+ width : 50px ;
63+ padding : 0 ;
64+ border-radius : 50% ;
65+ background-color : transparent;
66+ display : flex;
67+ justify-content : center;
68+ align-items : center;
69+ position : fixed;
70+ top : 10px ;
71+ right : 20px ;
72+ border : none;
73+ }
74+
75+ # theme-switch img : last-child {
76+ display : none;
77+ }
78+ .darkmode # theme-switch img : first-child {
79+ display : none;
80+ }
81+ .darkmode # theme-switch img : last-child {
82+ display : block;
83+ }
84+
4285/* Typography */
4386h1 , h2 , h3 , h4 , h5 , h6 {
4487 font-family : var (--font-heading );
0 commit comments