We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc47eb commit 7fc9704Copy full SHA for 7fc9704
pkg/web_css/lib/src/_base.scss
@@ -93,11 +93,6 @@ a {
93
text-decoration: none;
94
color: var(--pub-link-text-color);
95
cursor: pointer;
96
- opacity: 1;
97
-
98
- &:hover {
99
- opacity: 0.8;
100
- }
101
102
// TODO: fix style to not use bgColor as text and text color as background
103
&.link-button {
@@ -106,6 +101,20 @@ a {
106
display: inline-block;
107
padding: 4px 12px;
108
}
104
+
105
+ .light-theme & {
+ opacity: 1;
+ &:hover {
109
+ opacity: 0.8;
110
+ }
111
112
113
+ .dark-theme & {
114
115
+ filter: brightness(120%);
116
117
118
119
120
main {
0 commit comments