🎨Style and Customization
Overview
CSS Variables
Base Variables
:root {
/* Primary colors */
--memori-primary: rgb(102, 103, 171);
--memori-primary-text: #fff;
--memori-text-color: #000;
/* Background and containers */
--memori-inner-bg: transparent;
--memori-chat-bubble-bg: #ffffff60;
--memori-blur-background: 0px;
/* Buttons */
--memori-button-bg: #fff;
--memori-button-text: #000;
--memori-button-radius: 5px;
--memori-button-padding: 0.5rem 1.5rem;
--memori-button-border-color: #d9d9d9;
--memori-button-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
/* Drawer and Modal */
--memori-drawer--width: 100%;
--memori-drawer--width--md: 80%;
--memori-drawer--width--lg: 60%;
--memori-modal--width: 100%;
--memori-modal--width--md: 80%;
/* States */
--memori-error-color: #ff4d4f;
}Customization Examples
Custom Layouts
Basic Example
Layout-Specific Styles
Responsive Customization
Component Overrides
Example: Custom Chat Bubble
Best Practices
Demo
Last updated