Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS custom properties documentation #14850

Closed
86 tasks done
camwiegert opened this issue Jul 24, 2018 · 4 comments
Closed
86 tasks done

CSS custom properties documentation #14850

camwiegert opened this issue Jul 24, 2018 · 4 comments
Assignees
Labels
package: core @ionic/core package

Comments

@camwiegert
Copy link
Contributor

camwiegert commented Jul 24, 2018

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
@camwiegert camwiegert added the package: core @ionic/core package label Jul 24, 2018
@camwiegert camwiegert changed the title Core CSS custom properties documentation CSS custom properties documentation Jul 24, 2018
@camwiegert camwiegert added the css label Jul 24, 2018
@adamdbradley
Copy link
Contributor

Ok with a format like jsdocs?

/**
 * @prop --max-width: Max width of the alert
 * @prop --min-width: Min width of the alert
 */

brandyscarney added a commit that referenced this issue Aug 8, 2018
camwiegert added a commit that referenced this issue Aug 8, 2018
camwiegert added a commit that referenced this issue Aug 8, 2018
camwiegert added a commit that referenced this issue Aug 8, 2018
brandyscarney added a commit that referenced this issue Aug 8, 2018
camwiegert pushed a commit that referenced this issue Aug 8, 2018
camwiegert added a commit that referenced this issue Aug 9, 2018
brandyscarney added a commit that referenced this issue Aug 13, 2018
adds padding attributes to select to style the correct padding with a
stacked/floating label

fixes #15140 references #14850
brandyscarney added a commit that referenced this issue Aug 14, 2018
brandyscarney added a commit that referenced this issue Aug 14, 2018
brandyscarney added a commit that referenced this issue Aug 14, 2018
brandyscarney added a commit that referenced this issue Aug 14, 2018
@brandyscarney
Copy link
Member

As part of this issue we are also resolving the following issues:

brandyscarney added a commit that referenced this issue Aug 16, 2018
brandyscarney added a commit that referenced this issue Aug 16, 2018
camwiegert added a commit that referenced this issue Aug 17, 2018
camwiegert added a commit that referenced this issue Aug 21, 2018
camwiegert added a commit that referenced this issue Aug 21, 2018
camwiegert added a commit that referenced this issue Aug 30, 2018
brandyscarney added a commit that referenced this issue Sep 4, 2018
brandyscarney added a commit that referenced this issue Sep 5, 2018
…15463)

- adds custom properties 
- removes the overrides of `--ion-color-*` variables
- documents the properties

references #14808 references #14853 references #14850
camwiegert added a commit that referenced this issue Sep 6, 2018
camwiegert added a commit that referenced this issue Sep 7, 2018
brandyscarney added a commit that referenced this issue Sep 18, 2018
- adds shadow
- adds and documents css variables
- gets placeholder color working
- gets multiple datetimes in an item working

fixes #15547 references #14850
camwiegert added a commit that referenced this issue Sep 20, 2018
camwiegert added a commit that referenced this issue Sep 20, 2018
camwiegert added a commit that referenced this issue Sep 24, 2018
pull bot pushed a commit to peterennis/ionic that referenced this issue Sep 24, 2018
removes use of `--ion-color-*` variables references ionic-team#14808
documents custom properties references ionic-team#14850
uses `—background` vars to prevent overriding the color css references
ionic-team#14853
camwiegert added a commit that referenced this issue Oct 5, 2018
brandyscarney added a commit that referenced this issue Oct 10, 2018
brandyscarney added a commit that referenced this issue Oct 10, 2018
brandyscarney added a commit that referenced this issue Oct 11, 2018
@hiepxanh
Copy link
Contributor

please update for tab, it is very important

@ionitron-bot
Copy link

ionitron-bot bot commented Dec 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants