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

Lightmode for Query Performance Toast (#5004) #5008

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions app/packages/app/src/components/QueryPerformanceToast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const hideQueryPerformanceToast = atom({
});

const QueryPerformanceToast = () => {
const [shown, setShown] = useState(true);
const [shown, setShown] = useState(false);
const [disabled, setDisabled] = useRecoilState(hideQueryPerformanceToast);
const element = document.getElementById("queryPerformance");
const theme = useTheme();
Expand Down Expand Up @@ -54,7 +54,7 @@ const QueryPerformanceToast = () => {
open(QP_MODE, "_blank")?.focus();
setOpen(false);
}}
sx={{ marginLeft: "auto", backgroundColor: theme.primary.main, color: theme.text.primary, boxShadow: 0 }} // Right align the button
sx={{ marginLeft: "auto", backgroundColor: theme.primary.main, color: "#FFFFFF", boxShadow: 0 }} // Right align the button
>
View Documentation
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ let theme = extendMuiTheme({
custom: {
shadow: "hsl(200, 0%, 90%)",
shadowDark: "hsl(200, 0%, 70%)",
lightning: "#f5b700",
toastBackgroundColor: "#333",
lightning: "hsl(25, 100%, 51%)",
toastBackgroundColor: "#FFFFFF",
},
voxel: {
500: "#FF6D04",
Expand Down
Loading