fix: use css vars already provided instead of hard coding directly from oc-color

This commit is contained in:
feng 2025-04-17 18:48:39 +09:00
parent 9defbd7f3b
commit c44e96b2bb
5 changed files with 7 additions and 7 deletions

View file

@ -238,7 +238,7 @@
padding: 0.25rem;
&-title {
color: $oc-gray-6;
color: var(--button-grey-6);
font-size: 12px;
padding: 0 0.25rem;
}

View file

@ -93,6 +93,6 @@
.context-menu-item-separator {
border: none;
border-top: 1px solid $oc-gray-5;
border-top: 1px solid var(--button-gray-5);
}
}

View file

@ -25,7 +25,7 @@
height: 128px;
border-radius: 2px;
padding: 1px;
border: 1px solid $oc-gray-4;
border: 1px solid var(--button-grey-4);
display: flex;
align-items: center;
justify-content: center;

View file

@ -14,7 +14,7 @@
span {
font-weight: 500;
font-size: 1rem;
color: $oc-gray-6;
color: var(--button-grey-6);
}
input,
textarea {
@ -56,9 +56,9 @@
}
&--cancel.ToolIcon_type_button {
background-color: $oc-gray-5;
background-color: var(--button-gray-5);
&:hover {
background-color: $oc-gray-6;
background-color: var(--button-gray-6);
}
}

View file

@ -201,7 +201,7 @@ body.excalidraw-cursor-resize * {
.divider {
width: 1px;
background-color: $oc-gray-2;
background-color: var(--button-grey-2);
margin: 1px;
}