1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-05 21:33:52 +00:00

fix: shining result color on dark mode

This commit is contained in:
lin onetwo 2025-03-01 01:34:08 +08:00
parent a321c4fbb6
commit 9dc73e25ff

View File

@ -22,7 +22,7 @@ tags: [[$:/tags/Stylesheet]]
.ai-conversation .ai-tools-message .ai-tools-message-toolbar { .ai-conversation .ai-tools-message .ai-tools-message-toolbar {
background: <<colour sidebar-foreground-shadow>>; background: <<colour sidebar-foreground-shadow>>;
color: white; color: <<colour foreground>>;
padding: 0.25em 1em 0.25em 1em; padding: 0.25em 1em 0.25em 1em;
border-top-left-radius: 1em; border-top-left-radius: 1em;
border-top-right-radius: 1em; border-top-right-radius: 1em;
@ -36,7 +36,7 @@ tags: [[$:/tags/Stylesheet]]
.ai-conversation .ai-tools-message .ai-tools-message-toolbar .ai-tools-message-toolbar-button { .ai-conversation .ai-tools-message .ai-tools-message-toolbar .ai-tools-message-toolbar-button {
background: <<colour sidebar-foreground-shadow>>; background: <<colour sidebar-foreground-shadow>>;
color: #333333; color: <<colour foreground>>;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
outline: 0; outline: 0;
@ -65,8 +65,8 @@ tags: [[$:/tags/Stylesheet]]
.ai-conversation .ai-tools-message.ai-tools-message-role-system { .ai-conversation .ai-tools-message.ai-tools-message-role-system {
width: 60%; width: 60%;
background: #4c4c80; background: <<colour footnote-target-background>>;
color: white; color: <<colour foreground>>;
} }
.ai-conversation .ai-tools-message.ai-tools-message-role-user { .ai-conversation .ai-tools-message.ai-tools-message-role-user {
@ -76,11 +76,11 @@ tags: [[$:/tags/Stylesheet]]
} }
.ai-conversation .ai-tools-message.ai-tools-message-role-assistant { .ai-conversation .ai-tools-message.ai-tools-message-role-assistant {
background: #dfd; background: <<colour tiddler-editor-background>>;
} }
.ai-conversation .ai-tools-message.ai-tools-message-role-error { .ai-conversation .ai-tools-message.ai-tools-message-role-error {
background: #fdd; background: <<colour notification-background>>;
} }
.ai-conversation .ai-user-prompt { .ai-conversation .ai-user-prompt {