From e62a2f7aeb82775d62d291abdbd3dd1bfec85e93 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 19 Sep 2026 08:17:55 -0400 Subject: [PATCH] fix: Permission select text color too dim outside nude variant (#13805) --- app/components/InputSelectPermission.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/components/InputSelectPermission.tsx b/app/components/InputSelectPermission.tsx index 395e619e0b..eee4e89d74 100644 --- a/app/components/InputSelectPermission.tsx +++ b/app/components/InputSelectPermission.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import { useTranslation } from "react-i18next"; -import styled from "styled-components"; +import styled, { css } from "styled-components"; import { s } from "@shared/styles"; import { CollectionPermission } from "@shared/types"; import type { Option } from "~/components/InputSelect"; @@ -57,6 +57,10 @@ export function InputSelectPermission(props: Props) { } const Select = styled(InputSelect)<{ $shrink?: boolean }>` - color: ${s("textSecondary")}; + ${({ nude }) => + nude && + css` + color: ${s("textSecondary")}; + `} ${({ $shrink }) => !$shrink && "margin-bottom: 16px;"} `;