Skip to content

OGS-GmbH/mui-theme

Repository files navigation

We're OGS, check out our work on github.com/ogs-gmbh

MUI Theme

Pre-configured Material-UI theme with light, dark and color scheme support.

Preview

  • Light & Dark Mode
    Pre-configured light and dark color schemes with automatic switching support.

  • Custom Color Palettes
    Carefully crafted color palettes including petrol, orange, blue, gray, yellow and red tones.

  • Component Defaults
    Optimized default props for MUI components like buttons, text fields and tooltips.

  • Typography System
    Consistent typography configuration with custom font family support.

Getting Started

Important

We're offering an extensive API-Reference covered with in-depth usage examples of this project.

To get a starting point, simply refer to our documentation at ogs-gmbh.github.io/mui-theme.

Prerequisites

  • Node.js version 18 or higher
  • A package manager: e.g. npm, pnpm, ...

Installation

Using npm:

$ npm install @ogs-gmbh/mui-theme
Using a different package managers?

Using yarn:

$ pnpm add @ogs-gmbh/mui-theme

Using pnpm:

$ pnpm add @ogs-gmbh/mui-theme

Using bun:

$ bun add @ogs-gmbh/mui-theme

Usage

mui-theme exports dark, light and general theme variants, that can get applied to the ThemeProvider Component. Please refer to our reference for getting a deeper understanding. Here's an example using theme:

import { ThemeProvider } from "@mui/material/styles";
import { theme } from "@ogs-gmbh/mui-theme";

function Example() {
  return <ThemeProvider theme={theme}>Content goes here ...</ThemeProvider>;
}

License

The MIT License (MIT) - Please have a look at the LICENSE file for more details.

Contributing

Contributions are always welcome and greatly appreciated. Whether you want to report a bug, suggest a new feature, or improve the documentation, your input helps make the project better for everyone.

Feel free to submit a pull request, issue or feature request.

Issues and Feature Requests

Reporting an issue or creating a feature request is made by creating a new issue on this repository.

You can create a new issue or feature request here.

Pull Requests

GitHub offers a solid guideline for contributing to open source projects through pull requests, covering key practices. These best practices provide a reliable starting point for making effective contributions.

You can find the guidelines here.

Code Of Conduct

We are committed to keeping a welcoming, inclusive, and respectful community for everyone. To help us achieve this, we kindly ask that you adhere to our Code of Conduct.

Disclaimer

All trademarks and registered trademarks mentioned are property of their respective owners and are used for identification purposes only. Use of these names does not imply endorsement or affiliation.

This project is a trademark of OGS Gesellschaft für Datenverarbeitung und Systemberatung mbH. The License does not grant rights to use the trademark without permission.


OGS Logo

Gesellschaft für Datenverarbeitung und Systemberatung mbH

Imprint | Contact | Careers

About

Pre-configured Material-UI theme with light, dark and color scheme support.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from OGS-GmbH/_ts-template