fix: use frappe-ui theme colors and fixed tailwind config
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user