You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's this code from autogpt_platform/frontend/src/components/ui/icons.tsx
/*** Generates an array of JSX elements representing star icons based on the average rating.** @param avgRating - The average rating (0 to 5)* @returns An array of star icons as JSX elements*/exportfunctionStarRatingIcons(avgRating: number): JSX.Element[]{conststars: JSX.Element[]=[];constrating=Math.max(0,Math.min(5,avgRating));for(leti=1;i<=5;i++){if(i<=rating){stars.push(<IconStarFilledkey={i}className="text-black"/>);}else{stars.push(<IconStarkey={i}className="text-black"/>);}}returnstars;}
Though we just removed the dark mode toggle for todays release, so you'd need to add the dark mode toggle back in to be able to test these changes.
We will include dark mode again when all the pages look good in dark mode
Describe your issue.
Star icons are not visible when in dark mode. Please update so that the color is the same as the neighboring elements
The text was updated successfully, but these errors were encountered: