0.1.9 • Published 4 years ago

@aeros-ui/themes v0.1.9

Weekly downloads
-
License
-
Repository
gitlab
Last release
4 years ago

AEROS Theme Library

An theme library for ELANY's new AEROS system.
Built with React and Material UI to allow developers to access the ELANY custom themes for a faster workflow.

Contents

Installation

Install

//with npm

npm install @aeros-ui/themes
//with yarn

yarn add @aeros-ui/themes

Update Package

//with npm

npm install @aeros-ui/themes@latest
//with yarn    

yarn add @aeros-ui/themes@latest

Peer Dependencies

React

This package requires use of react version 17^ and react-dom version 17^

Material UI

This package requires use of Material UI version 5^

//with npm  

npm install @emotion/react @emotion/styled @mui/material @mui/styles
//with yarn

yarn add @emotion/react @emotion/styled @mui/material @mui/styles

Themes

App Theme

Import

import { theme } from '@aeros-ui/themes'  
import { ThemeProvider } from '@mui/material/styles'  

Usage

The app theme will be used in App.js which contains app level overrides of Material UI components that will be the same through out the application.

<ThemeProvider theme={theme}>  
...components for the application   
</ThemeProvider>  

Table Theme

The table theme will be used in the various table components in the application, which contains overrides for specific table level Material UI components.

Import

import { tableTheme } from '@aeros-ui/themes'  
import { ThemeProvider } from '@mui/material/styles' 

Usage

<ThemeProvider theme={tableTheme}>
    <MaterialTable/>   
</ThemeProvider>   
0.1.19

4 years ago

0.1.17

4 years ago

0.1.18

4 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.12

4 years ago

0.1.13

4 years ago

0.1.14

4 years ago

0.1.15

4 years ago

0.1.16

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago