mirror of
https://github.com/outline/outline.git
synced 2026-01-06 02:59:54 -06:00
fix: Deleted text style in history, closes #4231
This commit is contained in:
2
app/typings/styled-components.d.ts
vendored
2
app/typings/styled-components.d.ts
vendored
@@ -115,6 +115,8 @@ declare module "styled-components" {
|
||||
cursor: string;
|
||||
textSecondary: string;
|
||||
textTertiary: string;
|
||||
textDeleted: string;
|
||||
textDeletedBackground: string;
|
||||
placeholder: string;
|
||||
sidebarBackground: string;
|
||||
sidebarActiveBackground: string;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user