Skip to content

CSS custom properties documentation #14850

@camwiegert

Description

@camwiegert

As theming is now based on CSS custom properties, we need to properly document them. We'll be using comments in the source to do so:

/** @prop --max-width: Max width of the alert */
  • action-sheet
  • alert
  • anchor
  • avatar
  • back-button
  • backdrop
  • badge
  • button
  • buttons
  • card-content
  • card-header
  • card-subtitle
  • card-title
  • card
  • checkbox
  • chip-button
  • chip-icon
  • chip
  • col
  • content
  • datetime
  • fab-button
  • fab-list
  • fab
  • footer
  • grid
  • header
  • icon
  • img
  • infinite-scroll-content
  • infinite-scroll
  • input
  • item-divider
  • item-group
  • item-option
  • item-options
  • item-sliding
  • item
  • label
  • list-header
  • list
  • loading
  • menu-button
  • menu-toggle
  • menu
  • modal
  • nav
  • note
  • picker-column
  • picker
  • popover
  • radio-group
  • radio
  • range-knob
  • range
  • refresher-content
  • refresher
  • reorder-group
  • reorder
  • ripple-effect
  • row
  • scroll
  • searchbar
  • segment-button
  • segment
  • select-option
  • select-popover
  • select
  • skeleton-text
  • slide
  • slides
  • spinner
  • split-pane
  • tab-button
  • tab-bar
  • tab
  • tabs
  • tap-click
  • text
  • textarea
  • thumbnail
  • title
  • toast
  • toggle
  • toolbar
  • virtual-scroll

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions