Re: [LyX/master] Change preedit color settings
Koji Yokota <[email protected]> Thu, 23 Jul 2026 17:07:08 +0900
| Newsgroups | gmane.editors.lyx.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1147706212077340888== Content-Type: multipart/alternative; boundary="Apple-Mail=_19F0CB3F-F452-4409-BF08-4B89AE7A515D" --Apple-Mail=_19F0CB3F-F452-4409-BF08-4B89AE7A515D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > 2026/07/19 11:35=E3=80=81Koji Yokota <[email protected]>=E3=81=AE=E3=83=A1= =E3=83=BC=E3=83=AB: > - Role of =E2=80=9Ctext (inverted background)=E2=80=9D is = different between the default > and the other themes in the dark mode. Default picks its = =E2=80=9CLight=E2=80=9D color, > whereas other themes picks up its =E2=80=9CDark=E2=80=9D = color. I see that this is because the backgrounds of =E2=80=9CSolarized=E2=80=9D = and =E2=80=9CMonochrome=E2=80=9D in dark mode are judged as =E2=80=9Clight= =E2=80=9D by ColorCache::isLightColor(). Can this threshold be relaxed in some way? I think they are reasonably = =E2=80=9Cdark=E2=80=9D. Koji= --Apple-Mail=_19F0CB3F-F452-4409-BF08-4B89AE7A515D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dutf-8"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;"><div><blockquote = type=3D"cite"><div>2026/07/19 11:35=E3=80=81Koji Yokota = <[email protected]>=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:</div><div><= meta charset=3D"UTF-8"><span class=3D"Apple-tab-span" = style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; = text-indent: 0px; text-transform: none; white-space: pre; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: = none; text-decoration-thickness: auto; text-decoration-style: solid;"> = </span><span style=3D"caret-color: rgb(0, 0, 0); font-family: = HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;">- Role = of =E2=80=9Ctext (inverted background)=E2=80=9D is different between the = default</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration-line: none; text-decoration-thickness: auto; = text-decoration-style: solid;"><span class=3D"Apple-tab-span" = style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; = text-indent: 0px; text-transform: none; white-space: pre; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: = none; text-decoration-thickness: auto; text-decoration-style: solid;"> = </span><span style=3D"caret-color: rgb(0, 0, 0); font-family: = HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;"><span = class=3D"Apple-converted-space"> </span> and the other themes = in the dark mode. Default picks its =E2=80=9CLight=E2=80=9D = color,</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration-line: none; text-decoration-thickness: auto; = text-decoration-style: solid;"><span class=3D"Apple-tab-span" = style=3D"caret-color: rgb(0, 0, 0); font-family: HiraginoSans-W1; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; = text-indent: 0px; text-transform: none; white-space: pre; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: = none; text-decoration-thickness: auto; text-decoration-style: solid;"> = </span><span style=3D"caret-color: rgb(0, 0, 0); font-family: = HiraginoSans-W1; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;"><span = class=3D"Apple-converted-space"> </span> whereas other themes = picks up its =E2=80=9CDark=E2=80=9D color.</span><br style=3D"caret-color:= rgb(0, 0, 0); font-family: HiraginoSans-W1; font-size: 14px; = font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration-line: none; = text-decoration-thickness: auto; text-decoration-style: = solid;"></div></blockquote></div><br><div>I see that this is because the = backgrounds of =E2=80=9CSolarized=E2=80=9D and =E2=80=9CMonochrome=E2=80=9D= in dark mode are judged as =E2=80=9Clight=E2=80=9D = by ColorCache::isLightColor().</div><div><br></div><div>Can this = threshold be relaxed in some way? I think they are reasonably = =E2=80=9Cdark=E2=80=9D.</div><div><br></div><div>Koji</div></body></html>= --Apple-Mail=_19F0CB3F-F452-4409-BF08-4B89AE7A515D-- --===============1147706212077340888== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel --===============1147706212077340888==--