All Projects â†’ arthyn â†’ stitchwind

arthyn / stitchwind

Licence: MIT License
A bridge between Tailwind and Stitches

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to stitchwind

Twin.macro
đŸŠč‍♂ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, stitches and goober) at build time.
Stars: ✭ 5,137 (+15466.67%)
Mutual labels:  css-in-js, stitches, tailwind, tailwindcss
parsers
Specify is a central platform for companies who want to unify their brand identity, by connecting their design system tools.
Stars: ✭ 50 (+51.52%)
Mutual labels:  design-tokens, design-system, tailwindcss
material-tailwind
@material-tailwind is an easy-to-use components library for Tailwind CSS and Material Design.
Stars: ✭ 861 (+2509.09%)
Mutual labels:  tailwind, tailwindcss
benefit
✹ Utility CSS-in-JS library that provides a set of low-level, configurable, ready-to-use styles
Stars: ✭ 51 (+54.55%)
Mutual labels:  css-in-js, tailwindcss
eslint-plugin-tailwind
ESLint rules for Tailwind CSS
Stars: ✭ 97 (+193.94%)
Mutual labels:  tailwind, tailwindcss
create-next-pwa
âšĄïž Set up Next.js Progressive Web App with `npx create-next-pwa`
Stars: ✭ 59 (+78.79%)
Mutual labels:  tailwind, tailwindcss
tailwind-twitter-clone
Twitter UI Clone built during a live stream.
Stars: ✭ 19 (-42.42%)
Mutual labels:  tailwind, tailwindcss
next-tailwind-motion
A simple Next.js starter kit with TailwindCSS (JIT) and Framer Motion preconfigured. Optional feature branches for Locomotive Scroll, Sanity and Dato configuration coming soon...
Stars: ✭ 40 (+21.21%)
Mutual labels:  tailwind, tailwindcss
shopify-foundation-theme
Modern Shopify theme using Shopify Theme Lab, Liquid, Vue and Tailwind CSS 🎹
Stars: ✭ 195 (+490.91%)
Mutual labels:  tailwind, tailwindcss
stencil-tailwind-plugin
Plugin for using tailwindcss with StencilJS
Stars: ✭ 17 (-48.48%)
Mutual labels:  tailwind, tailwindcss
twin.examples
Packed with examples for different frameworks, this repo helps you get started with twin a whole lot faster.
Stars: ✭ 320 (+869.7%)
Mutual labels:  tailwind, tailwindcss
jekyll-atlantic-theme
Jekyll Atlantic is a beautiful Tailwind CSS theme. It shows best practices for using Tailwind with Jekyll.
Stars: ✭ 40 (+21.21%)
Mutual labels:  tailwind, tailwindcss
tailwind-color-alpha
Automatic alpha variants for your Tailwind CSS colors based on your opacity config
Stars: ✭ 21 (-36.36%)
Mutual labels:  tailwind, tailwindcss
vuejs-tailwindcss-portfolio
A simple multipage and responsive Vue.js & Tailwind CSS portfolio theme with dark mode.
Stars: ✭ 100 (+203.03%)
Mutual labels:  tailwind, tailwindcss
visage
Visage design system
Stars: ✭ 12 (-63.64%)
Mutual labels:  css-in-js, design-system
svelte-tailwind-snowpack
TailwindCSS with Svelte and Snowpack v3
Stars: ✭ 100 (+203.03%)
Mutual labels:  tailwind, tailwindcss
vscode-xwind
vscode extension for xwind
Stars: ✭ 16 (-51.52%)
Mutual labels:  tailwind, tailwindcss
variantwind
Most elegant way to work with TailwindCSS variants in Vue
Stars: ✭ 45 (+36.36%)
Mutual labels:  tailwind, tailwindcss
taro-plugin-tailwind
Taro æŽ„ć…„ windicss / tailwindcss 插件
Stars: ✭ 78 (+136.36%)
Mutual labels:  tailwind, tailwindcss
kickstart
Ruby on Rails application templates
Stars: ✭ 61 (+84.85%)
Mutual labels:  tailwind, tailwindcss

Stitchwind

This library helps bridge the gap between Tailwind and Stitches. Considering Stitches was somewhat inspired by Tailwind, I thought we should be able to use the design tokens and utilities from Stitches' progenitor.

Installation

    npm install stitchwind

Usage

Without Customization

If you don't want to customize Stitchwind at all you can just simply pass it to Stitches' createStyled method to create your Stitches' functions.

    import stitchwind from 'stitchwind'
    import { createStyled } from '@stitches/react'

    export const { styled, css } = createStyled(stitchwind)

Changing Prefix

    import stitchwind, { usePrefix } from 'stitchwind'
    import { createStyled } from '@stitches/react'

    const customPrefixedConfig = usePrefix('@', stitchwind);
    export const { styled, css } = createStyled(customPrefixedConfig);

Current Support

Currently Stitchwind only supports tokens and breakpoints from Tailwind. Utilities to come soon.

Available Breakpoints

Every breakpoint is loaded from Tailwind, $sm through $xl

Available Tokens

Colors

Every color and color scale is loaded ie. $black or $indigo600 into Stitches' colors token.

Spacing

Every spacing size is loaded ie. $0 through $64 and $px

Sizes

Sizes are loaded using the set from Tailwind's width property. This allows for everything from spacing plus all the fractional sizes $1/2 through $11/12 and $auto, $full, and $screen. Currently screen is equivalent to 100vw but may later be transformed into $screenH and $screenW with the respective viewport units used for each.

Fonts

Fonts from Tailwind are loaded as comma delimited strings and include $sans, $serif, and $mono

Font Weights

Every font weight is loaded, $hairline through $black

Font Sizes

Every font size is loaded, $xs through $6xl

Line Heights

Every line height is loaded, $3 through $10 and $none through $loose

Letter Spacings

Every letter spacing is loaded, $tighter through $widest

Border Widths

Every border width is loaded, $0 through $8 including $default for 1px

Border Radius

Every border radii is loaded, $none through $full

Box Shadow

Every box shadow is loaded, $xs through $2xl, $inner, $outline, and $none

Z Index

Every z-index is loaded, $0 through $50 and $auto

License

Licensed under the MIT License, Copyright © 2020-present Hunter Miller.

See LICENSE for more information.

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].