Add basic support for registering custom icons that override icons provided by the system/modules

This commit is contained in:
Oliver 2026-02-09 23:06:51 -07:00
parent c90137b18f
commit c7541db1d9
9 changed files with 279 additions and 6 deletions

View file

@ -0,0 +1,34 @@
.oft.StatusEffectIconConfig {
.effect-list {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 16px;
}
.effect {
display: flex;
flex-direction: row;
gap: 8px;
align-items: center;
margin: 0;
.preview {
--size: 30px;
width: var(--size);
height: var(--size);
display: flex;
justify-content: center;
align-items: center;
}
h2 {
margin: 0;
font-size: 1rem;
font-family: var(--font-body);
flex-grow: 1;
}
}
}