Fixed colors on formModal
This commit is contained in:
parent
0471e99a86
commit
2c1203c437
2 changed files with 8 additions and 4 deletions
|
|
@ -921,13 +921,13 @@ The cursor: default; property value restores the browser's default cursor style
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-modal-lock-true {
|
.form-modal-lock-true {
|
||||||
@apply bg-input text-black
|
@apply bg-input text-primary
|
||||||
}
|
}
|
||||||
.form-modal-no-input {
|
.form-modal-no-input {
|
||||||
@apply bg-input text-center text-black dark:bg-gray-700 dark:text-gray-300
|
@apply bg-input text-center text-primary dark:bg-gray-700 dark:text-gray-300
|
||||||
}
|
}
|
||||||
.form-modal-lock-false {
|
.form-modal-lock-false {
|
||||||
@apply bg-white text-black
|
@apply bg-white text-primary
|
||||||
}
|
}
|
||||||
.form-modal-lockchat {
|
.form-modal-lockchat {
|
||||||
@apply form-input focus:ring-ring focus:border-ring block w-full rounded-md border-border p-4 pr-16 custom-scroll sm:text-sm
|
@apply form-input focus:ring-ring focus:border-ring block w-full rounded-md border-border p-4 pr-16 custom-scroll sm:text-sm
|
||||||
|
|
@ -1080,5 +1080,9 @@ The cursor: default; property value restores the browser's default cursor style
|
||||||
@apply font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70
|
@apply font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chat-message-highlight {
|
||||||
|
@apply my-1 rounded-md bg-indigo-100 dark:bg-indigo-900
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ export default function ChatMessage({
|
||||||
// Push div with matched text
|
// Push div with matched text
|
||||||
if (chat.message[match[1]]) {
|
if (chat.message[match[1]]) {
|
||||||
parts.push(
|
parts.push(
|
||||||
<span className="my-1 rounded-md bg-indigo-100">
|
<span className="chat-message-highlight">
|
||||||
{chat.message[match[1]]}
|
{chat.message[match[1]]}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue