Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions pkg/web_css/lib/src/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ a {
text-decoration: none;
color: var(--pub-link-text-color);
cursor: pointer;
opacity: 1;

&:hover {
opacity: 0.8;
}

// TODO: fix style to not use bgColor as text and text color as background
&.link-button {
Expand All @@ -106,6 +101,20 @@ a {
display: inline-block;
padding: 4px 12px;
}

.light-theme & {
opacity: 1;

&:hover {
opacity: 0.8;
}
}

.dark-theme & {
&:hover {
filter: brightness(120%);
}
}
}

main {
Expand Down
Loading