Add basic support for registering custom icons that override icons provided by the system/modules
This commit is contained in:
parent
c90137b18f
commit
c7541db1d9
9 changed files with 279 additions and 6 deletions
34
styles/apps/StatusEffectIconConfig.css
Normal file
34
styles/apps/StatusEffectIconConfig.css
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
8
styles/apps/common.css
Normal file
8
styles/apps/common.css
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.application.oft {
|
||||
> .window-content.standard-form .setting-list {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue