Skip to content

Commit 3518735

Browse files
committed
Fix link color overrides
1 parent 0440496 commit 3518735

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

blog/2026-07-08-react-navigation-8.0-july-progress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ We have reworked this to be significantly shorter and simpler:
151151
- }
152152
+ export interface MyTabTypeBag extends NavigatorTypeBagBase {
153153
+ State: TabNavigationState<this['ParamList']>;
154+
+ ActionHelpers: TabActionHelpers<this['ParamList']>;
154155
+ ScreenOptions: MyNavigationOptions;
155156
+ EventMap: MyNavigationEventMap;
156-
+ ActionHelpers: TabActionHelpers<this['ParamList']>;
157157
+ Navigator: typeof TabNavigator;
158158
+ }
159159
+

src/pages/home/Splash/styles.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100

101101
.button:hover,
102102
.buttonPrimary:hover {
103-
--ifm-link-color: var(--ifm-home-color-highlight);
104-
--ifm-link-decoration: none;
103+
--ifm-link-hover-color: var(--ifm-home-color-background);
104+
--ifm-link-hover-decoration: none;
105105

106106
background-color: var(--ifm-home-color-highlight);
107107
border-color: var(--ifm-home-color-highlight);
@@ -127,7 +127,7 @@
127127
}
128128

129129
.linkText:hover {
130-
--ifm-link-color: var(--ifm-home-color-text);
130+
--ifm-link-hover-color: var(--ifm-home-color-text);
131131

132132
color: var(--ifm-home-color-text);
133133
}

versioned_docs/version-8.x/upgrading-from-7.x.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ To work with the reworked TypeScript types, the type API for custom navigators h
203203
- }
204204
+ export interface MyTypeBag extends NavigatorTypeBagBase {
205205
+ State: TabNavigationState<this['ParamList']>;
206+
+ ActionHelpers: TabActionHelpers<this['ParamList']>;
206207
+ ScreenOptions: MyNavigationOptions;
207208
+ EventMap: MyNavigationEventMap;
208-
+ ActionHelpers: TabActionHelpers<this['ParamList']>;
209209
+ Navigator: typeof MyNavigator;
210210
+ }
211211
+

0 commit comments

Comments
 (0)