Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Aminejvm/xstyled

Repository files navigation

A new way to style components

License npm package npm downloads CircleCI codecov Code style Dependencies DevDependencies Small size

npm install @xstyled/styled-components styled-components

See the documentation at smooth-code.com/open-source/xstyled for more information about using xstyled!

Quicklinks to some of the most-visited pages:

Example

import styled from '@xstyled/styled-components'
const Box = styled.div`
 background-color: primary; /* ⟢ theme.colors.primary */
 margin: 2; /* ⟢ theme.space.2 */
`
export default Box

License

Licensed under the MIT License, Copyright Β© 2019-present Smooth Code.

See LICENSE for more information.

About

Consistent theme based CSS for styled-components & emotion πŸ’…πŸ‘©β€πŸŽ€βš‘οΈ

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /