mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Merge pull request #2564 from yougotwill/session_scroll_button_styling
fix: add shadow to session scroll button for better visibility
This commit is contained in:
commit
2fdb612a77
3 changed files with 4 additions and 2 deletions
|
@ -13,6 +13,7 @@ const SessionScrollButtonDiv = styled.div`
|
|||
|
||||
.session-icon-button {
|
||||
background-color: var(--message-bubbles-received-background-color);
|
||||
box-shadow: var(--scroll-button-shadow);
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
|
@ -255,7 +255,6 @@ export function showInviteContactByConvoId(conversationId: string) {
|
|||
window.inboxStore?.dispatch(updateInviteContactModal({ conversationId }));
|
||||
}
|
||||
|
||||
|
||||
export function showAddModeratorsByConvoId(conversationId: string) {
|
||||
window.inboxStore?.dispatch(updateAddModeratorsModal({ conversationId }));
|
||||
}
|
||||
|
|
|
@ -55,6 +55,7 @@ export type ThemeGlobals = {
|
|||
'--shadow-color': string;
|
||||
'--drop-shadow': string;
|
||||
'--context-menu-shadow-color': string;
|
||||
'--scroll-button-shadow': string;
|
||||
|
||||
/* Path Button */
|
||||
'--button-path-default-color': string;
|
||||
|
@ -128,6 +129,7 @@ export const THEME_GLOBALS: ThemeGlobals = {
|
|||
'--shadow-color': 'var(--black-color)',
|
||||
'--drop-shadow': '0 0 4px 0 var(--shadow-color)',
|
||||
'--context-menu-shadow-color': `rgba(${hexColorToRGB(COLORS.BLACK)}, 0.22)`,
|
||||
'--scroll-button-shadow': `0 0 7px 0 rgba(${hexColorToRGB(COLORS.BLACK)}, 0.5)`,
|
||||
|
||||
'--button-path-default-color': COLORS.PATH.DEFAULT,
|
||||
'--button-path-connecting-color': COLORS.PATH.CONNECTING,
|
||||
|
|
Loading…
Reference in a new issue