Socket
Book a DemoInstallSign in
Socket

@docker/docker-mui-theme

Package Overview
Dependencies
Maintainers
7
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@docker/docker-mui-theme

The official MUI theme for Docker Extensions

npmnpm
Version
0.0.7
Version published
Weekly downloads
1.3K
592.93%
Maintainers
7
Weekly downloads
 
Created
Source

@docker/docker-mui-theme

This package provides a Material UI theme that specifies the basic look & feel of Docker Desktop in an application-agnostic way. This is the only officially supported theming solution for Docker Extensions.

How to use

Wrap your React application with DockerMuiThemeProvider at a suitably high level, and then render a MUI CssBaseline component somewhere within it.

For best results integrating with Docker Desktop, also read our MUI best practices article.

import { DockerMuiThemeProvider } from '@docker/docker-mui-theme';
import CssBaseline from '@mui/material/CssBaseline';

function App() {
  return (
    <DockerMuiThemeProvider>
      <CssBaseline />

      <YourAppContent />
    </DockerMuiThemeProvider>
  );
}

FAQs

Package last updated on 30 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts