fix: use frappe-ui theme colors and fixed tailwind config

This commit is contained in:
Jannat Patel
2025-12-08 10:37:31 +05:30
parent 5825bcf9b3
commit 040d74c20a
5 changed files with 16 additions and 13 deletions

View File

@@ -807,6 +807,7 @@ export const decodeEntities = (encodedString) => {
}
export const getColor = (color, shade) => {
let theme = localStorage.getItem('theme') == "light" ? "lightMode" : "darkMode"
let theme =
localStorage.getItem('theme') == 'light' ? 'lightMode' : 'darkMode'
return colorsJSON[theme][color][shade]
}
}