refactor(create-board-modal): replace hardcoded styles with theme variables

This commit is contained in:
plebeius
2025-11-06 22:32:03 +01:00
parent 79dcc73556
commit 23ded08ff0
@@ -14,12 +14,13 @@
top: 50px; top: 50px;
left: 50%; left: 50%;
margin-left: -251px; margin-left: -251px;
background-color: rgb(255, 255, 255); background-color: var(--settings-modal-background-color);
border: 1px solid rgb(136, 0, 0); border-top: var(--settings-modal-border-top);
color: rgb(136, 0, 0); border-right: var(--settings-modal-border-right);
border-bottom: var(--settings-modal-border-bottom);
border-left: var(--settings-modal-border-left);
box-shadow: rgba(0, 0, 0, 0.1) 2px 2px 0px 1px; box-shadow: rgba(0, 0, 0, 0.1) 2px 2px 0px 1px;
font-family: arial, helvetica, clean, sans-serif; font-size: var(--body-font-size);
font-size: 13px;
line-height: 16.003px; line-height: 16.003px;
z-index: 1000; z-index: 1000;
} }
@@ -35,12 +36,11 @@
.hd { .hd {
position: relative; position: relative;
background-color: rgb(136, 0, 0);
color: rgb(255, 255, 255);
padding: 4px 6px; padding: 4px 6px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-bottom: var(--settings-modal-header-border-bottom);
} }
.hd h2 { .hd h2 {
@@ -58,10 +58,11 @@
position: absolute; position: absolute;
top: 4px; top: 4px;
right: 4px; right: 4px;
background-image: var(--disclaimer-modal-close-button-background-image); background-image: var(--settings-modal-close-button-background-image);
background-size: 100%; background-size: 100%;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
image-rendering: pixelated;
} }
.bd { .bd {
@@ -79,15 +80,14 @@
.section h3 { .section h3 {
margin: 0 0 8px 0; margin: 0 0 8px 0;
padding: 0; padding: 0;
font-size: 14px; font-size: calc(var(--body-font-size) * 1.077);
font-weight: bold; font-weight: bold;
color: rgb(136, 0, 0);
letter-spacing: 0.3px; letter-spacing: 0.3px;
} }
.section p { .section p {
margin: 0 0 12px 0; margin: 0 0 12px 0;
font-size: 13px; font-size: var(--body-font-size);
line-height: 16.003px; line-height: 16.003px;
} }
@@ -96,10 +96,14 @@
} }
.bd a { .bd a {
color: rgb(136, 0, 0); color: var(--button-desktop-text-color);
text-decoration: underline; text-decoration: underline;
} }
.bd a:hover {
color: var(--button-desktop-text-color-hover);
}
.createBoardFooter { .createBoardFooter {
padding: 10px; padding: 10px;
display: flex; display: flex;