JSPM

  • Created
  • Published
  • Downloads 98014
  • Score
    100M100P100Q163421F
  • License MIT

Package Exports

  • @livekit/components-styles
  • @livekit/components-styles/layout
  • @livekit/components-styles/themes/rounded

Readme

Dev notes

@include vs @extend

@mixin is used to group css code that has to be reused a no of times. Whereas the @extend is used in SASS to inherit(share) the properties from another css selector. @extend is most useful when the elements are almost same or identical.

The compiled css output would suggest to use @extend in cases where css classes should inherit from parent classes (e.g. .disconnect-button inherits base properties from .button).