Giter Club home page Giter Club logo

Comments (6)

nandorojo avatar nandorojo commented on September 23, 2024 8

Yes actually. @axeldelafosse added a guide: https://axeldelafosse.com/blog/universal-design-system

We could add a tailwind section to the docs

from dripsy.

cmaycumber avatar cmaycumber commented on September 23, 2024 1

Interesting. I've seen a bit about tailwind but never used it personally.

I know the basic principles don't match up 1-1 to theme-ui, do you see the basic vales being used within the sx prop, a complete switch to a className based approach or working side by side somehow?

The theme-ui tailwind theme is also pretty interesting. https://theme-ui.com/packages/tailwind/

from dripsy.

nandorojo avatar nandorojo commented on September 23, 2024 1

I haven't found a strong integration idea here other than what theme UI does, so I think I'm going to close this for now, unless someone thinks there's a good way to integrate tailwind.

My conversation about it here: vadimdemedes/tailwind-rn#35

I think Tailwind UI looks amazing, but doesn't seem like there's a fit to use it at the moment, so the best bet is just to use their components as inspiration. Maybe down the line, once Dripsy's core features are all ready, we could spin off some actual opinionated UI component libraries.

from dripsy.

nandorojo avatar nandorojo commented on September 23, 2024 1

This library by @TVke looks interesting: https://github.com/TVke/react-native-tailwindcss

Just an idea, I wonder if we could use it like so:

import { t } from 'react-native-tailwindcss'

export default () => (
  <View tailwind={[t.mT2, { ...t.mT3, ...t.mB3 }]} />
)

(I don't think those are real style atoms, I just put them there for illustration.)

Where each item in the tailwind array represents the styles for that breakpoint, rather than using the md: syntax typically used by tailwind CSS.

Some people really like atomic design patterns, and since theme-ui already has a tailwind adapter, could be interesting.

from dripsy.

nandorojo avatar nandorojo commented on September 23, 2024

It seems like the only crossover might be in using the same theme for both interchangeably. I'm going to try tailwind out and see if there are other ways they could work together.

Also: https://github.com/dvkndn/typed.tw

from dripsy.

saulamsal avatar saulamsal commented on September 23, 2024

Any updates regarding this?

from dripsy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.