expose templateLoader to window,

fix styles
This commit is contained in:
HF 2024-02-05 00:07:25 +01:00
parent 99f07115b3
commit 1e8927d93c
6 changed files with 11 additions and 9 deletions

View File

@ -2,7 +2,8 @@
* sends events via window.pixelPlanetEvents to potential * sends events via window.pixelPlanetEvents to potential
* Extensions and Userscripts * Extensions and Userscripts
* Also check out ui/PixelTransferController.js, which sends received * Also check out ui/PixelTransferController.js, which sends received
* pixels to a window.registerPixelUpdates callback * pixels to a window.registerPixelUpdates callback
* And check ui/templateLoader.js,which is also at window.templateLoader
* *
*/ */

View File

@ -134,11 +134,11 @@ h3, h4 {
background-color: hsla(216, 4%, 74%, .3); background-color: hsla(216, 4%, 74%, .3);
} }
.modalinfo { .modalinfo, .tmpitm-desc span {
color: #ddd; color: #ddd;
} }
.modalcvtext { .modalcvtext, .tmpitm-desc {
color: hsla(220, 100%, 95.3%, 0.6); color: hsla(220, 100%, 95.3%, 0.6);
} }

View File

@ -189,13 +189,13 @@ tr:nth-child(odd) {
} }
.modalinfo { .modalinfo, .tmpitm-desc span {
color: #c9abab; color: #c9abab;
font-size: 20px; font-size: 20px;
font-weight: 500, bold; font-weight: 500, bold;
} }
.modalcvtext { .modalcvtext, .tmpitm-desc {
color: #e2e2e2; color: #e2e2e2;
} }

View File

@ -139,11 +139,11 @@ h3, h4 {
background-color: hsla(216, 4%, 74%, .3); background-color: hsla(216, 4%, 74%, .3);
} }
.modalinfo { .modalinfo, .tmpitm-desc span {
color: #ddd; color: #ddd;
} }
.modalcvtext { .modalcvtext, .tmpitm-desc {
color: hsla(220, 100%, 95.3%, 0.6); color: hsla(220, 100%, 95.3%, 0.6);
} }

View File

@ -117,11 +117,11 @@ h3, h4 {
background-color: #404040; background-color: #404040;
} }
.modalinfo { .modalinfo, .tmpitm-desc span {
color: #ddd; color: #ddd;
} }
.modalcvtext { .modalcvtext, .tmpitm-desc {
color: hsla(220, 100%, 95.3%, 0.6); color: hsla(220, 100%, 95.3%, 0.6);
} }

View File

@ -292,5 +292,6 @@ class TemplateLoader {
} }
const templateLoader = new TemplateLoader(); const templateLoader = new TemplateLoader();
window.templateLoader = templateLoader;
export default templateLoader; export default templateLoader;