# Element should switch pallete when theme mode changes

**URL:** <https://forum.appflowy.com/t/element-should-switch-pallete-when-theme-mode-changes/81>\
**Category:** General\
**Tags:** editor\
**Created:** [August 14, 2023, 4:50am UTC](https://forum.appflowy.com/t/element-should-switch-pallete-when-theme-mode-changes/81 "2023-08-14T04:50:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmanNegi](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.appflowy.com/amannegi/32/18_2.png) [@AmanNegi](https://forum.appflowy.com/u/AmanNegi)\
**Post date:** [August 14, 2023, 4:50am UTC](https://forum.appflowy.com/t/element-should-switch-pallete-when-theme-mode-changes/81/1 "2023-08-14T04:50:39Z")

</div>

# Issue

Whenever we apply a color to an element in a theme and then switch to another theme, the color palette should automatically adjust to a more accessible combination. This ensures that text remains easily readable regardless of the chosen theme.

## Demo

![callout_issue](https://us1.discourse-cdn.com/flex016/uploads/appflowy/original/1X/cfa74c4752fb113d3b6bfe62d9281cee76141968.gif)
