File tree Expand file tree Collapse file tree 4 files changed +28
-10
lines changed
Expand file tree Collapse file tree 4 files changed +28
-10
lines changed Original file line number Diff line number Diff line change 22pageType : home
33
44hero :
5- name : ' React Native Testing Library'
65 image :
7- src : /img/logo-light.svg
8- dark : /img/logo-dark.svg
6+ src :
7+ light : /img/logo-light.svg
8+ dark : /img/logo-dark.svg
99 tagline : Helps you to write better tests with less effort.
1010 actions :
1111 - theme : brand
Original file line number Diff line number Diff line change 22pageType : home
33
44hero :
5- name : ' React Native Testing Library'
65 image :
7- src : /img/logo-light.svg
8- dark : /img/logo-dark.svg
6+ src :
7+ light : /img/logo-light.svg
8+ dark : /img/logo-dark.svg
99 tagline : Helps you to write better tests with less effort.
1010 actions :
1111 - theme : brand
Original file line number Diff line number Diff line change 22pageType : home
33
44hero :
5- name : ' React Native Testing Library'
65 image :
7- src : /img/logo-light.svg
8- dark : /img/logo-dark.svg
6+ src :
7+ light : /img/logo-light.svg
8+ dark : /img/logo-dark.svg
99 tagline : Helps you to write better tests with less effort.
1010 actions :
1111 - theme : brand
Original file line number Diff line number Diff line change @@ -288,13 +288,31 @@ p.rspress-home-hero-text {
288288}
289289
290290/* Hero Image (Logo) Sizing */
291- [class *= 'heroImage-' ] {
291+ [class *= 'heroImage-' ],
292+ .rp-home-hero__image-img {
292293 height : 24px !important ;
293294 width : auto !important ;
294295 margin-left : 0 !important ;
295296 margin-right : auto !important ;
296297}
297298
299+ /* Hero Image Dark/Light Mode */
300+ .rp-home-hero__image-img--dark {
301+ display : none;
302+ }
303+
304+ .rp-home-hero__image-img--light {
305+ display : block;
306+ }
307+
308+ .dark .rp-home-hero__image-img--dark {
309+ display : block;
310+ }
311+
312+ .dark .rp-home-hero__image-img--light {
313+ display : none;
314+ }
315+
298316/* Feature Card Icons (Emojis) Sizing */
299317[class *= 'featureIcon-' ] {
300318 font-size : 1.5rem !important ;
You can’t perform that action at this time.
0 commit comments