AppCockpit: add dark mode helper
Import the cockpit-dark-theme helper from the cockpit project. This detects when dark mode is enabled and automatically applies the correct styles.
This commit is contained in:
parent
cb08466734
commit
50d88e5949
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import '@patternfly/patternfly/patternfly-addons.css';
|
|||
|
||||
import React from 'react';
|
||||
|
||||
import 'cockpit-dark-theme';
|
||||
import { Page, PageSection } from '@patternfly/react-core';
|
||||
import NotificationsPortal from '@redhat-cloud-services/frontend-components-notifications/NotificationPortal';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue