Skip to content

Commit d8c5515

Browse files
committed
style: improved cfx.re login button on light theme + missing change
1 parent c38298d commit d8c5515

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

panel/src/hooks/pages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const useSetPageTitle = () => {
5252
};
5353
}
5454

55-
export const pageTitleWatcher = atomEffect((get, set) => {
55+
export const pageTitleWatcher: ReturnType<typeof atomEffect> = atomEffect((get, set) => {
5656
if (!window.txConsts.isWebInterface) return;
5757
const pageTitle = get(pageTitleAtom);
5858
const globalStatus = get(globalStatusAtom);

panel/src/pages/auth/cfxreLoginButton.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
.cfxrebtn {
22
border: solid 2px #f40552;
3-
background: #2e1828b2;
3+
background: #f5dcee7d;
44
box-shadow: 0 0 5px 0 rgba(244, 5, 82, 0.75);
55
}
6+
.dark .cfxrebtn {
7+
background: #2e1828b2;
8+
}
69
.cfxrebtn:hover {
710
background-color: #f40552;
811
}

0 commit comments

Comments
 (0)