session-desktop/ts/styled.d.ts

79 lines
2 KiB
TypeScript
Raw Normal View History

import 'styled-components';
declare module 'styled-components' {
export interface DefaultTheme {
2020-10-15 02:18:37 +02:00
common: {
fonts: {
sessionFontDefault: string;
sessionFontAccent: string;
sessionFontMono: string;
xs: string;
sm: string;
md: string;
lg: string;
xl: string;
};
2020-10-15 02:18:37 +02:00
margins: {
xs: string;
sm: string;
md: string;
lg: string;
2020-10-15 02:18:37 +02:00
};
animations: {
defaultDuration: string;
};
};
colors: {
accent: string;
accentButton: string;
destructive: string;
cellBackground: string;
modalBackground: string;
fakeChatBubbleBackground: string;
// input
inputBackground: string;
// text
textColor: string;
textColorSubtle: string;
textColorSubtleNoOpacity: string;
textColorOpposite: string;
textHighlight: string;
// inbox
inboxBackground: string;
// buttons
backgroundPrimary: string;
foregroundPrimary: string;
buttonGreen: string;
// conversation view
composeViewBackground: string;
composeViewTextFieldBackground: string;
receivedMessageBackground: string;
sentMessageBackground: string;
receivedMessageText: string;
sentMessageText: string;
sessionShadow: string;
sessionShadowColor: string;
// left pane
conversationList: string;
conversationItemHasUnread: string;
conversationItemSelected: string;
clickableHovered: string;
sessionBorder: string;
sessionUnreadBorder: string;
leftpaneOverlayBackground: string;
// scrollbars
scrollBarTrack: string;
scrollBarThumb: string;
// pill divider:
pillDividerColor: string;
pillDividerTextColor: string;
// context menu
contextMenuBackground: string;
filterSessionText: string;
lastSeenIndicatorColor: string;
lastSeenIndicatorTextColor: string;
quoteBottomBarBackground: string;
};
}
}