Skip to content

Instantly share code, notes, and snippets.

@hamilton
Last active February 21, 2020 20:44
Show Gist options
  • Save hamilton/afc5659f8196ce92c48490ebf73416b4 to your computer and use it in GitHub Desktop.
Save hamilton/afc5659f8196ce92c48490ebf73416b4 to your computer and use it in GitHub Desktop.
take care of basic readability / accessibility issues in Riot
.mx_EventTile_highlight, .mx_EventTile_highlight .markdown-body {
color: black !important;
}
.mx_LinkPreviewWidget_description {
color: #444 !important;
}
.mx_BaseAvatar_image {
border-radius: 8px;
}
.mx_SenderProfile_name {
color: black !important;
}
.mx_Pill, .mx_UserPill, .mx_UserPill_me {
background-color: lightgray !important;
color: #222 !important;
margin-right: 4px !important;
display: inline-grid;
grid-template-columns: max-content max-content;
align-items: center;
font-size: 12px;
}
.mx_TextualEvent {
opacity: 1;
color: rgb(80,80,80);
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment