Files
ionic-framework/packages/core/src/components/card
Ross Gerbasi 7e50219d24 fix(theme-builder): update theme builder and core styles (#13997)
* theme-builder wip

* Theme Builder updates
- new CSS variable support
- realtime color updating with alpha support (rgb generation)
- auto tint/shade/contrast generation
- auto step generation
- CSS variable highlighting (forward and backwards)
- Colourlovers Palette search (via local proxy)

* Theme Builder Updates
- Settings for auto generation
- updated to 10 steps per background/ext
- general cleanup
- added instructions
- re-worked shade/tint to mix black and white instead of lighten/darken
- scoped cssText into component
- apply theme to theme builder also to style internal buttons

SCSS Updates
- added 10 steps to reach platform
- updated SCSS to use same mix and color methods as theme builder

* material design color step fix

* readme files

fixes #13985 fixes #13986
2018-02-09 16:13:08 -05:00
..
2018-01-09 11:51:56 -05:00
2018-02-06 20:04:28 +01:00

ion-card

Cards are a standard piece of UI that serves as an entry point to more detailed information. A card can be a single component, but is often made up of some header, title, subtitle, and content. ion-card is broken up into several sub-components to reflect this. Please see ion-card-content, ion-card-header, ion-card-title, ion-card-subtitle.

Properties

color

string

The color to use for the background. Default options are: "primary", "secondary", "danger", "light", and "dark".

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md".

Attributes

color

string

The color to use for the background. Default options are: "primary", "secondary", "danger", "light", and "dark".

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md".


Built with StencilJS