--corporative-color
and you’re done. All other colors adapt automatically.Create CSS file
linkage-variables.css
with your brand colorInclude before script
#2574A9
The core customization variable. Set this and the entire color palette adapts automatically.--corporative-color
, these colors are automatically generated:
Generated Variable | Purpose | Example |
---|---|---|
--mirai-ui-accent | Accent color (same as corporate) | #2574A9 |
--mirai-ui-accent-dark | Darker shade for hover states | #174868 |
--mirai-ui-accent-light | Lighter shade for backgrounds | #669EC3 |
--mirai-ui-accent-border | Border color variations | #A8C7DD |
--mirai-ui-accent-background | Background tint variations | #EDF3F8 |
--corporative-color
, the generated palette values cannot be modified individually. This ensures visual consistency and accessibility.Variable | Purpose | Default |
---|---|---|
--mirai-ui-button-background | Button background | #2574A9 |
--mirai-ui-button-background-active | Background on hover | #174868 |
--mirai-ui-button-color | Button text color | #FFFFFF |
--mirai-ui-button-color-active | Text color on hover | #FFFFFF |
Variable | Purpose | Default |
---|---|---|
--mirai-ui-button-secondary-background-active | Background on hover/active | #EDF3F8 |
--mirai-ui-button-secondary-color | Button text color | #2574A9 |
--mirai-ui-button-secondary-color-active | Text color on hover/active | #174868 |
View full CSS template
Variable | Purpose | Default |
---|---|---|
--mirai-ui-border-radius | Border radius for UI elements | 4px |
--mirai-ui-modal-layer | Z-index for modal windows | 10000 |