{"_id":"@atatctech/mui-theme","_rev":"18-80704fdd503701ddef7176778ce84bcd","name":"@atatctech/mui-theme","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.0","author":{"name":"ATATC"},"description":"The ultimate dynamic theme switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"b9a022c591216b71d65f8b36bdea0f46d7b4f962","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-2fHc7Vbww6adDvpRrJkyx90tr5uakHUGKOcVl2Ldm38VshIdYxJtgWmVXv5VYmmhZkzNjOglMvra0ZJvHapaNA==","shasum":"86e1f2b730b01232f33faa5be8ea36d4d1166e42","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.0.tgz","fileCount":22,"unpackedSize":35269,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDuTAo6+NDoDmIETrfaguHNuPyzmic8sDGRBwivWIhiwIgO7NJeE5I7foyo8M/MQRko2+LxEHqLYF+dThLVk/PMao="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.0_1687832917002_0.6723945996608713"},"_hasShrinkwrap":false},"1.0.1":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.1","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"4f9e20b149af0dbf42a27d153c3ad0690a5af82c","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-guMnyYW0Heutl+qtRY3Ncpjm9VMNWOGWwK1+m6VUw/5nRY71tq29CyvXlVrSIlXbmUo46hMwXxZzsLOl4OgV/g==","shasum":"961b197e260d7e9547ff0091597721ce9fd9ad53","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.1.tgz","fileCount":23,"unpackedSize":36241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0Z6eiC775xK8Og9s+R2NQew2sXfwClVAI/2SF6RFoXQIgUr9ps7B+hk8ttsbu3Vro4nER4DN1D4ZknSjCaQBui+o="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.1_1687835118233_0.9717203815062481"},"_hasShrinkwrap":false},"1.0.2":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.2","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"4d7fba392fb730d3064a7e4e77065d758acd22dd","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-KcVw7M7vWjv5pcMV3Jp5c5Grs6M1UIn6M9/IsVSXLgIAjy5HBH6hIYu/r4BMVFcTzkC+nL+cPIOQ4HX3VVsJsQ==","shasum":"77f7a660dc0a86a4ddf3a5e70b3c1148bcad0465","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.2.tgz","fileCount":23,"unpackedSize":36280,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnDGwkNETkRLm6RlkwotaXeE8Uuu8PYZ7M5mnjcUxqiQIgaLBYW/KodXKrbIxyY8ES4K1kGGT2b+eluV9OkYEfX8I="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.2_1687836677257_0.4792542357773939"},"_hasShrinkwrap":false},"1.0.3":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.3","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"1fb14ed917d28ee706ae43f1d8f871732468b03f","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-ysv9ANa8vttIDcDU/m/nIcTd1yRv4GdZaZQ4p+0CXhWCGI8PD5bu8J62KVAcaN63WDjfAfzBtzs90W0Ke/V2yw==","shasum":"00debf585fba96b0b73e3e7dec2e6fc86a3c613f","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.3.tgz","fileCount":23,"unpackedSize":39252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCchgRQh3dmOQv7GfUhZQQx9JapOUeE3EGJoRhohwfx8AIgDrbis2DXbE4ZpSMZCzKxnPv3AX4cUiV/V0fVRfCUTvA="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.3_1687891896495_0.8109601955825503"},"_hasShrinkwrap":false},"1.0.4":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.4","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"f28a674e633a5e451b633fba24955066901b847b","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.4","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-g9s+haD1mU4Dsh0bFls32wDz3Z0xWY/cWkzHqQv3AH4Bw5wjjPkpqkFRboBaXSZ55w79c3mnTF+Wh8KURNmC0A==","shasum":"0c6925e3fc10328420f7eeacb3b303d996bfeb12","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.4.tgz","fileCount":23,"unpackedSize":43949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBUF2SyD9UlJg7tkDiFqOX2uK1WNZ0rH2RLXT5yqOM9WAiEA5qemVI9cJn/ixBXfZB7+fsqUE4ahsIKi7v08ecrxyTI="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.4_1687892166597_0.08512190011853815"},"_hasShrinkwrap":false},"1.0.5":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.5","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"c2ae76fdd991d1300223a4436b2f36b4fc392c31","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.5","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-s2u+8zdvJ5JiwZBYG32ZTWCQtwqz42QjSghjNQL4FaCdc06uzdNt3Gtr8LLkuJfy4VU1hUM28kNPTwZ4H/ABIQ==","shasum":"6efae9cb2af271d39fbd01b690251484cec08c07","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.5.tgz","fileCount":23,"unpackedSize":44158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwTeoYKWSqbaPBRrfb3e3E1B8vYTRwOOsIA4+7fA7X3AiBIOF4+y6GhBnuL7RJsJ/YGq+dazROA+cECsH4jos5iCA=="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.5_1687892491701_0.7161802123849719"},"_hasShrinkwrap":false},"1.0.6":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.6","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"8e9f2318f0f2d9a48cfcaaa37632d5a5fafa19ce","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.6","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-X059Jdlb17ad7LmKwuonP5F4n495VOIMH8oyJ6qgBDqETN8pwDrs2Pd+qPi7Hj0JbNl0HCCTxvy9Pl1VwrLnfg==","shasum":"6c8f4e8ac1bdbefe171d96cf6e33c2ae323bfa7f","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.6.tgz","fileCount":23,"unpackedSize":44127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMDHaTp1JMXMGOj+hifezocdzcWaL9jNO1E0aUTba0PgIhAKtw2O8skfi47PW8kxxvbgaT3+3FKR77NmR7C9mFuGWS"}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.6_1687892960743_0.4660637728057726"},"_hasShrinkwrap":false},"1.0.7":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.7","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"8696ecb13f1f84c391b276877b80245dcf27cd0c","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.7","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-3xS6VLYApuuVUUAXsp5mVB0rBBMfZU+CTAFFgH/pNf1T7BaNolSre1SsG9G4sq8Xp3ahbLljOZo18lBcMGDPfQ==","shasum":"a5bf63cb20b1ea56a086ec473c087ddd126cd7bd","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.7.tgz","fileCount":23,"unpackedSize":44305,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkH3BaD0mPGJ72tccS76rA2nqrntU+a9ITgW/VtQcVRQIgMBf9XYcg74u8FVw00jOCFWsR2zr739X/GB0ao3VAnTE="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.7_1687894427329_0.3714857105538203"},"_hasShrinkwrap":false},"1.0.8":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.8","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"a1a8e10edb698781f69d5215d79f9244d1067b89","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.8","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-6W1dbkjpo7Ub/0T61/D3GMwYwPI8hw6Xu1KXhwdwS3n35SRGWPn1RpXof0Q1qfNzwIX9InnNuVjQP3OYy1ySjA==","shasum":"77a9bedd6b7dc311f3df89d821319f9a6205c105","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.8.tgz","fileCount":23,"unpackedSize":44231,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXVjuRbrTygK7dV9yCGPbYS+6ayD4qHTsJcv8HqTkmWwIgYpikjUsvX4b3309TjUJ8LCAIluCYH8UijnY32NXlh4w="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.8_1687897317671_0.10226359283903141"},"_hasShrinkwrap":false},"1.0.9":{"name":"@atatctech/mui-theme","type":"module","version":"1.0.9","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"fe6b886794355383848372728e68967a2e329fe7","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.0.9","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-hIfUESZT1jtWyn8nf7Oc2q5cOM2cwffnurWDcFe/Ug7I8oEc/9gZYAqvDlAGrFpycuvZv6YSpKc5h0863ILv/w==","shasum":"7df31b2f675d26e2ba4072fd1d8a50bf39fe48ea","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.0.9.tgz","fileCount":23,"unpackedSize":44227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBuZU08oIUTijXnXZvXYXTuXIqJYKnTYd5dj/2H6lV5/AiEA4Ro0tY5yNi6JCkTgaUwgd9eOp+/SbUZZBlLgFazCpw8="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.0.9_1687897675449_0.5661797189177802"},"_hasShrinkwrap":false},"1.1.0":{"name":"@atatctech/mui-theme","type":"module","version":"1.1.0","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"71a370e41f15c9a211e93f999aac98a1f18671cf","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-sIsqKUHGa+0ILLBoWLftRlk5Mtx8NWa73WZICb3M+bw5018qirB9aZV68umkvv8RU3ad6p6Uo5SgkO4LbRS89A==","shasum":"ebf58a621e3000d2353f5e5bfffc1e54cfff0336","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.1.0.tgz","fileCount":23,"unpackedSize":44263,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvd9Wy5evZP7fBbYfLkgrGP3is+qehxz2q9heSOZAlRAiB3Wo/u/enyris1mr6TBQe2ZxsrISgrtP+dj0f0YlkYyw=="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.1.0_1687904631134_0.8900742396576675"},"_hasShrinkwrap":false},"1.1.1":{"name":"@atatctech/mui-theme","type":"module","version":"1.1.1","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"bcddd0dac5f720e781c7f52b90f2c304c85f7ae1","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.1.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-sdF+XHzGTJGKDmIAypcwS/nllDtPZ9Kvml3DZLBifX4BnysZjq/QqbcdeMKcm9ueNtuJc4aiP6cMURBVLkki1g==","shasum":"396c0a0f543979618e7ec8be01863d8c6f042ddf","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.1.1.tgz","fileCount":23,"unpackedSize":48372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP/b0ewSsOPy5Ju9HZsyX+EQfpm7RZ4EHkGJSFMLNMagIhANdVsQSkITashaGS/oxITJNGGfFOMVCpVJuaSzCImVY3"}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.1.1_1687906102090_0.7858481130388304"},"_hasShrinkwrap":false},"1.1.2":{"name":"@atatctech/mui-theme","type":"module","version":"1.1.2","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"b84a153cecfced3ac37bb200e04d7375c51abdc5","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.1.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-HhbalL0hrSxYe63G/JXObbgagDnOY+PgSa0k2yw7mR4NRDxVz4PJntcIHwn3IL3PTAzKyGXdzUs9wLi+bftjwQ==","shasum":"4919c85816d469cc4928e61a0a2d0a2147440723","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.1.2.tgz","fileCount":23,"unpackedSize":49755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElEJT5I5e94nABVwrCO2KjwKkBeDR333dfmcqV/9SJAAiEA9HZw4J12SfuxZZRdktKO/vXAuL/5Drn6SbLwCa/iDbs="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.1.2_1687906838285_0.8506495050409266"},"_hasShrinkwrap":false},"1.1.3":{"name":"@atatctech/mui-theme","type":"module","version":"1.1.3","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"cd2168ea1b094aab54af4af84e2d9d4bffd9a154","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.1.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-nu2i98ANVkz9DQ9VzUjgDcmnra10c22Gkq1Bgnuv0LTAuLtWoMRUXiG/vPJ4Z/jF3l59RW4yXzA7j1jkYnWxRg==","shasum":"0817ee361994e96045cd557973631f1da9ad04cc","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.1.3.tgz","fileCount":23,"unpackedSize":52594,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMDUcw89K6TZsMnt1oGBJOlXhkzGFCEVc7iU/VbwnAHgIhANIWSe493a2jElORkk4scbTEoEF5wCzAbmB86EgyKtlF"}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.1.3_1689656992639_0.598844425318334"},"_hasShrinkwrap":false},"1.1.4":{"name":"@atatctech/mui-theme","type":"module","version":"1.1.4","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.13.6","axios":"^1.4.0","eslint":"8.43.0","react":"^18.2.0","react-cookie":"^4.1.1","typescript":"^5.0.4"},"gitHead":"21cb5a86507d5e4b150928a3755351a0f364ff57","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_id":"@atatctech/mui-theme@1.1.4","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Zu3g3Y80N3OAB5AQif5yYMrroakLRkE+9IFgrLJsmKmuhbQvcvymje8KLbth+oaZbqlJZFFEFGabOD4qAlkgbg==","shasum":"c131971e883148640aa88ebec6068dd5b6bb7db3","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.1.4.tgz","fileCount":23,"unpackedSize":52912,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSj7l8icG49X33r1kYOzT8RxCAYmoVNjH2XBDevqVgOQIhAJRmKSWj/5/GUvHEgPtXcIAML9akwql+roY/dNgY4MpZ"}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.1.4_1689658936808_0.2800981244874299"},"_hasShrinkwrap":false},"1.1.5":{"name":"@atatctech/mui-theme","type":"module","version":"1.1.5","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.15.17","eslint":"^8.43.0","react":"^18.3.1","react-cookie":"^4.1.1","typescript":"^5.4.5"},"_id":"@atatctech/mui-theme@1.1.5","gitHead":"5fb9db725257d14c2d60f8de24dc31b5e798f151","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Uxh3Omn0lFGwiE/waXsGImN4BCdjXzLrW1pHiylv8NUnG6nZaJo3tf9YadVhKzonKPZD6yXxeMZLN9XsCyIzBA==","shasum":"6a42dac15d8d005a06b27c72ae9b5a280c670cfb","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.1.5.tgz","fileCount":23,"unpackedSize":52903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9etiQ1i5kI2qVweyKgIjCydRZ3Bwm2TfXs4NLnlP6pAiAJCRj+TYjSDCUB0YXSRT7B0DBNE4jtOv5eLtG/22O9KA=="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.1.5_1715635969523_0.8970209301694259"},"_hasShrinkwrap":false},"1.2.0":{"name":"@atatctech/mui-theme","type":"module","version":"1.2.0","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.15.17","eslint":"^8.43.0","react":"^18.3.1","react-cookie":"^4.1.1","typescript":"^5.4.5"},"_id":"@atatctech/mui-theme@1.2.0","gitHead":"50477564f69f15771629e1f37d22affa856023fd","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-F8a8fDXWRGICzGV+mhEAwzTigDiPixr+5HrSY16H7o3gBPoCvK8q1ynTJTb35Zzy1u6i7lWO37YYEva8dTMaKA==","shasum":"cd4d9f2291d08f1ff79a425c4282d08883b3a2d9","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.2.0.tgz","fileCount":23,"unpackedSize":52722,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6gotkbZAxHalz7bHCHUt3f0TU75uWi39Bgw+nw2As3AiA7xBLEzhLKUoZ9I1KjCCCe0vY3C0jwTzswc+GjBM5+sg=="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.2.0_1715636440555_0.41316736540572996"},"_hasShrinkwrap":false},"1.2.1":{"name":"@atatctech/mui-theme","type":"module","version":"1.2.1","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.15.17","eslint":"^8.43.0","react":"^18.3.1","react-cookie":"^4.1.1","typescript":"^5.4.5"},"_id":"@atatctech/mui-theme@1.2.1","gitHead":"42594f6894ba70527db52b1fabe9a8bef292e3e4","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-0slTTD5/4IstQcikoD/8nU3/6VRPhOk6Mu/yQIMJ1PEI6ENxoyEg7gNj2unSod9ppPqKZG3eEMviLqaBEjuzjQ==","shasum":"513a7a6e7111c9aa26ed7a2ea9138fc418b5b4d6","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.2.1.tgz","fileCount":23,"unpackedSize":52852,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpy4FDFMfOFEvhhWXKUbII3X1SeEdI0AI5FJcbuZBgRAiBIUuZHZ/3Nd2rYAZezM+mtx4T8+oNFHu2kuAlgTb2ezw=="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.2.1_1715636687038_0.9711386916210827"},"_hasShrinkwrap":false},"1.2.2":{"name":"@atatctech/mui-theme","type":"module","version":"1.2.2","author":{"name":"ATATC"},"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"license":"The Apache License, Version 2.0","homepage":"https://github.com/ATATCTech/mui-theme","main":"./src/index.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"ts-node":"^10.9.1"},"publishConfig":{"access":"public"},"dependencies":{"@mui/material":"^5.15.17","eslint":"^8.43.0","react":"^18.3.1","react-cookie":"^4.1.1","typescript":"^5.4.5"},"_id":"@atatctech/mui-theme@1.2.2","gitHead":"66a4bc7776723c1c6436fdb63c9c92b75a39ec92","bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-CdJlWcEhomUAxCbq+5tm6YsDLkeIQHcVblKN76kQZAwapu/zE4mAUn5R/J53/N8rGp1EgTyRovOOWd2HhrNAJw==","shasum":"7efe4b25f6b575b3cb72d57be64e226e21d81742","tarball":"https://registry.npmjs.org/@atatctech/mui-theme/-/mui-theme-1.2.2.tgz","fileCount":23,"unpackedSize":52903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwpdDok2Do8LPoQW4eAhwJ7Squeoyoz/J/d422nq3vnAiEAu++fH519SsjX+nH5vQtTXLhuvfP5IfSw6GbjxlhlWSU="}]},"_npmUser":{"name":"atatc","email":"futerry@outlook.com"},"directories":{},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mui-theme_1.2.2_1715642218622_0.5740018572842698"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-27T02:28:36.860Z","1.0.0":"2023-06-27T02:28:37.246Z","modified":"2024-05-13T23:16:58.958Z","1.0.1":"2023-06-27T03:05:18.475Z","1.0.2":"2023-06-27T03:31:17.445Z","1.0.3":"2023-06-27T18:51:36.657Z","1.0.4":"2023-06-27T18:56:06.768Z","1.0.5":"2023-06-27T19:01:31.908Z","1.0.6":"2023-06-27T19:09:20.946Z","1.0.7":"2023-06-27T19:33:47.523Z","1.0.8":"2023-06-27T20:21:57.854Z","1.0.9":"2023-06-27T20:27:55.642Z","1.1.0":"2023-06-27T22:23:51.338Z","1.1.1":"2023-06-27T22:48:22.281Z","1.1.2":"2023-06-27T23:00:38.517Z","1.1.3":"2023-07-18T05:09:52.873Z","1.1.4":"2023-07-18T05:42:17.037Z","1.1.5":"2024-05-13T21:32:49.685Z","1.2.0":"2024-05-13T21:40:40.722Z","1.2.1":"2024-05-13T21:44:47.214Z","1.2.2":"2024-05-13T23:16:58.760Z"},"maintainers":[{"name":"atatc","email":"futerry@outlook.com"}],"description":"The ultimate dynamic theme-switching solution for MUI that adapts to SSR.","homepage":"https://github.com/ATATCTech/mui-theme","keywords":["mui","material-ui","theme","theme-switching","dark","dark-mode","react","ssr","nextjs"],"repository":{"type":"git","url":"git+https://github.com/ATATCTech/mui-theme.git"},"author":{"name":"ATATC"},"bugs":{"url":"https://github.com/ATATCTech/mui-theme/issues"},"license":"The Apache License, Version 2.0","readme":"# mui-theme\n\nThe ultimate dynamic theme-switching solution for MUI that adapts to SSR.\n\n## Installation\n\n```shell\nnpm i @atatctech/mui-theme\n```\n\n## Usage\n\n### Quick Start\n\n```tsx\nfunction App(): ReactNode {\n    return (\n        <Theme>\n            {/*Your Application*/}\n        </Theme>\n    );\n}\n```\n\nNote that by default the component ignores cookie settings. You will have to use `useThemeMode()`\nor `useThemeConfigID()` which load settings from cookies automatically. Using cookie hooks is also applicable.\n\n### Dynamic Control\n\n```tsx\nfunction App(): ReactNode {\n    const [themeMode, setThemeMode, systemThemeMode] = useThemeMode();\n    return (\n        <Theme themeMode={themeMode}>\n            {/*Your Application*/}\n        </Theme>\n    );\n}\n```\n\n### Cookies\n\n```tsx\nimport {useThemeConfigIDCookie} from \"./mode\";\n\nconst [getTMC, setTMC, removeTMC] = useThemeModeCookie();\nconst [getTCC, setTCC, removeTCC] = useThemeConfigIDCookie();\n```\n\n### Source Level\n\n1. Prop `themeMode`\n2. Cookie\n3. System Setting\n\n### Theme Config\n\n```tsx\nfunction App(): ReactNode {\n    const [themeMode, setThemeMode, systemThemeMode] = useThemeMode();\n    return (\n        <Theme themeMode={themeMode} themeConfig={cambridgeBlueThemeConfig}>\n            {/*Your Application*/}\n        </Theme>\n    );\n}\n```\n\n#### Dynamic Theme Config\n\nThere are two ways to implement dynamic theme config switching.\n\n```tsx\nfunction App(): ReactNode {\n    const [themeConfig, setThemeConfig] = useState(defaultThemeConfig);\n    return (\n        <Theme themeConfig={themeConfig}>\n            {/*Your Application*/}\n        </Theme>\n    );\n}\n```\n\n```tsx\nfunction App(): ReactNode {\n    const [themeConfigID, setThemeConfigID] = useThemeConfigID();\n    const themeConfigMapping = (id: string) => {\n        switch (id) {\n            case \"winter\":\n                return winterThemeConfig;\n            default:\n                return defaultThemeConfig;\n        }\n    };\n    return (\n        <DynamicTheme themeConfigID={themeConfigID} themeConfigMapping={themeConfigMapping}>\n            {/*Your Application*/}\n        </DynamicTheme>\n    );\n}\n```\n\nThe second one is more convenient when it comes to `Select`-controlled theme switching.\n\n### Custom Theme Config\n\nTo make it capable with Material-UI, you will have to define at least the following:\n\n- Primary and secondary color under light mode\n- Primary and secondary color under dark mode\n\nFor each color mentioned, you will have to define three variants that are `light`, `main`, `dark`, and `contrastText`,\nwhere `contrastText` means the opposite of normal text color under that mode. For instance, as normally texts are black\nunder light mode, the `contrastText` would be white.\n\nThe following example shows how to define a theme config in TypeScript.\n\n```tsx\nconst defaultThemeConfig: ThemeConfig = (mode: StrictThemeMode) => ({\n    palette: {\n        mode,\n        ...(mode === 'light'\n            ? {\n                primary: {\n                    light: \"#BBE5ED\",\n                    main: \"#2F9CB1\",\n                    dark: \"#1A5561\",\n                    contrastText: \"#fff\"\n                },\n                secondary: {\n                    light: \"#BFBCCB\",\n                    main: \"#B399A2\",\n                    dark: \"#986C6A\",\n                    contrastText: \"#fff\"\n                },\n            }\n            : {\n                primary: {\n                    light: \"#BBE5ED\",\n                    main: \"#2F9CB1\",\n                    dark: \"#1A5561\",\n                    contrastText: \"#000\"\n                },\n                secondary: {\n                    light: \"#BFBCCB\",\n                    main: \"#B399A2\",\n                    dark: \"#986C6A\",\n                    contrastText: \"#000\"\n                },\n            }),\n    }\n});\n```\n","readmeFilename":"README.md"}