@codebit-programando-solucoes/codebit-web-antd 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.css +11 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -943,10 +943,10 @@ var __webpack_exports__ = {};
|
|
|
943
943
|
(0, external_react_.useEffect)(()=>{
|
|
944
944
|
const rootElement = document.getElementById('root');
|
|
945
945
|
if (isDarkMode) {
|
|
946
|
-
document.
|
|
946
|
+
document.documentElement.classList.add('dark-theme');
|
|
947
947
|
rootElement.classList.add('dark-theme');
|
|
948
948
|
} else {
|
|
949
|
-
document.
|
|
949
|
+
document.documentElement.classList.remove('dark-theme');
|
|
950
950
|
rootElement.classList.remove('dark-theme');
|
|
951
951
|
}
|
|
952
952
|
document.documentElement.style.setProperty('--color-primary', isDarkMode ? '#589C75' : '#29D266');
|
package/dist/index.css
CHANGED