fix button colors, better lightbulb, button hovers

This commit is contained in:
sawka 2024-09-13 10:24:16 -07:00
parent 555ab07861
commit 33407715a0
4 changed files with 26 additions and 1 deletions

View File

@ -33,6 +33,9 @@
&.primary,
&.secondary {
background: var(--accent-color);
&:hover {
color: var(--main-text-color);
}
i {
fill: var(--main-text-color);
@ -49,6 +52,7 @@
&.primary.ghost {
background: none;
border: 1px solid var(--accent-color);
i {
fill: var(--accent-color);
@ -68,6 +72,13 @@
&.secondary.ghost {
background: none;
border: 1px solid var(--secondary-text-color);
color: var(--secondary-text-color);
&:hover {
border: 1px solid var(--main-text-color);
color: 1px solid var(--main-text-color);
}
}
&.secondary.danger {

View File

@ -3,6 +3,17 @@
opacity: 0.7;
align-items: center;
&.bulb {
color: var(--bulb-color);
opacity: 1;
&:hover i::before {
content: "\f672";
position: relative;
left: -1px;
}
}
&:hover {
opacity: 1;
}

View File

@ -104,4 +104,6 @@
--conn-icon-color-6: #ffa24e;
--conn-icon-color-7: #dbde52;
--conn-icon-color-8: #58c142;
--bulb-color: rgb(255, 221, 51);
}

View File

@ -357,8 +357,9 @@ export class PreviewModel implements ViewModel {
tipIcon = [
{
elemtype: "iconbutton",
icon: "lightbulb-on",
icon: "lightbulb",
iconColor: "var(--warning-color)",
className: "bulb",
click: () => {
const tips: UserInputRequest = {
requestid: "",