---
name: convert-technical-pdfs-to-dark-mode-with
description: "Converts technical PDFs to dark mode while preserving diagrams and figures. Use when a user wants a low-light, high-contrast copy of a document and needs scanned text to remain selectable."
license: CC-BY-4.0
compatibility: "Needs access to: PDF files, Terminal, Chat."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/convert-technical-pdfs-to-dark-mode-with/"
  kind: skill
  hermes:
    tags: ["pdf", "document-processing", "reading", "ocr"]
    category: ops
    requires_toolsets: ["file", "terminal"]
---
# Convert technical PDFs to dark mode with preserved diagrams

Transform document color palettes for low-light reading while keeping embedded charts and figures legible.

## When to use

Process PDF documents to produce high-contrast, dark-themed copies suitable for low-light reading. The workflow inspects page luminance to avoid re-inverting dark slides, applies optical character recognition to scanned pages and charts, and isolates embedded figures so visual artifacts remain unchanged.

## Inputs

- `pdf_document`: The PDF file or link the user submits for dark-mode conversion.

## Steps

1. When you ask: Receive document file or link (A user submits a PDF document file or link in chat.)
2. Invert text colors and retain figures
3. Deliver dark-themed document

## Instructions

When a user submits a PDF, inspect each page for background luminance before adjusting colors. Apply inverted tone styling to text layers while isolating graphic elements so figures and diagrams remain untouched. Run text recognition on scanned sections to ensure text remains selectable. Always ask for confirmation before saving the converted file to external storage or sending it via messaging.

## Approvals

- Confirm before saving the converted dark-mode file to external storage.
- Confirm before sending the converted dark-mode file through messaging.

## Output

A dark-themed PDF copy with inverted text colors and preserved diagrams and figures. (format: file)

## Source

Summarized in our own words from [Show HN: Veil – Dark mode PDFs without destroying images, runs in the browser](https://news.ycombinator.com/item?id=47529306) (Hacker News, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/convert-technical-pdfs-to-dark-mode-with/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
