components/buffer: emphasize nag log lines

Don't show them with a muted/gray color. Ideally these shouldn't
be log lines in the first place, but that should at least make them
more readable until we find a better alternative.
This commit is contained in:
Simon Ser
2025-05-23 21:19:13 +02:00
parent 9879dbc722
commit 6aef3e906b
2 changed files with 4 additions and 4 deletions

View File

@@ -558,7 +558,7 @@ class NotificationNagger extends Component {
}
return html`
<div class="logline">
<div class="logline nag">
<${Timestamp}/>
${" "}
<a href="#" onClick=${this.handleClick}>Turn on desktop notifications</a> to get notified about new messages
@@ -599,7 +599,7 @@ class ProtocolHandlerNagger extends Component {
}
let name = this.props.bouncerName || "this bouncer";
return html`
<div class="logline">
<div class="logline nag">
<${Timestamp}/>
${" "}
<a href="#" onClick=${this.handleClick}>Register our protocol handler</a> to open IRC links with ${name}
@@ -637,7 +637,7 @@ function AccountNagger({ server, onAuthClick, onRegisterClick }) {
}
return html`
<div class="logline">
<div class="logline nag">
<${Timestamp}/> ${msg}
</div>
`;

View File

@@ -396,7 +396,7 @@ details summary[role="button"] {
white-space: pre-wrap;
overflow: auto;
}
#buffer .talk, #buffer .motd {
#buffer .talk, #buffer .motd, #buffer .nag {
color: var(--main-color);
}
#buffer .error {