Why is Radix Themes Built This Way - A Solution

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 37

  • @StephenRayner
    @StephenRayner ปีที่แล้ว +5

    This video introduced me to your channel. It was short to the point and the speed you speak is a decent balance between to slow and fast.
    Not too much bloat (re-explaining, intros / outros)
    I learn something and that’s exactly why I clicked the video. Thank you.

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว

      Thank you so much for your kind words, really appreciate it!

  • @lazygamer6249
    @lazygamer6249 ปีที่แล้ว +4

    That's why I love Shadcn.

  • @roguesherlock
    @roguesherlock ปีที่แล้ว +3

    I was just thinking about this today, this is such a simple and elegant solution! Thanks for sharing!

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว +2

      And soooo powerful too! Great minds think alike!

  • @adoreos
    @adoreos 7 หลายเดือนก่อน

    I totally agree with you. But about the solution - I mean, this works. But this isn't the way it's meant to be. Also, who of us like to see so much overrides? I much prefer using the non-styled primitives from Radix UI and style them using Tailwind CSS + cva, which is an approach implemented in shadcn and honestly works great for me so far!

    • @frontendfyi
      @frontendfyi  7 หลายเดือนก่อน +1

      100% agree with using the primitives. It’s also the only thing I use. This was only to illustrated how cascade layers can be of great help to you. I agree that radix themes is mainly meant to take it and use it like it is.

  • @ananthsview8034
    @ananthsview8034 ปีที่แล้ว +3

    I am using Next 14, I did the same way you did, and Now my Radix theme is not applied on my page. checked in the developer window, I can't see the radix_ui layer, Please guide me to fix the issue

  • @rexspydevil
    @rexspydevil ปีที่แล้ว +1

    Thank you for sharing this but somehow it's not working for me
    I am using next js 14
    When I m investigating in developer window I couldn't find the radix layer applied at all.....please share some insight on this

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว

      Just happened to encounter this issue with someone else. It could be that you are importing the radix css file somewhere else still. A page or the global layout for example. You should make sure you only import it once, in the global.css file where you specify the layer. Hope this helps!

    • @rexspydevil
      @rexspydevil ปีที่แล้ว +2

      ​@@frontendfyiI have followed the same steps even copied the code from your corresponding article but still the same issue.
      Below is the steps followed:
      1. created a new nextjs 14 project
      2. over wrote the code in global.css
      3. In the root layout file I have just imported radix themes
      4. Just added an button from radix themes and applied a tailwind bg-red-600 class.
      The output is only the tailwind class is rendered not the radix theme and in the developer window I can see only tw_base layer applied.
      Please help with some insights

    • @ananthsview8034
      @ananthsview8034 ปีที่แล้ว

      I faced the same kind of problems, and now I cant see my radix ui layer on the developer window. all radix themes not applied on my page

    • @cristiancoppari
      @cristiancoppari 5 หลายเดือนก่อน

      im having the same issue with Next.js 14

  • @elenamikhaylova5086
    @elenamikhaylova5086 10 หลายเดือนก่อน

    this man knows CSS!

  • @empte
    @empte ปีที่แล้ว

    Thank you! This was so incredibly helpful.

  • @digitalsahara6670
    @digitalsahara6670 ปีที่แล้ว

    great video man! when is the course coming out? any ETA?

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว +1

      Building the course and platform around it is SO much more work than I anticipated 🤯 I'm currently working on getting the curriculum finished and the marketing page up (will probably be up next week!). After that it's full on recording. I will release the videos in batches, so you can start watching as early as possible. I'll also send out a newsletter with updates soon, so definitely subscribe (in the footer) if you haven't already.
      Thanks for your patience, I really appreciate it!

  • @zindev
    @zindev ปีที่แล้ว

    Nice! Could you tell me the name of your font?

  • @OnlyJavascript
    @OnlyJavascript ปีที่แล้ว +1

    I don't see this is working for me? can u share link to the github repo?

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว

      Check the description. The link is there.

    • @OnlyJavascript
      @OnlyJavascript ปีที่แล้ว

      ​@@frontendfyi

    • @OnlyJavascript
      @OnlyJavascript ปีที่แล้ว

      @@frontendfyi please provide github repo link. It's not working for me.

  • @dailydose7772
    @dailydose7772 ปีที่แล้ว

    Nice work bro, great solution and great video as usual

  • @fr3fou
    @fr3fou 9 หลายเดือนก่อน

    what's the editor font you use?

    • @frontendfyi
      @frontendfyi  9 หลายเดือนก่อน

      It's Recursive Mono Casual Static

  • @chi-mf1cx
    @chi-mf1cx ปีที่แล้ว

    good job buddy!

  • @AndersonSousa33
    @AndersonSousa33 ปีที่แล้ว

    To me, it seems like Radix Themes is a rushed response to shadcn-ui. i'll still wait for the "Catalyst"

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว

      I think you could be right there yeah. Wanted themes to be so much better, since there primitives are very high class. Unfortunately imo it isn’t of the same quality. Despite the team absolutely working hard on it and with the best intentions.

  • @juberpadyar8850
    @juberpadyar8850 ปีที่แล้ว

    please upload series beginner to advance on framer motion.

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว +1

      First parts dropping this month! It will be as part of PRO though, not free on TH-cam. Check fe.fyi/pro. Prices will increase once the course releases!

  • @calmmind3160
    @calmmind3160 2 หลายเดือนก่อน

    they dont use tailwind on purpose just use vanilla css and also you are using themes which isn't headless

  • @momomoDividedBy3
    @momomoDividedBy3 หลายเดือนก่อน

    It seems to me like radix is built that way because it's team is aware layers exist...

  • @chi-mf1cx
    @chi-mf1cx ปีที่แล้ว

    bro next video on the same topic but with sass

    • @frontendfyi
      @frontendfyi  ปีที่แล้ว

      Check the blog linked in the description too. At the bottom is a plain css example showing how this would work without tailwind as well!

  • @MrWhite407
    @MrWhite407 ปีที่แล้ว

    Thanks a lot for this solution ❤‍🩹