File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22: root {
33 --bg-color : # fafafa ;
44 --text-color : # 333 ;
5+ --logo-color : # 010101 ;
56 --card-bg : white;
67 --grid-color : rgba (0 , 0 , 0 , 0.03 );
78 --shadow-color : rgba (0 , 0 , 0 , 0.05 );
1112[data-theme = "dark" ] {
1213 --bg-color : # 1a1a1a ;
1314 --text-color : # e1e1e1 ;
15+ --logo-color : # ffffff ;
1416 --card-bg : # 2a2a2a ;
1517 --grid-color : rgba (255 , 255 , 255 , 0.03 );
1618 --shadow-color : rgba (0 , 0 , 0 , 0.2 );
5658.logo {
5759 height : 24px ;
5860 width : auto;
59- color : var (--text-color );
61+ transition : filter 0.3s ease;
62+ }
63+
64+ [data-theme = "dark" ] .logo {
65+ filter : invert (1 );
6066}
6167
6268/* Dark mode toggle */
8995 display : flex;
9096 align-items : center;
9197 justify-content : center;
92- background-image : url ("svg /sun-icon.svg" );
98+ background-image : url ("images /sun-icon.svg" );
9399 background-size : 16px ;
94100 background-position : center;
95101 background-repeat : no-repeat;
102108.theme-toggle [aria-checked = "true" ]::before {
103109 transform : translateX (32px );
104110 background-color : # 2d3748 ;
105- background-image : url ("svg /moon-icon.svg" );
111+ background-image : url ("images /moon-icon.svg" );
106112}
107113
108114/* Product list */
You can’t perform that action at this time.
0 commit comments