Thinking on ways to solve COLOR SCHEMES

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

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

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

    Super clean presentation and code, thanks a lot!

  • @patroclusTractors
    @patroclusTractors 3 года назад +23

    This guy is soo cool I always look forward to his videos on chrome. Keep it up. More of this pleeez

    • @AdamArgyleInk
      @AdamArgyleInk 3 года назад +1

      thanks!!

    • @apidas
      @apidas 3 года назад +3

      yess. I love adam's videos

  • @nro337
    @nro337 3 года назад

    Great video!!

  • @BakedxMasa
    @BakedxMasa 3 года назад +12

    I do not know what I did on RUclips that I got these Chrome Dev videos to my feed,
    but I'm absolutely loving them.
    Best videos by far are these GUI Chanllenges and CSS vids by Una

    • @DevAmateur
      @DevAmateur 3 года назад

      Absolutely! these vids are so well made and incredibly useful.

  • @musicmantra4952
    @musicmantra4952 3 года назад +1

    Hi, the code is not visible clearly in the text editor, especially the semicolon and colons.
    Thanks

  • @nicolasparada
    @nicolasparada 3 года назад +6

    This is awesome. Using custom properties with HSL color format makes all the sense. You just rotate the hue variable and you get all color palettes.

    • @RomboutVersluijs
      @RomboutVersluijs 3 года назад

      Yeah never thought of using in that manner, makes so much sense and is wat easier to flip thru light and dark

  • @RomboutVersluijs
    @RomboutVersluijs 3 года назад +4

    Dude that dim color palette is SWEET 😎!!! Thanks for showing that. We made a app for organising your visual image library and we use dark and light. I think I'm going to add a dim scheme now to it. It so nice!

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

    thank you so much! This is exactly what I wanted, EXACTLY.

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

    Does anyone know which VS Code theme I could use to match his? I tried "Kung Fury", but the shades are very different.

  • @SalomDunyoIT
    @SalomDunyoIT 3 года назад +1

    CSS is becoming a prog lang :)

  • @TheNewton
    @TheNewton 3 года назад +1

    The attribute on the root is so straightforward and normal now its difficult to to even think of another approach the only thing I can think of besides stylesheet swapping is using the radio button trick, or checkbox hack immediately after body opening tag and sibling, or adjacency , selectors targeting the next #main container div.

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

    You rock and the content is priceless. Thanks Adam 💯

  • @TheNewton
    @TheNewton 3 года назад +1

    Are there aria attributes specifically for themes?

  • @Parkynson
    @Parkynson 3 года назад +1

    I learn so much from your videos. Thank you for putting together so much useful information.

  • @safriudinpanggabean864
    @safriudinpanggabean864 3 года назад +1

    Nice

  • @RomboutVersluijs
    @RomboutVersluijs 3 года назад +1

    Man so glad you showed that dim approach, lots of times I dislike the dark because contrast is to high. When I read to long using those very contrasting dark themes my eyes get strained

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

    whoa thats brilliant!

  • @krtirtho
    @krtirtho 3 года назад +1

    The video is great...
    But the boxes kinda feels like monochrome version of Microsoft logo, am I right?

    • @AdamArgyleInk
      @AdamArgyleInk 3 года назад +1

      i see that! or a simon says hehe

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

    you are a rock star

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

    Thank you!

  • @longingbydesign
    @longingbydesign 3 года назад

    Isn't color-scheme an invalid attribute in HTML 5? Or is it being specified?

  • @kuntaldas2843
    @kuntaldas2843 3 года назад

    to me it is revolutionary, awesome stuff. Now I know( I think so ) how "Material U" works out colors under the hood.

  • @jouni-
    @jouni- 3 года назад

    Very cool!
    Do you happen to know how much this type of approach (using a ton of custom properties that are computed based on other properties) might affect performance?
    I’m hoping they are only computed once, and then the same values cascade down the hierarchy just like normal props would.
    But still, it’s gotta have some effect, at least some increse in memory allocation, right? My fear is that it also increases the time to calculate styles for all elements on the page.

  • @rivadav
    @rivadav 3 года назад

    I’ve only recently discovered this channel and I love the series on the UI from Una and Adam! Keep up the good work guys 👏

  • @soonshin-sam-kwon
    @soonshin-sam-kwon 2 года назад

    Really appreciate it! Very helpful for beginners (like me) :)

  • @carloscaceres2608
    @carloscaceres2608 3 года назад

    what is the debugging layout he's using?

  • @yuriyvasilyev7785
    @yuriyvasilyev7785 3 года назад

    Very helpful, thank you!

  • @BakedxMasa
    @BakedxMasa 3 года назад

    This might go out of scope, but:
    It's good to give the user to toggle themes, but when creating an PWA - the manifest allows to select only one `background_color`.
    The `background_color` should be the same color as the load page, to provide a smooth transition.
    However, now as the user has the ability to change the theme - it might cause sudden color changes when loading an PWA.

    • @jakubwegrzyn3798
      @jakubwegrzyn3798 3 года назад

      In my opinion it's better to assume users have dark them since showing dark color for a second doesn't cause any problems. On the other hand shining very bright color when every user's app is dark is very annoying and hurts eyes.

  • @joefads5040
    @joefads5040 3 года назад

    I'm using multple dark themes across my blog with css custom properties. It would have been cool to see the JS behind the input changes to update

    • @BakedxMasa
      @BakedxMasa 3 года назад +1

      Check the description - it has links for the live version + github repo.
      The .js part is ~5 lines of code.

  • @change-requested
    @change-requested 3 года назад

    nice!

  • @RomboutVersluijs
    @RomboutVersluijs 3 года назад

    Specificity?!? Never heard of that's ord 😭

  • @RomboutVersluijs
    @RomboutVersluijs 3 года назад

    Ps you called this CSS, but can CSS do functions like this, I thought only scss could do that?

    • @AdamArgyleInk
      @AdamArgyleInk 3 года назад +3

      sure can! here's a little sandbox with plain ol vanilla and HSL + calc() codepen.io/argyleink/pen/OJNyzbp

    • @RomboutVersluijs
      @RomboutVersluijs 3 года назад

      @@AdamArgyleInk i just checked and forked it, i see its basically calc, i didnt noticed that at first.
      PS i made an issue, your using at css but do use scss methods :)
      & > * {} will not work

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

      @@RomboutVersluijs yes, the colors are all vanilla CSS calc(), but the rest of the stylesheet uses nesting and probably another future feature or 2 that PostCSS preprocesses out during a build. Try using Vite from the repo! it'll build a vanilla stylesheet for you 👍🏻

    • @RomboutVersluijs
      @RomboutVersluijs 3 года назад

      @@AdamArgyleInk im not dev so im not all to familiar with all of this. I only noticed the css uses nested classes like sccs does. testing it locally would not work for me and it misses some classes which the demo page does have

    • @justinoneill2837
      @justinoneill2837 3 года назад +1

      @@RomboutVersluijs you should look into Vite, it's super easy to use over all the other build tools and very future proof

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

    Hey Adam! Would love to see this implemented with #TailwindCSS or at least start a conversation around it!

  • @sjorsborsoborsobors
    @sjorsborsoborsobors 3 года назад

    I love this guy but that cursive font in some parts of the code gives me a tummy ache