SDK

Low-Code

Workflow

DWS API

Web Code Samples

View PDFs in dark mode using JavaScript

Nutrient’s PDF viewer can be switched into dark mode either programmatically or based on available device information. Get additional resources by visiting our guide about enabling the dark theme in our JavaScript PDF viewer.

Get Started All Samples Download Launch Demo
Information

This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.