You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
218 lines
7.3 KiB
TypeScript
218 lines
7.3 KiB
TypeScript
// Default Theme should be Classic Dark
|
|
export type ThemeColorVariables = {
|
|
'--danger-color': string;
|
|
'--disabled-color': string;
|
|
|
|
/* Backgrounds */
|
|
'--background-primary-color': string;
|
|
'--background-secondary-color': string;
|
|
|
|
/* Text */
|
|
'--text-primary-color': string;
|
|
'--text-secondary-color': string;
|
|
'--text-selection-color': string;
|
|
|
|
/* Borders */
|
|
'--border-color': string;
|
|
|
|
/* Text Box */
|
|
'--text-box-background-color': string;
|
|
'--text-box-text-control-color': string;
|
|
'--text-box-text-user-color': string;
|
|
'--text-box-border-color': string;
|
|
|
|
/* Message Bubbles */
|
|
'--message-bubbles-sent-background-color': string;
|
|
'--message-bubbles-received-background-color': string;
|
|
'--message-bubbles-sent-text-color': string;
|
|
'--message-bubbles-received-text-color': string;
|
|
|
|
/* Menu Button */
|
|
'--menu-button-background-color': string;
|
|
'--menu-button-background-hover-color': string;
|
|
'--menu-button-icon-color': string;
|
|
'--menu-button-icon-hover-color': string;
|
|
'--menu-button-border-color': string;
|
|
'--menu-button-border-hover-color': string;
|
|
|
|
/* Chat (Interaction) Buttons */
|
|
/* Also used for Reaction Bar Buttons */
|
|
/* Used for Link Preview Attachment Icons */
|
|
/* Used for Media Grid Item Play Button */
|
|
'--chat-buttons-background-color': string;
|
|
'--chat-buttons-background-hover-color': string;
|
|
'--chat-buttons-icon-color': string;
|
|
|
|
/* Settings Tabs */
|
|
'--settings-tab-background-color': string;
|
|
'--settings-tab-background-hover-color': string;
|
|
'--settings-tab-background-selected-color': string;
|
|
'--settings-tab-text-color': string;
|
|
|
|
/* Buttons */
|
|
/* Outline (Default) */
|
|
'--button-outline-background-color': string;
|
|
'--button-outline-background-hover-color': string;
|
|
'--button-outline-text-color': string;
|
|
'--button-outline-text-hover-color': string;
|
|
'--button-outline-border-color': string;
|
|
'--button-outline-border-hover-color': string;
|
|
'--button-outline-disabled-color': string;
|
|
|
|
/* Solid */
|
|
/* Also used for Pills */
|
|
'--button-solid-background-color': string;
|
|
'--button-solid-background-hover-color': string;
|
|
'--button-solid-text-color': string;
|
|
'--button-solid-text-hover-color': string;
|
|
/* Solid buttons stay the same and rely on the disabled pointer */
|
|
'--button-solid-disabled-color': string;
|
|
'--button-solid-shadow-color': string;
|
|
|
|
/* Ghost */
|
|
'--button-ghost-background-color': string;
|
|
'--button-ghost-background-hover-color': string;
|
|
/* Ghost buttons don't change color and use a disabled pointer instead */
|
|
'--button-ghost-disabled-color': string;
|
|
|
|
/* Simple */
|
|
'--button-simple-text-color': string;
|
|
'--button-simple-disabled-color': string;
|
|
|
|
/* Icons */
|
|
'--button-icon-background-color': string;
|
|
'--button-icon-stroke-color': string;
|
|
'--button-icon-stroke-hover-color': string;
|
|
'--button-icon-stroke-selected-color': string;
|
|
|
|
/* Conversation Tab */
|
|
/* This is also user for Overlay Tabs, Contact Rows, Convesation List Items,
|
|
Message Search Results, Message Requests Banner, Member List Item,
|
|
Contact List Items, Message Right Click Highlighting etc. */
|
|
'--conversation-tab-background-color': string;
|
|
'--conversation-tab-background-hover-color': string;
|
|
'--conversation-tab-background-selected-color': string;
|
|
'--conversation-tab-background-unread-color': string;
|
|
'--conversation-tab-text-color': string;
|
|
'--conversation-tab-text-selected-color': string;
|
|
'--conversation-tab-text-unread-color': string;
|
|
'--conversation-tab-text-secondary-color': string;
|
|
'--conversation-tab-bubble-background-color': string;
|
|
'--conversation-tab-bubble-text-color': string;
|
|
'--conversation-tab-color-strip-color': string;
|
|
|
|
/* Search Bar */
|
|
'--search-bar-background-color': string;
|
|
'--search-bar-text-control-color': string;
|
|
'--search-bar-text-user-color': string;
|
|
'--search-bar-icon-color': string;
|
|
'--search-bar-icon-hover-color': string;
|
|
|
|
/* Scroll Bars */
|
|
'--scroll-bar-track-color': string;
|
|
'--scroll-bar-thumb-color': string;
|
|
'--scroll-bar-thumb-hover-color': string;
|
|
|
|
/* Zoom Bar */
|
|
'--zoom-bar-track-color': string;
|
|
'--zoom-bar-thumb-color': string;
|
|
'--zoom-bar-interval-color': string;
|
|
|
|
/* Toggle Switch */
|
|
'--toggle-switch-ball-color': string;
|
|
'--toggle-switch-ball-shadow-color': string;
|
|
'--toggle-switch-off-background-color': string;
|
|
'--toggle-switch-off-border-color': string;
|
|
'--toggle-switch-on-background-color': string;
|
|
'--toggle-switch-on-border-color': string;
|
|
|
|
/* Unread Messages Alert */
|
|
/* Also used for MentionAtSymbol */
|
|
'--unread-messages-alert-background-color': string;
|
|
'--unread-messages-alert-text-color': string;
|
|
|
|
/* Color Mode Button */
|
|
'--button-color-mode-stroke-color': string;
|
|
'--button-color-mode-hover-color': string;
|
|
'--button-color-mode-fill-color': string;
|
|
|
|
/* Emoji Reaction Bar */
|
|
'--emoji-reaction-bar-background-color': string;
|
|
/* NOTE only used for + icon */
|
|
'--emoji-reaction-bar-icon-background-color': string;
|
|
'--emoji-reaction-bar-icon-color': string;
|
|
|
|
/* Modals */
|
|
'--modal-background-content-color': string;
|
|
'--modal-text-color': string;
|
|
'--modal-text-danger-color': string;
|
|
|
|
/* Toasts */
|
|
'--toast-background-color': string;
|
|
'--toast-text-color': string;
|
|
'--toast-color-strip-color': string;
|
|
'--toast-progress-color': string;
|
|
|
|
/* Right Panel Items */
|
|
/* Also used for Session Dropdown */
|
|
'--right-panel-item-background-color': string;
|
|
'--right-panel-item-background-hover-color': string;
|
|
'--right-panel-item-text-color': string;
|
|
|
|
/* Session Text Logo */
|
|
/* Loads SVG as IMG and uses a filter to change color */
|
|
'--session-logo-text-light-filter': string;
|
|
'--session-logo-text-dark-filter': string;
|
|
'--session-logo-text-current-filter': string;
|
|
|
|
/* Right Click / Context Menu) */
|
|
'--context-menu-background-color': string;
|
|
'--context-menu-background-hover-color': string;
|
|
'--context-menu-text-color': string;
|
|
'--context-menu-text-hover-color': string;
|
|
|
|
/* Suggestions i.e. Mentions and Emojis */
|
|
'--suggestions-background-color': string;
|
|
'--suggestions-background-hover-color': string;
|
|
'--suggestions-text-color': string;
|
|
'--suggestions-shadow': string;
|
|
|
|
/* Inputs */
|
|
/* Also used for some TextAreas */
|
|
'--input-background-color': string;
|
|
'--input-background-hover-color': string;
|
|
'--input-text-placeholder-color': string;
|
|
'--input-text-color': string;
|
|
'--input-border-color': string;
|
|
|
|
/* In Call Container */
|
|
'--in-call-container-background-color': string;
|
|
'--in-call-container-text-color': string;
|
|
|
|
/* Call Buttons */
|
|
'--call-buttons-background-color': string;
|
|
'--call-buttons-background-hover-color': string;
|
|
'--call-buttons-background-disabled-color': string;
|
|
'--call-buttons-action-background-color': string;
|
|
'--call-buttons-action-background-hover-color': string;
|
|
'--call-buttons-action-icon-color': string;
|
|
'--call-buttons-icon-color': string;
|
|
'--call-buttons-icon-disabled-color': string;
|
|
'--call-buttons-dropdown-color': string;
|
|
'--call-buttons-dropdown-shadow': string;
|
|
|
|
/* File Dropzone */
|
|
'--file-dropzone-background-color': string;
|
|
'--file-dropzone-border-color': string;
|
|
|
|
/* Session Recording */
|
|
'--session-recording-pulse-color': string;
|
|
|
|
/* HTML Renderer */
|
|
/**
|
|
* This isn't good, but we want the span color to be
|
|
* `--primary-color` on dark themes and `--text-primary-color` on light themes
|
|
*/
|
|
'--renderer-span-primary-color': string;
|
|
};
|