0.1.19 • Published 3 years ago

@aeros-ui/themes v0.1.19

Weekly downloads
-
License
-
Repository
gitlab
Last release
3 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

3 years ago

0.1.17

3 years ago

0.1.18

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago