Changes for #88

Fix tooltip foreground.
Change light mode foreground colours.
Update ::selection styles.
This commit is contained in:
Paul 2021-08-19 14:50:00 +01:00
parent 762cad1614
commit db43c02e01
5 changed files with 12 additions and 11 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 53bdb2d15516d67a8c989af9bf4d5854b29e6004 Subproject commit 324a942e2b1da38f82efe0bd5f6b1c8ff7d7a65c

View file

@ -28,10 +28,10 @@ const PermissionTooltipBase = styled.div`
flex-direction: column; flex-direction: column;
span { span {
font-size: 11px;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
color: var(--secondary-foreground); color: var(--secondary-foreground);
font-size: 11px;
} }
code { code {

View file

@ -223,7 +223,7 @@ export const PRESETS: Record<string, Theme> = {
light: true, light: true,
accent: "#FD6671", accent: "#FD6671",
background: "#F6F6F6", background: "#F6F6F6",
foreground: "#101010", foreground: "#000000",
block: "#414141", block: "#414141",
"message-box": "#F1F1F1", "message-box": "#F1F1F1",
mention: "rgba(251, 255, 0, 0.40)", mention: "rgba(251, 255, 0, 0.40)",
@ -236,10 +236,10 @@ export const PRESETS: Record<string, Theme> = {
"primary-background": "#FFFFFF", "primary-background": "#FFFFFF",
"primary-header": "#F1F1F1", "primary-header": "#F1F1F1",
"secondary-background": "#F1F1F1", "secondary-background": "#F1F1F1",
"secondary-foreground": "#888888", "secondary-foreground": "#1f1f1f",
"secondary-header": "#F1F1F1", "secondary-header": "#F1F1F1",
"tertiary-background": "#4D4D4D", "tertiary-background": "#4D4D4D",
"tertiary-foreground": "#646464", "tertiary-foreground": "#3a3a3a",
"status-online": "#3ABF7E", "status-online": "#3ABF7E",
"status-away": "#F39F00", "status-away": "#F39F00",
"status-busy": "#F84848", "status-busy": "#F84848",

View file

@ -21,18 +21,18 @@
} }
::selection { ::selection {
background: var(--accent); background: var(--foreground);
color: var(--foreground); color: var(--background);
} }
::-moz-selection { ::-moz-selection {
background: var(--accent); background: var(--foreground);
color: var(--foreground); color: var(--background);
} }
::-webkit-selection { ::-webkit-selection {
background: var(--accent); background: var(--foreground);
color: var(--foreground); color: var(--background);
} }
a, a,

View file

@ -7,6 +7,7 @@
@import "tippy.js/dist/tippy.css"; @import "tippy.js/dist/tippy.css";
.tippy-box { .tippy-box {
color: var(--foreground);
background: var(--secondary-background); background: var(--secondary-background);
} }