Translating a Custom Design System to Tailwind CSS

Sdílet
Vložit
  • čas přidán 11. 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...
  • Věda a technologie

Komentáře • 126

  • @princeparaste5659
    @princeparaste5659 Před rokem +4

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

  • @iDarthGigi
    @iDarthGigi Před 2 lety +210

    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 Před 2 lety +2

      +1

    • @gochagochitashvili9955
      @gochagochitashvili9955 Před 2 lety +1

      +1

    • @tomislavbalabanov8008
      @tomislavbalabanov8008 Před 2 lety +1

      +1

    • @Hurtwolf
      @Hurtwolf Před 2 lety +1

      +1

    • @cesin68
      @cesin68 Před 2 lety +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 Před 2 lety +8

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

    • @simonswiss
      @simonswiss Před 2 lety +1

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

  • @iDarthGigi
    @iDarthGigi Před 2 lety +7

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

  • @danceban9166
    @danceban9166 Před 2 lety +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 Před 2 lety +8

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

  • @johnlin6121
    @johnlin6121 Před 2 lety

    This workflow seems VERY professional. Thanks for sharing that.

  • @agk2011
    @agk2011 Před 2 lety +1

    I loved it.
    Great work as usual.

  • @jayhu6075
    @jayhu6075 Před rokem

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

  • @chunli680
    @chunli680 Před 2 lety +1

    fun to watch and educational as always!

  • @josefigueiredo4775
    @josefigueiredo4775 Před 2 lety +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

  • @aslamshah88
    @aslamshah88 Před 2 lety +10

    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 Před 2 lety +1

      I'm glad I was able to help 🙏

  • @Explore_Montreal
    @Explore_Montreal Před 2 lety

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

  • @azam920
    @azam920 Před 2 lety +2

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

  • @EarthworksAudio
    @EarthworksAudio Před 2 lety

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

  • @babakfp
    @babakfp Před 2 lety +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 Před 2 lety +2

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

  • @edwinramirez
    @edwinramirez Před 2 lety

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

  • @adbirdk
    @adbirdk Před 2 lety

    Great content. Thank you very much!

  • @ed1nh0
    @ed1nh0 Před 2 lety +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.

  • @suhas5214
    @suhas5214 Před 2 lety +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.

  • @daoodqurashi4758
    @daoodqurashi4758 Před 2 lety

    As always top notch

  • @lukedharrison326
    @lukedharrison326 Před 2 lety +2

    That intro though.. 🔥

  • @codingwithrendi
    @codingwithrendi Před měsícem

    super cool sir, this is make development easier

  • @pranitmane
    @pranitmane Před 6 měsíci

    This was very helpful 👍👍

  • @devsbuddy
    @devsbuddy Před 2 lety

    That is what I was looking for.

  • @breack1652
    @breack1652 Před 2 lety +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 Před 2 lety

    Love your microphone!

  • @BobbyBundlez
    @BobbyBundlez Před rokem

    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

  • @SushanGhimire55
    @SushanGhimire55 Před 2 lety +1

    Amazing❤️

  • @anoorhakim20
    @anoorhakim20 Před 2 lety +4

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

  • @MorganMurungi
    @MorganMurungi Před 2 lety

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

  • @Tchosk
    @Tchosk Před rokem

    handy video thanks!

  • @samisbgh6253
    @samisbgh6253 Před 2 lety +2

    I love this guy ❤️🌚

  • @youneshenni5417
    @youneshenni5417 Před rokem

    this is amazing!!!

  • @jullweber508
    @jullweber508 Před 2 lety +2

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

  • @yekrinasoftware
    @yekrinasoftware Před rokem

    Great Components

  • @daviemola864
    @daviemola864 Před 2 lety

    This guy is just awesome....

  • @miguelhinojosa6443
    @miguelhinojosa6443 Před rokem

    Excelente Video gracias infinitas

  • @MikeStratton
    @MikeStratton Před 2 lety

    Awesome!

  • @zebcode
    @zebcode Před 3 měsíci

    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.

  • @KaranBhansali08
    @KaranBhansali08 Před 2 lety

    Thanks for sharing

  • @osherezra8460
    @osherezra8460 Před 2 lety

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

  • @SunSenAn
    @SunSenAn Před 2 lety

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

  • @prizigner
    @prizigner Před 2 lety

    Im still seeing that NOW! Power punch 🤜

  • @easonhuang4031
    @easonhuang4031 Před 2 lety +1

    Good, subscribed!

  • @andreaskarz
    @andreaskarz Před 10 měsíci

    The most important video when you start a tailwind project

  • @sudarshanv9797
    @sudarshanv9797 Před 2 lety +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

  • @marcorieser
    @marcorieser Před 2 lety

    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.

  • @karianpour
    @karianpour Před 2 lety

    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.

  • @kevind2154
    @kevind2154 Před 2 lety

    Vers interesting video thanks

  • @lukaszpiotrluczak
    @lukaszpiotrluczak Před 2 lety

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

  • @Ikram-Hussain
    @Ikram-Hussain Před 2 lety

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

  • @johncarter6206
    @johncarter6206 Před 2 lety +4

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

    • @macbruker
      @macbruker Před 2 lety +3

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

    • @permanar_
      @permanar_ Před 2 lety

      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)

  • @eminembts2832
    @eminembts2832 Před 3 měsíci

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

  • @4444altan
    @4444altan Před 2 lety +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 Před 2 lety +1

      I was exactly thinking of this!

    • @isimvol
      @isimvol Před 2 lety

      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 Před 2 měsíci

      @@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

  • @zachphilipp786
    @zachphilipp786 Před rokem

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

  • @yashsolanki069
    @yashsolanki069 Před rokem

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

  • @christogonusobasi7882
    @christogonusobasi7882 Před 2 lety +1

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

    • @simonswiss
      @simonswiss Před 2 lety +1

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

  • @HassanHajX
    @HassanHajX Před 2 lety +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  Před 2 lety +2

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

    • @HassanHajX
      @HassanHajX Před 2 lety

      @@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 Před 8 měsíci

      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

  • @tomcat1112k
    @tomcat1112k Před 2 lety

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

  • @user-ng3nu5zy5l
    @user-ng3nu5zy5l Před 3 měsíci

    which font you're using for vscode ?

  • @AlThePal78
    @AlThePal78 Před rokem

    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 Před rokem

    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.

  • @Zoutzuurtjes
    @Zoutzuurtjes Před 2 lety +1

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

    • @Ikram-Hussain
      @Ikram-Hussain Před 2 lety

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

    • @kreten780
      @kreten780 Před rokem

      Monokai Pro I believe

  • @badreddineb26
    @badreddineb26 Před 2 lety

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

  • @iDarthGigi
    @iDarthGigi Před 2 lety

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

  • @andygr1n1
    @andygr1n1 Před 2 lety

    thanks!

    • @Ikram-Hussain
      @Ikram-Hussain Před 2 lety

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

    • @andygr1n1
      @andygr1n1 Před 2 lety

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

    • @Ikram-Hussain
      @Ikram-Hussain Před 2 lety +1

      @@andygr1n1 thanks man

    • @andygr1n1
      @andygr1n1 Před 2 lety

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

  • @moneyfr
    @moneyfr Před 2 lety

    Add child selector >~ on tailwind please

  • @altairtodescatto
    @altairtodescatto Před 2 lety

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

  • @Devprecious
    @Devprecious Před 2 lety +1

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

    • @simonswiss
      @simonswiss Před 2 lety

      My kids keep asking to watch it again 🤣

  • @thepatternplayback
    @thepatternplayback Před rokem

    "Draw the rest of the owl"

  • @kszyh_
    @kszyh_ Před 2 lety +1

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

  • @the71agency10
    @the71agency10 Před rokem

    Steeeeeeevvveeeeeeeee

  • @nicholassingh138
    @nicholassingh138 Před 2 lety

    I wonder which other css framework gave those 2 dislikes