Skip to content

Commit ad8c71c

Browse files
authored
Fix link color in high-contrast theme, add underlines (mastodon#9949)
Improve sorting of default themes in the dropdown
1 parent 1f95190 commit ad8c71c

2 files changed

Lines changed: 54 additions & 3 deletions

File tree

app/javascript/styles/contrast/diff.scss

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,54 @@
1212
}
1313
}
1414
}
15+
16+
.status__content a,
17+
.reply-indicator__content a {
18+
color: lighten($ui-highlight-color, 12%);
19+
text-decoration: underline;
20+
21+
&.mention {
22+
text-decoration: none;
23+
}
24+
25+
&.mention span {
26+
text-decoration: underline;
27+
28+
&:hover,
29+
&:focus,
30+
&:active {
31+
text-decoration: none;
32+
}
33+
}
34+
35+
&:hover,
36+
&:focus,
37+
&:active {
38+
text-decoration: none;
39+
}
40+
41+
&.status__content__spoiler-link {
42+
color: $secondary-text-color;
43+
text-decoration: none;
44+
}
45+
}
46+
47+
.status__content__read-more-button {
48+
text-decoration: underline;
49+
50+
&:hover,
51+
&:focus,
52+
&:active {
53+
text-decoration: none;
54+
}
55+
}
56+
57+
.getting-started__footer a {
58+
text-decoration: underline;
59+
60+
&:hover,
61+
&:focus,
62+
&:active {
63+
text-decoration: none;
64+
}
65+
}

config/locales/en.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,9 +929,9 @@ en:
929929
<p>Originally adapted from the <a href="https://github.com/discourse/discourse">Discourse privacy policy</a>.</p>
930930
title: "%{instance} Terms of Service and Privacy Policy"
931931
themes:
932-
contrast: High contrast
933-
default: Mastodon
934-
mastodon-light: Mastodon (light)
932+
contrast: Mastodon (High contrast)
933+
default: Mastodon (Dark)
934+
mastodon-light: Mastodon (Light)
935935
time:
936936
formats:
937937
default: "%b %d, %Y, %H:%M"

0 commit comments

Comments
 (0)