fix: Deleted text style in history, closes #4231

This commit is contained in:
Tom Moor
2022-11-07 21:55:14 -05:00
parent fd799e00a7
commit c859d2dd84
3 changed files with 8 additions and 1 deletions

View File

@@ -115,6 +115,8 @@ declare module "styled-components" {
cursor: string;
textSecondary: string;
textTertiary: string;
textDeleted: string;
textDeletedBackground: string;
placeholder: string;
sidebarBackground: string;
sidebarActiveBackground: string;

View File

@@ -1302,7 +1302,8 @@ del {
}
del[data-operation-index] {
background-color: ${props.theme.slateLight};
color: ${props.theme.textDeleted};
background-color: ${props.theme.textDeletedBackground};
img {
opacity: .5;

View File

@@ -100,6 +100,8 @@ export const light = {
text: colors.almostBlack,
textSecondary: colors.slateDark,
textTertiary: colors.slate,
textDeleted: colors.slate,
textDeletedBackground: colors.slateLight,
placeholder: "#a2b2c3",
sidebarBackground: colors.warmGrey,
sidebarActiveBackground: "#d7e0ea",
@@ -157,6 +159,8 @@ export const dark = {
cursor: colors.almostWhite,
textSecondary: lighten(0.1, colors.slate),
textTertiary: colors.slate,
textDeleted: lighten(0.1, colors.slate),
textDeletedBackground: colors.black,
placeholder: colors.slateDark,
sidebarBackground: colors.veryDarkBlue,
sidebarActiveBackground: lighten(0.02, colors.almostBlack),