trend-colors
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Welcome to Trend Colors 👋

Version License: MIT Twitter: pedrinho_lemes

Color palettes for your project with react and styled-components

🏠 Homepage

How to use

styles/theme.js

import { MaterialUiPalette, ChakraUiPalette } from "trend-colors";
 
const theme = {
  ...ChakraUiPalette,
  primary: "#83c9f4",
  secondary: "#6f73d2",
  fore: "#1d2135",
  back: "#d9f0ff",
};
export default theme;

App.js

import { ThemeProvider } from "styled-components";
import theme from "./styles/theme";
import GlobalStyle from "./styles/global";
 
function App({ children }) {
  return (
    <ThemeProvider theme={theme}>
      <GlobalStyle />
      {children}
    </ThemeProvider>
  );
}

Author

👤 Pedro Henrique

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Pedro Henrique.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Package Sidebar

Install

npm i trend-colors

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

37.3 kB

Total Files

55

Last publish

Collaborators

  • pedrinholemes