![]() |
#1 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
highlights on black color scheme
Sometimes I set the Viewer color scheme to Black and I wanted to change the text color of the highlights, however the Style creation tool allows only customisation of the highlight background color.
Default text color is white but in this case I'd prefer to set it to black, to contrast with the yellow background. I already use a custom style sheet to customise selected text, using... Code:
::selection { background: yellow; color:#000;} (probably too much work to make it feasible, as I looked into highlights.pyj, viewer.js and couldn't figure where this change might be implementable, but I thought I'd ask just in case) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not really doable without a lot fo work. The idea is you choose dark highlight colors that work well with light colored foreground text.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
thanks anyway Kovid
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is your Calibre Color Scheme? | Rellwood | Library Management | 3 | 09-24-2024 10:51 PM |
prefers-color-scheme media query | tozz | Editor | 2 | 02-07-2023 04:47 PM |
change calibre-server's color scheme? | Geremia | Server | 1 | 04-04-2021 12:14 AM |
Why No Color Scheme? | d351r3d | Sigil | 5 | 01-17-2020 10:07 AM |
Editor Settings > Color Scheme | Agama | Editor | 2 | 12-23-2013 09:43 AM |