|
|
|
@ -12,8 +12,6 @@ const accentLightTheme = '#00e97b';
|
|
|
|
|
const accentDarkTheme = '#00f782';
|
|
|
|
|
const borderLightThemeColor = '#f1f1f1';
|
|
|
|
|
const borderDarkThemeColor = '#ffffff0F';
|
|
|
|
|
const borderHighContrastLightTheme = '#afafaf';
|
|
|
|
|
const borderHighContrastDarkTheme = '#484848';
|
|
|
|
|
|
|
|
|
|
// const borderAvatarColor = '#00000059';
|
|
|
|
|
// const borderLightTheme = '#f1f1f1';
|
|
|
|
@ -48,113 +46,53 @@ export const lightTheme: DefaultTheme = {
|
|
|
|
|
accentButton: black,
|
|
|
|
|
warning: warning,
|
|
|
|
|
destructive: destructive,
|
|
|
|
|
cellBackground: '#fcfcfc',
|
|
|
|
|
modalBackground: '#fcfcfc',
|
|
|
|
|
fakeChatBubbleBackground: '#f5f5f5',
|
|
|
|
|
// input
|
|
|
|
|
inputBackground: '#8E8E93331F',
|
|
|
|
|
// text
|
|
|
|
|
textColor: black,
|
|
|
|
|
textColorSubtle: `${black}99`,
|
|
|
|
|
textColorSubtleNoOpacity: '#52514f',
|
|
|
|
|
textColorOpposite: white,
|
|
|
|
|
textHighlight: `${black}33`,
|
|
|
|
|
textAccent: '#00c769',
|
|
|
|
|
// inbox
|
|
|
|
|
inboxBackground: white,
|
|
|
|
|
// buttons
|
|
|
|
|
backgroundPrimary: '#272726',
|
|
|
|
|
foregroundPrimary: white,
|
|
|
|
|
buttonGreen: '#272726',
|
|
|
|
|
// conversation view
|
|
|
|
|
composeViewBackground: '#fcfcfc',
|
|
|
|
|
composeViewTextFieldBackground: '#ededed',
|
|
|
|
|
receivedMessageBackground: '#f5f5f5',
|
|
|
|
|
composeViewButtonBackground: '#efefef',
|
|
|
|
|
sentMessageBackground: accentLightTheme,
|
|
|
|
|
receivedMessageText: black,
|
|
|
|
|
sentMessageText: white,
|
|
|
|
|
sessionShadow: `0 0 4px 0 ${black}5E`,
|
|
|
|
|
sessionShadowColor: `${black}5E`,
|
|
|
|
|
// left pane
|
|
|
|
|
conversationList: white,
|
|
|
|
|
conversationItemHasUnread: '#fcfcfc',
|
|
|
|
|
conversationItemSelected: '#f0f0f0',
|
|
|
|
|
clickableHovered: '#dfdfdf',
|
|
|
|
|
sessionBorder: `1px solid ${borderLightThemeColor}`,
|
|
|
|
|
sessionBorderColor: borderLightThemeColor,
|
|
|
|
|
sessionBorderHighContrast: `1px solid ${borderHighContrastLightTheme}`,
|
|
|
|
|
sessionUnreadBorder: `4px solid ${accentLightTheme}`,
|
|
|
|
|
leftpaneOverlayBackground: white,
|
|
|
|
|
recoveryPhraseBannerBackground: white,
|
|
|
|
|
// scrollbars
|
|
|
|
|
scrollBarTrack: '#fcfcfc',
|
|
|
|
|
scrollBarThumb: '#474646',
|
|
|
|
|
// pill divider:
|
|
|
|
|
pillDividerColor: `${black}1A`,
|
|
|
|
|
pillDividerTextColor: '#555555',
|
|
|
|
|
// context menu
|
|
|
|
|
contextMenuBackground: '#f5f5f5',
|
|
|
|
|
filterSessionText: 'brightness(0) saturate(100%)',
|
|
|
|
|
lastSeenIndicatorColor: '#62656a',
|
|
|
|
|
lastSeenIndicatorTextColor: '#070c14',
|
|
|
|
|
quoteBottomBarBackground: '#f0f0f0',
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const darkTheme = {
|
|
|
|
|
export const darkTheme: DefaultTheme = {
|
|
|
|
|
common,
|
|
|
|
|
colors: {
|
|
|
|
|
accent: accentDarkTheme,
|
|
|
|
|
accentButton: accentDarkTheme,
|
|
|
|
|
warning: warning,
|
|
|
|
|
destructive: destructive,
|
|
|
|
|
cellBackground: '#1b1b1b',
|
|
|
|
|
modalBackground: '#101011',
|
|
|
|
|
fakeChatBubbleBackground: '#212121',
|
|
|
|
|
// input
|
|
|
|
|
inputBackground: '#8e8e931F',
|
|
|
|
|
// text
|
|
|
|
|
textColor: white,
|
|
|
|
|
textColorSubtle: `${white}99`,
|
|
|
|
|
textColorSubtleNoOpacity: '#7f7d7d',
|
|
|
|
|
textColorOpposite: black,
|
|
|
|
|
textHighlight: `${accentDarkTheme}99`,
|
|
|
|
|
textAccent: accentDarkTheme,
|
|
|
|
|
// inbox
|
|
|
|
|
inboxBackground: 'linear-gradient(180deg, #171717 0%, #121212 100%)',
|
|
|
|
|
// buttons
|
|
|
|
|
backgroundPrimary: '#474646',
|
|
|
|
|
foregroundPrimary: white,
|
|
|
|
|
buttonGreen: accentDarkTheme,
|
|
|
|
|
// conversation view
|
|
|
|
|
composeViewBackground: '#1b1b1b',
|
|
|
|
|
composeViewTextFieldBackground: '#141414',
|
|
|
|
|
receivedMessageBackground: '#222325',
|
|
|
|
|
composeViewButtonBackground: '#232323',
|
|
|
|
|
sentMessageBackground: accentDarkTheme,
|
|
|
|
|
receivedMessageText: white,
|
|
|
|
|
sentMessageText: black,
|
|
|
|
|
sessionShadow: `0 0 4px 0 ${white}33`,
|
|
|
|
|
sessionShadowColor: `${white}33`,
|
|
|
|
|
// left pane
|
|
|
|
|
conversationList: '#1b1b1b',
|
|
|
|
|
conversationItemHasUnread: '#2c2c2c',
|
|
|
|
|
conversationItemSelected: '#404040',
|
|
|
|
|
clickableHovered: '#414347',
|
|
|
|
|
sessionBorder: `1px solid ${borderDarkThemeColor}`,
|
|
|
|
|
sessionBorderColor: borderDarkThemeColor,
|
|
|
|
|
sessionBorderHighContrast: `1px solid ${borderHighContrastDarkTheme}`,
|
|
|
|
|
sessionUnreadBorder: `4px solid ${accentDarkTheme}`,
|
|
|
|
|
leftpaneOverlayBackground: 'linear-gradient(180deg, #171717 0%, #121212 100%)',
|
|
|
|
|
recoveryPhraseBannerBackground: '#1f1f1f',
|
|
|
|
|
// scrollbars
|
|
|
|
|
scrollBarTrack: '#1b1b1b',
|
|
|
|
|
scrollBarThumb: '#474646',
|
|
|
|
|
// pill divider:
|
|
|
|
|
pillDividerColor: '#353535',
|
|
|
|
|
pillDividerTextColor: '#a0a0a0',
|
|
|
|
|
// context menu
|
|
|
|
|
contextMenuBackground: '#212121',
|
|
|
|
|
filterSessionText: 'none',
|
|
|
|
|
lastSeenIndicatorColor: '#353535',
|
|
|
|
|
lastSeenIndicatorTextColor: '#a8a9aa',
|
|
|
|
|
quoteBottomBarBackground: '#404040',
|
|
|
|
|