Translating a Custom Design System to Tailwind CSS

Поделиться
HTML-код
  • Опубликовано: 11 ноя 2021
  • In this video, we'll take a website design and corresponding style guide given to us by a designer, and translate it into a custom Tailwind CSS configuration to create our own utility framework tuned specifically for the project.
    Tailwind CSS: tailwindcss.com
    Configuration documentation: tailwindcss.com/docs/configur...
  • НаукаНаука

Комментарии • 126

  • @iDarthGigi
    @iDarthGigi 2 года назад +208

    Please make a video where you share your Visual Studio Code settings, themes, plugins, etc. Your setup looks so clean and professional!

    • @ray-lee
      @ray-lee 2 года назад +2

      +1

    • @gochagochitashvili9955
      @gochagochitashvili9955 2 года назад +1

      +1

    • @tomislavbalabanov8008
      @tomislavbalabanov8008 2 года назад +1

      +1

    • @Hurtwolf
      @Hurtwolf 2 года назад +1

      +1

    • @cesin68
      @cesin68 2 года назад +6

      Hello,
      1) In your project folder install the tailwind as usual,
      2) leave your tailwind.config.js as you see fit, but including jit mode
      mode: 'jit',
      purge: {
      content: [
      './Client/**/*.razor',
      './Client/**/*.html',
      './Client/**/*.js',
      ],
      },
      ...
      3) Run
      npx tailwindcss --output Client\wwwroot\css\tailwind.css --watch
      and will be listening when you are modifying your code

  • @QueeeeenZ
    @QueeeeenZ 2 года назад +8

    Love your intros and outros and the effects that you add. Makes learning that much more fun! Thanks, Simon!

    • @simonswiss
      @simonswiss 2 года назад +1

      I love making these intros and outros, so this is a win-win!

  • @danceban9166
    @danceban9166 2 года назад +6

    thanks for sharing the process of building custom design, many tips & tricks learning from here 👏 Working with tailwind was so strange at first, but now I am simply in love with it, really enjoying tailwind css ❤

  • @_the_one_1
    @_the_one_1 2 года назад +8

    I love the fact that you use accessibility and semantic markup when implementing design! 🔥

  • @iDarthGigi
    @iDarthGigi 2 года назад +7

    Amazing video as always! I love the time and care put into each video!

  • @princeparaste5659
    @princeparaste5659 Год назад +2

    Give the UI designer a raise for providing all the typography and colors etc.

  • @aslamshah88
    @aslamshah88 2 года назад +9

    Dear Simon, the videos you make are totally awesome! The way you explain and code feels so relaxing and make it enjoyable. Keep up the great work!!! I appreciate how to explain the design guide process usign tailwind which is such an important topic.

    • @simonswiss
      @simonswiss 2 года назад +1

      I'm glad I was able to help 🙏

  • @johnlin6121
    @johnlin6121 2 года назад

    This workflow seems VERY professional. Thanks for sharing that.

  • @josefigueiredo4775
    @josefigueiredo4775 2 года назад +3

    At first I was really reluctant about Tailwind, specially because it makes me sick when you have that much text on your HTML. But it just conquered me, it's inevitable. And this guy is really awesome, top quality videos, he really makes you wanna get to work with Tailwind

  • @jayhu6075
    @jayhu6075 Год назад

    As a beginner I learn a lot from your channel. Hopefully more into designs tutors from Figma to Tailwind CSS. Many thanks.

  • @babakfp
    @babakfp 2 года назад +3

    Thank you for the effort that you put into this video🌼.
    That jump to feature was so satisfying. I wish we had it in the real world too😄.

    • @simonswiss
      @simonswiss 2 года назад +2

      Ah yeah this is a pretty useful magic trick - love to use it when deadlines are getting too close 👍

  • @Explores_Montreal
    @Explores_Montreal 2 года назад

    Liked and shared before start watching. Keep up the great work, full respect 🙏

  • @azam920
    @azam920 2 года назад +2

    🔥🔥🔥🔥🔥 as always, huge thanks for awesome 😎 videos

  • @chunli680
    @chunli680 2 года назад +1

    fun to watch and educational as always!

  • @agk2011
    @agk2011 2 года назад +1

    I loved it.
    Great work as usual.

  • @EarthworksAudio
    @EarthworksAudio 2 года назад

    Great video - and you sound great with that ICON Pro too!

  • @edwinramirez
    @edwinramirez 2 года назад

    Awesome Simon!!!, Your videos are best I've seen on youtube, I loved the sound of super mario 🍄.

  • @ed1nh0
    @ed1nh0 2 года назад +3

    Nothing to say about how amazing this is. Every video I watch about tw amazes me a lot! That said I'd like to know where I can find Figma's best practices and design systems like this one you use for training/practicing purpose.

  • @codingwithrendi
    @codingwithrendi 10 дней назад

    super cool sir, this is make development easier

  • @suhas5214
    @suhas5214 2 года назад +78

    Could we please get the figma file and the completed project files? As a beginner it would really help out trying to build this.

  • @adbirdk
    @adbirdk 2 года назад

    Great content. Thank you very much!

  • @lukedharrison326
    @lukedharrison326 2 года назад +2

    That intro though.. 🔥

  • @MorganMurungi
    @MorganMurungi 2 года назад

    If only I could like twice, I love tailwind css.

  • @pranitmane
    @pranitmane 5 месяцев назад

    This was very helpful 👍👍

  • @jullweber508
    @jullweber508 2 года назад +2

    Do you have the style guide somewhere where we can view it? It seems like a great starter point for designers. Thanks!

  • @breack1652
    @breack1652 2 года назад +4

    It would be really cool if you could share the style guide document so we can use it as a template in the future

  • @Pandelache
    @Pandelache 2 года назад

    Love your microphone!

  • @BobbyBundlez
    @BobbyBundlez Год назад

    literally have spent an hour setting up tailwind, emmet, and intellisense... and now this.
    there is no way anyone can ever argue against tailwind again. there is literally no excuse to not use this in 2022

  • @daoodqurashi4758
    @daoodqurashi4758 2 года назад

    As always top notch

  • @anoorhakim20
    @anoorhakim20 2 года назад +4

    Make the header section please, i'm really curious how you make the gradient background

  • @devsbuddy
    @devsbuddy 2 года назад

    That is what I was looking for.

  • @samisbgh6253
    @samisbgh6253 2 года назад +2

    I love this guy ❤️🌚

  • @miguelhinojosa6443
    @miguelhinojosa6443 10 месяцев назад

    Excelente Video gracias infinitas

  • @SushanGhimire55
    @SushanGhimire55 2 года назад +1

    Amazing❤️

  • @Tchosk
    @Tchosk Год назад

    handy video thanks!

  • @marcorieser
    @marcorieser 2 года назад

    At 4:30, why are you defining the font-size in px instead of rem and line-height in px instead without a unit? Just curious.

  • @daviemola864
    @daviemola864 2 года назад

    This guy is just awesome....

  • @lukaszpiotrluczak
    @lukaszpiotrluczak Год назад

    Hi! Are you using VSCode? Which plugins are you using? Especially the ones which help with tailwind

  • @youneshenni5417
    @youneshenni5417 Год назад

    this is amazing!!!

  • @yekrinasoftware
    @yekrinasoftware Год назад

    Great Components

  • @andreaskarz
    @andreaskarz 9 месяцев назад

    The most important video when you start a tailwind project

  • @MikeStratton
    @MikeStratton 2 года назад

    Awesome!

  • @zebcode
    @zebcode Месяц назад

    I love this tutorial, it would be really useful though if you could also share the design guide so that I can try these things myself against a guide.

  • @sudarshanv9797
    @sudarshanv9797 2 года назад +7

    Tailwind is my favourite design system. I request you to make series of videos on
    1. setting up Tailwind with various frameworks in whatever possible ways
    2. explaining internals of tailwind
    3. creating final minified css file
    When I am working with Tailwind css, it's hard to troubleshoot any issues because I know tailwind at a very high level and docs aren't enough out there

  • @SunSenAn
    @SunSenAn 2 года назад

    I want to design only for Desktop version how can I disable the responsive when resize screen?

  • @osherezra8460
    @osherezra8460 2 года назад

    Very Practical thank you. I would me a video with bullet points of workflow for this kind of projects

  • @prizigner
    @prizigner 2 года назад

    Im still seeing that NOW! Power punch 🤜

  • @KaranBhansali08
    @KaranBhansali08 2 года назад

    Thanks for sharing

  • @karianpour
    @karianpour 2 года назад

    I wish that the designer could handover the font sizes in "rem" unit. Basically I do it my self, then setting the font size on html element for screen sizes, is enough to change the font size on the other elements.

  • @easonhuang4031
    @easonhuang4031 2 года назад +1

    Good, subscribed!

    • @Ikram-Hussain
      @Ikram-Hussain Год назад

      hey do you know which theme and font used in this video

    • @easonhuang4031
      @easonhuang4031 Год назад

      @@Ikram-Hussain I have no idea

  • @zachphilipp786
    @zachphilipp786 Год назад

    Any place I can download free style guide documents just to practice my web design and dev?

  • @kevind2154
    @kevind2154 2 года назад

    Vers interesting video thanks

  • @user-ng3nu5zy5l
    @user-ng3nu5zy5l Месяц назад

    which font you're using for vscode ?

  • @christogonusobasi7882
    @christogonusobasi7882 2 года назад +1

    How can I configure editor to bring the suggestions as you have?

    • @simonswiss
      @simonswiss 2 года назад +1

      Hey! This is the vscode "Tailwind Intellisense" extension - if you're using vscode, installing that extension will work without any setup!

  • @eminembts2832
    @eminembts2832 2 месяца назад

    how did you get that background color/image
    can anyone helpme with that

  • @Ikram-Hussain
    @Ikram-Hussain Год назад

    can anyone tell me which font and theme were used on this video?
    please😍

  • @johncarter6206
    @johncarter6206 2 года назад +4

    Should we be using rem for custom font sizes, even when the designers give us px?

    • @macbruker
      @macbruker 2 года назад +3

      Good question! I think converting pixel values to rem is good practice, and I believe it also helps some assistive tools.

    • @permanar_
      @permanar_ 2 года назад

      Can anyone care to explain why we should rem instead? I mean I know it would take our base root size as their "parameters" but I mean still, why?
      I don't think it could scale pretty good especially on larger screen size? (I sometimes using vw unit and calculate it based on what px value was it given for a specific screen design i.e.: 1440px or 1920px and just like simply divide it by percent)

  • @yashsolanki069
    @yashsolanki069 Год назад

    Ser please can we get the figma file of this project!!
    Congratulations on successfull proTailwind workshop 🎉
    and best wishes for the new journey ahead 🤘

  • @4444altan
    @4444altan 2 года назад +3

    Hello, thanks for the tutorial, but I have a question:
    According to the chart, every h2 in the app will have 'font-black text-purple font-satoshi text-2xl tablet-text-4xl', so why not style every h2 in the app with @apply instead of copy/pasting all the classes in every h2? (Same for other headings/etc).

    • @darkbluewalther
      @darkbluewalther 2 года назад +1

      I was exactly thinking of this!

    • @isimvol
      @isimvol 2 года назад

      Ideally you'll create a component (react, vue, etc). Applying styles globally is not a good idea because in a large project you'll encounter conflicting styles sooner or later.

    • @groovebird812
      @groovebird812 18 дней назад

      @@isimvol not everyone is using react, vue etc. Creating a component is not an option for all cases. Global styles are very useful and there are no conflicts. then your system has issues

  • @Zoutzuurtjes
    @Zoutzuurtjes 2 года назад +1

    This is probably asked a lot, but what is your VScode theme name? Really like it! :)

    • @Ikram-Hussain
      @Ikram-Hussain Год назад

      hey do you know which theme and font used in this video

    • @kreten780
      @kreten780 Год назад

      Monokai Pro I believe

  • @tomcat1112k
    @tomcat1112k 2 года назад

    hi, is it possible I can have the Figma file?

  • @AlThePal78
    @AlThePal78 11 месяцев назад

    love your videos but I rather have vanilla css mixed, like a nontailwind css especially for links if they going to be all the same. I like tailwind but feel it is more work at some point. you have to set it up on all the time. I mean I will use it for break points makes that easier most the time lol

  • @WarframeCrunch
    @WarframeCrunch Год назад

    I'm not sure if it's an easy simple project.
    But I see that in 2022-2023 the sites are going for easy designs. While I was doing somekind of complicated ones in the past.

  • @HassanHajX
    @HassanHajX 2 года назад +1

    Anyone has any idea how to create the background colors and shapes used in the design showed in the video ?
    I see these type of blurry/gradient in a lot of design websites like dribbble but I have no idea how its actually done in html/css

    • @TailwindLabs
      @TailwindLabs  2 года назад +2

      The secret is simpler than you'd expect - the tag 😄

    • @HassanHajX
      @HassanHajX 2 года назад

      @@TailwindLabs Oh god... That was the least expected answer I was waiting for! Are you seriously talking about using like a big image, or a multi part / sliced image glued together with positioning and all that ?
      But these type of backgrounds are so seamless, they don't seem like an image to me

    • @jimohtaiwo3703
      @jimohtaiwo3703 6 месяцев назад

      this is why i just replied to a comment earlier asking for the source code for this video , the gradients , we want to know how you achieved that , its positioning, responsiveness and how it should be used @@TailwindLabs

  • @iDarthGigi
    @iDarthGigi 2 года назад

    What's the vsc color extension at 3:26?

    • @khaledtribes
      @khaledtribes 2 года назад

      I'd love to know that too!

    • @ninecrowns7092
      @ninecrowns7092 2 года назад +4

      I think it's Color Highlight by Sergii Naumov

    • @simonswiss
      @simonswiss 2 года назад

      @@ninecrowns7092 Yep, that's it!

  • @andygr1n1
    @andygr1n1 2 года назад

    thanks!

    • @Ikram-Hussain
      @Ikram-Hussain Год назад

      hey do you know which theme and font used in this video

    • @andygr1n1
      @andygr1n1 Год назад

      @@Ikram-Hussain theme: nightowl
      font: Dank Mono

    • @Ikram-Hussain
      @Ikram-Hussain Год назад +1

      @@andygr1n1 thanks man

    • @andygr1n1
      @andygr1n1 Год назад

      @@Ikram-Hussain bro just recomend you do not install italic font for Dank Mono, it bugs on some letters! Install just regular version and enjoy the style.

  • @badreddineb26
    @badreddineb26 2 года назад

    its will be great if you leave as the code for this
    thank you are a great help

  • @thepatternplayback
    @thepatternplayback 11 месяцев назад

    "Draw the rest of the owl"

  • @Devprecious
    @Devprecious 2 года назад +1

    I love the right........... *Now* 😂 watched it twice

    • @simonswiss
      @simonswiss 2 года назад

      My kids keep asking to watch it again 🤣

  • @moneyfr
    @moneyfr 2 года назад

    Add child selector >~ on tailwind please

  • @altairtodescatto
    @altairtodescatto 2 года назад

    Usually the style guide is never this complete, or existing at all hahah

  • @kszyh_
    @kszyh_ 2 года назад +1

    Can you share that figma design? I would show our graphic designer how it should look. I am always getting shit from him.

  • @nicholassingh138
    @nicholassingh138 2 года назад

    I wonder which other css framework gave those 2 dislikes

  • @the71agency10
    @the71agency10 Год назад

    Steeeeeeevvveeeeeeeee