mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
feat: support ".login-panel-dark" CSS for signup/login pages (#3269)
* feat: add custom dark mode CSS for login and registration forms. * refactor: extract dark theme check to Setting.js
This commit is contained in:
@ -1557,3 +1557,7 @@ export function getCurrencyText(product) {
|
||||
return "(Unknown currency)";
|
||||
}
|
||||
}
|
||||
|
||||
export function isDarkTheme(themeAlgorithm) {
|
||||
return themeAlgorithm && themeAlgorithm.includes("dark");
|
||||
}
|
||||
|
Reference in New Issue
Block a user