about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-07-04 20:54:49 +0100
committerGitHub <noreply@github.com>2024-07-04 20:54:49 +0100
commitd03dd8c8154e11bf7603ba37cf0ee5a580ec11d1 (patch)
tree1725f8ee087d4ce84d39df7a21144f653212963f /src
parentca7386967a68574c25cff27cfbdf6a06f108a481 (diff)
downloadvoidsky-d03dd8c8154e11bf7603ba37cf0ee5a580ec11d1.tar.zst
Feed interstitial tweaks (#4733)
* Swap interstitial positions

* Fix color
Diffstat (limited to 'src')
-rw-r--r--src/components/Button.tsx2
-rw-r--r--src/view/com/posts/Feed.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index ed963026c..dfdcde6ed 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -542,7 +542,7 @@ export function useSharedButtonTextStyles() {
       if (variant === 'solid' || variant === 'gradient') {
         if (!disabled) {
           baseStyles.push({
-            color: t.palette.white,
+            color: t.palette.contrast_100,
           })
         } else {
           baseStyles.push({
diff --git a/src/view/com/posts/Feed.tsx b/src/view/com/posts/Feed.tsx
index 27f75b41a..4a9b37291 100644
--- a/src/view/com/posts/Feed.tsx
+++ b/src/view/com/posts/Feed.tsx
@@ -143,7 +143,7 @@ const interstials: Record<
         variant: 'default',
       },
       key: feedInterstitialType,
-      slot: 20,
+      slot: 40,
     },
     {
       type: followInterstitialType,
@@ -151,7 +151,7 @@ const interstials: Record<
         variant: 'default',
       },
       key: followInterstitialType,
-      slot: 40,
+      slot: 20,
     },
   ],
 }