refactor(quota): swap percent fg/bg colors

Amolith created

Assisted-by: Claude Opus 4.5 via Crush

Change summary

functions/synu.fish | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Detailed changes

functions/synu.fish 🔗

@@ -16,13 +16,13 @@ function synu --description "Universal agent wrapper with Synthetic API quota tr
         set -l percent_used (math -s0 "$requests * 100 / $limit")
         printf "Usage: "
         if test $percent_used -lt 33
-            set_color green
+            set_color -b green black
         else if test $percent_used -lt 67
-            set_color yellow
+            set_color -b yellow black
         else
-            set_color red
+            set_color -b red black
         end
-        printf "%s%%" $percent_used
+        printf " %s%% " $percent_used
         set_color normal
         printf " (%s/%s remaining)\n" $remaining $limit
         return 0
@@ -168,13 +168,13 @@ function synu --description "Universal agent wrapper with Synthetic API quota tr
     # Determine color based on usage percentage
     # Green: <33%, Yellow: 33-66%, Red: >66%
     if test $percent_used -lt 33
-        set_color green
+        set_color -b green black
     else if test $percent_used -lt 67
-        set_color yellow
+        set_color -b yellow black
     else
-        set_color red
+        set_color -b red black
     end
-    printf "%s%%" $percent_used
+    printf " %s%% " $percent_used
     set_color normal
     printf " (%s/%s remaining)\n" $remaining $limit