0.0.9 • Published 4 years ago
@anissoft/uimui v0.0.9
Welcome to UiMui 👋
Тема для material-ui, делающая компоненты похожими на Контур гайды
Установка
npm install @anissoft/uimui --save
Компоненты
Все стили пишутся по мере необходимости, поэтому если вам не хватает реализации какого-нибудь компонента - велкам
- Button
- TextField (только variant="standard")
Поддерживается только плоская тема!
Использование
import React from 'react';
import ReactDOM from 'react-dom';
import uimuize from '@anissoft/uimui';
import { ThemeProvider } from '@material-ui/core/styles';
import App from './App';
const myTheme = {
palette: {
primary: {
light: '#757ce8',
main: '#3f50b5',
dark: '#002884',
contrastText: '#fff',
},
secondary: {
light: '#ff7961',
main: '#f44336',
dark: '#ba000d',
contrastText: '#000',
},
},
};
ReactDOM.render(
<ThemeProvider theme={uimuize(myTheme)}>
<App/>
</ThemeProvider>,
document.getElementById('root'),
);
Автор
👤 Alexey Anisimov
- Github: @Anissoft
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!