FE-Theme is a styled-component based comprehensive library of accessible, reusable, and composable React components that streamlines the development of modern web applications and websites. The library offers a theme based UI to quickly start a new small/medium/large size web based applications.
- 📦 Installation
- 💻 Usage
- 📝 Contributing
- ✨ Contributors
- ⚖️ License
npm install fe-theme --save
import Button from 'fe-theme/Button';
<Button />
Hurrah...!!! Button is created, but color does not match with the application. No worries.
Generate a sample file(sample-theme.js) by running below commond in terminal in your project location.
cp sample-theme.js ./
Or Download Sample File
import React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider } from 'styled-components';
import themeInit from 'fe-theme/Init';
import theme from './sample-theme.js';
import App from './App';
ReactDOM.hydrate(
<ThemeProvider theme={themeInit(theme)}>
<App />
</ThemeProvider>,
document.getElementById('root'),
);
<Button design="primary" />
<Button design="secondary" />
Feel like contributing? Most welcome! Follow this quick setup and guide lines to get fe-theme working on your local machine and contribute.
Thanks goes to these wonderful people
Himanshu Gupta |
Ashwini Hegde |
Vineet Gupta |
Alok Dubey |
Ravi Verma |
Semantic Release Bot |
Ghanshyam KD |
Fossa Bot |
MIT © Himanshu Gupta