Web Component Styling & Theming - Web Components SF Sept 2019

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Justin Fagnani, a long-time Polymer Project team member, will talk all about styling and theming web components. This is a critical topic for anyone building reusable web components.
    Starting with how to think about styling and theming in a world with native style isolation, he'll cover a number of techniques and styling features - from current workhorses like CSS variables, to new features like Constructible Stylesheets and ::part(), to upcoming proposals like ::theme() and CSS modules.

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

  • @TheVertical92
    @TheVertical92 2 ปีที่แล้ว

    Wow that was a great Talk!

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

    Great overview of the current status and coming platform features for styling Web Components. Thanks!

  • @PaulCozma
    @PaulCozma 5 ปีที่แล้ว

    Really excited for css modules. Great talk!

  • @Oswee
    @Oswee 4 ปีที่แล้ว

    Really great talk. Thank you Justin. :)

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

    Exciting talk! The audio is very quiet though.

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

    even in nearly April 2021 Firefox has no support for either internals or AdoptedStyleSheets.

    • @TheVertical92
      @TheVertical92 2 ปีที่แล้ว

      yeah and i just saw that there is also no support for the .replaceSync() method on CSSStyleSheet API 😑

  • @karlheinzneugebauer
    @karlheinzneugebauer 3 ปีที่แล้ว

    It's sad that we got ::part, but not ::theme. Now we can only dig one level down the tree unless we specify every single part of every single in "exportparts", as you mentioned. Custom properties are enough for light and dark mode, nothing else. I'm going to puke at the current spec!