Giter VIP home page Giter VIP logo

Comments (5)

tatthien avatar tatthien commented on September 22, 2024 1

Screenshot 2024-06-26 at 11 10 30
I'm getting the same issue and don't know how to get rid of it. For the font-size or border-radius, I prefer to use xs, sm, ... over 1...6.

from tamagui.

renesass avatar renesass commented on September 22, 2024

You need to define 0, 1, …, 6 in your font size and line height too. Xs, md, etc. are not sufficient.

from tamagui.

FranciscoKloganB avatar FranciscoKloganB commented on September 22, 2024

@renesass Hey hey. Can you explain this a bit further?

I'm new to Tamagui and I was wondering if there was a place to use semantic modifiers... Like @martinrodl I also prefer xs, sm, ..., xxl over 1 through 6. The issue is, while I understand createThemeBuilder basics, most of the code that exists to generate sizes was shamefully copy pasted for the original themes-v3.ts. I don't know the consequence of adding such semantic keys.

from tamagui.

richardwu avatar richardwu commented on September 22, 2024

Same issue: want to remove the 0, 1, ..., 6 tokens and only keep xs, sm, but looks like there's a component somewhere deeper that references $4.

from tamagui.

natew avatar natew commented on September 22, 2024

You can define your own sizes, if you can show me the components where it does look for $4 happy to fix that, it should only use $true now which is how we handle the default size.

from tamagui.

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.