Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
How Can I Change the Color of Text in Nighrt Mode? |
Post Reply |
Author | |
Catahecassa31
Beginner Joined: 29 Aug 21 Location: alaska Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 30 Aug 21 at 6:24AM |
How can I change the color of the grey text to white in night mode? What file and code line do i change to do that?
Edited by Catahecassa31 - 17 Sep 21 at 5:54AM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi :) from what night mode you're writing? The relevant code snippet could help to help ;-) With QuickPDF you can't change a text colour after the pdf is created. You can overwrite text parts with white and then you can write new text with another colour but a real change isn't possible. Cheers and welcome here, Ingo
|
|
Cheers,
Ingo |
|
noramila
Beginner Joined: 29 Aug 23 Location: India Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Changing the color of text in night mode usually entails editing your website's or application's CSS (Cascading Style Sheets). To turn grey text to white in night mode, you must target specific components and modify their CSS values. Try this code @media (prefers-color-scheme: dark) { .night-mode-text { color: white; } } |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Nora :)
This here is a helping community for pdf-development ;-) |
|
Cheers,
Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store