Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Windows high contrast modes #545

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/AppLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ const AppLogo = ({ color = "#FFF", ...props }: AppLogoProps) => {
userSelect="none"
transform="scale(0.93)"
transformOrigin="left"
color="white"
{...props}
>
{OrgLogo && (
<>
<OrgLogo color="white" />
<OrgLogo />
<Divider
aria-hidden
borderColor={color}
Expand All @@ -27,7 +28,7 @@ const AppLogo = ({ color = "#FFF", ...props }: AppLogoProps) => {
/>
</>
)}
<AppLogo h="19px" color="white" />
<AppLogo h="19px" />
</HStack>
);
};
Expand Down
3 changes: 2 additions & 1 deletion src/components/DataSamplesMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ const DataSamplesMenu = () => {
aria-label={intl.formatMessage({
id: "data-actions-menu",
})}
color="gray.800"
variant="ghost"
icon={<Icon as={MdMoreVert} color="gray.800" boxSize={7} />}
icon={<Icon as={MdMoreVert} boxSize={7} />}
isRound
/>
<Portal>
Expand Down
3 changes: 2 additions & 1 deletion src/components/DefaultPageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ export const HomeToolbarItem = () => {
return (
<IconButton
onClick={handleHomeClick}
icon={<RiHome2Line size={24} color="white" />}
color="white"
icon={<RiHome2Line size={24} />}
aria-label={intl.formatMessage({ id: "homepage" })}
variant="plain"
size="lg"
Expand Down
3 changes: 2 additions & 1 deletion src/components/HelpMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const HelpMenu = ({ ...rest }: HelpMenuProps) => {
fontSize="2xl"
h={12}
w={12}
icon={<RiQuestionLine fill="white" size={24} />}
color="white"
icon={<RiQuestionLine size={24} />}
variant="plain"
isRound
_focusVisible={{
Expand Down
3 changes: 2 additions & 1 deletion src/components/SettingsMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const SettingsMenu = () => {
aria-label={intl.formatMessage({ id: "settings-menu-action" })}
size="lg"
fontSize="2xl"
icon={<RiSettings2Line fill="white" size={24} />}
color="white"
icon={<RiSettings2Line size={24} />}
variant="plain"
isRound
h={12}
Expand Down
3 changes: 2 additions & 1 deletion src/components/ToolbarMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const ToolbarMenu = ({
<MenuButton
as={IconButton}
aria-label={label}
icon={icon ?? <RiMenuLine size={24} color="white" />}
color="white"
icon={icon ?? <RiMenuLine size={24} />}
variant={variant}
size="lg"
fontSize="xl"
Expand Down
Loading