All Projects → nitin42 → Glamorous Primitives

nitin42 / Glamorous Primitives

💄 style primitive React interfaces with glamorous

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Glamorous Primitives

CustomWebCheckbox
An example of a make checkbox design on the web.
Stars: ✭ 12 (-86.81%)
Mutual labels:  style, stylesheet
css-render
Generating CSS using JS with considerable flexibility and extensibility, at both server side and client side.
Stars: ✭ 137 (+50.55%)
Mutual labels:  style, css-in-js
tsstyled
A small, fast, and simple CSS-in-JS solution for React.
Stars: ✭ 52 (-42.86%)
Mutual labels:  style, css-in-js
Expo Dark Mode Switch
A beautiful React dark mode switch component for iOS, Android, and Web
Stars: ✭ 137 (+50.55%)
Mutual labels:  style, css-in-js
Nano Style
React functional CSS-in-JS
Stars: ✭ 85 (-6.59%)
Mutual labels:  style, css-in-js
get-css-data
A micro-library for collecting stylesheet data from link and style nodes
Stars: ✭ 29 (-68.13%)
Mutual labels:  style, stylesheet
markdown.css
📝 The simple CSS to replicate the GitHub Markdown style (Sukka Ver.)
Stars: ✭ 13 (-85.71%)
Mutual labels:  style, stylesheet
Axs
Stupid simple style components for React
Stars: ✭ 214 (+135.16%)
Mutual labels:  style, css-in-js
Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (+185.71%)
Mutual labels:  css-in-js, stylesheet
PyQtDarkTheme
A flat dark theme for PySide and PyQt.
Stars: ✭ 50 (-45.05%)
Mutual labels:  style, stylesheet
postcss-gtk
Processes GTK+ CSS into browser CSS
Stars: ✭ 23 (-74.73%)
Mutual labels:  style, stylesheet
Trousers
hooks-first CSS-in-JS library, focused on semantics and runtime performance
Stars: ✭ 295 (+224.18%)
Mutual labels:  css-in-js, stylesheet
glitz
Lightweight CSS-in-JS library with high performance written in TypeScript
Stars: ✭ 42 (-53.85%)
Mutual labels:  style, css-in-js
Parser Lib
Collection of parsers written in JavaScript
Stars: ✭ 274 (+201.1%)
Mutual labels:  style, stylesheet
Motif
Lightweight and customizable stylesheets for iOS
Stars: ✭ 879 (+865.93%)
Mutual labels:  style, stylesheet
Styled Components Rhythm
Vertical Rhythm and Font Baselines with Styled Components
Stars: ✭ 76 (-16.48%)
Mutual labels:  css-in-js
React Image Smooth Loading
[not maintained] Images which just flick to appear aren't cool. Images which appear smoothly with a fade like Instagram are cool
Stars: ✭ 84 (-7.69%)
Mutual labels:  css-in-js
Stylelint
A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.
Stars: ✭ 9,350 (+10174.73%)
Mutual labels:  css-in-js
Tiza
Console styling for browsers
Stars: ✭ 74 (-18.68%)
Mutual labels:  style
Scale
The Scale library offers a set of customizable web components written with Stencil.js & TypeScript. The default theme of the library can be easily replaced so that a corresponding corporate identity of a dedicated brand can be represented.
Stars: ✭ 87 (-4.4%)
Mutual labels:  css-in-js

glamorous-primitives 💄

Build Status

style primitive React interfaces with glamorous

Table of contents

Problem

You cannot use glamorous together with react-primitives to style the components.

Solution

Combine glamorous with react-primitives by removing implicit dependencies to render the same code across the targets.

Use this package only when you want to share the same code across multiple platforms. If you're looking to style the components for a specific platform use glamorous-native for React Native or glamorous for React

Install

npm install glamorous-primitives --save

This also depends on react and react-primitives. Make sure you have them installed.

Examples

You can find all the examples here.

Demo

Code

Renders on Sketch, Web and Mobile

Documentation

There are no breaking changes in glamorous-primitives except for one thing which means you can do everything you used to do with glamorous and glamorous-native 😄

What's more ?

I am working on 👇🏼

  • [ ] className as prop using babel transform
  • [ ] css prop (like glamorous)

Caveats

glamorous-primitives does not export the "tiny" version of glamorous like glamorous and glamorous-native.

Resources

Below is the list of resources where you can learn more about primitive interfaces, rendering process across multiple platform and styling the components

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].