diff --git a/docs/src/pages/components/Card.vue b/docs/src/pages/components/Card.vue
index 6a6a305..d2d4e66 100644
--- a/docs/src/pages/components/Card.vue
+++ b/docs/src/pages/components/Card.vue
@@ -6,6 +6,11 @@
The card components are very granular. Every single part of a card is a component. You can combine them in any order that you want, following the same logic of the examples.
You can also use other Material components inside the card, like the "Complete Example".
The following classes can be applied to change the color palette:
+
+ md-primary
+ md-accent
+ md-warn
+
@@ -818,6 +823,156 @@
+
+
+
+
+
+
+
+
+ Title goes here
+ Subtitle here
+
+
+
+ Action
+ Action
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi.
+
+
+
+
+
+
+ Title goes here
+ Subtitle here
+
+
+
+
+ more_vert
+
+
+
+
+ Call
+ phone
+
+
+
+ Send a message
+ message
+
+
+
+
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi.
+
+
+
+
+
+
+
+
+
+ Title goes here
+ Subtitle here
+
+
+
+ Action
+ Action
+
+
+
+
+
+
+ <md-card class="md-primary">
+ <md-card-media>
+ <img src="assets/card-image-1.jpg" alt="People">
+ </md-card-media>
+
+ <md-card-header>
+ <div class="md-title">Title goes here</div>
+ <div class="md-subhead">Subtitle here</div>
+ </md-card-header>
+
+ <md-card-actions>
+ <md-button>Action</md-button>
+ <md-button>Action</md-button>
+ </md-card-actions>
+
+ <md-card-content>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi.
+ </md-card-content>
+ </md-card>
+
+ <md-card class="md-accent">
+ <md-card-header>
+ <md-card-header-text>
+ <div class="md-title">Title goes here</div>
+ <div class="md-subhead">Subtitle here</div>
+ </md-card-header-text>
+
+ <md-menu md-size="4" md-direction="bottom left">
+ <md-button class="md-icon-button" md-menu-trigger>
+ <md-icon>more_vert</md-icon>
+ </md-button>
+
+ <md-menu-content>
+ <md-menu-item>
+ <span>Call</span>
+ <md-icon>phone</md-icon>
+ </md-menu-item>
+
+ <md-menu-item>
+ <span>Send a message</span>
+ <md-icon>message</md-icon>
+ </md-menu-item>
+ </md-menu-content>
+ </md-menu>
+ </md-card-header>
+
+ <md-card-media>
+ <img src="assets/card-image-1.jpg" alt="People">
+ </md-card-media>
+
+ <md-card-content>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio itaque ea, nostrum odio. Dolores, sed accusantium quasi non, voluptas eius illo quas, saepe voluptate pariatur in deleniti minus sint. Excepturi.
+ </md-card-content>
+ </md-card>
+
+ <md-card class="md-warn">
+ <md-card-media>
+ <img src="assets/card-image-2.jpg" alt="People">
+ </md-card-media>
+
+ <md-card-header>
+ <div class="md-title">Title goes here</div>
+ <div class="md-subhead">Subtitle here</div>
+ </md-card-header>
+
+ <md-card-actions >
+ <md-button>Action</md-button>
+ <md-button>Action</md-button>
+ </md-card-actions>
+ </md-card>
+
+
+
+
diff --git a/src/components/mdCard/mdCard.theme b/src/components/mdCard/mdCard.theme
index 367a201..6f33996 100644
--- a/src/components/mdCard/mdCard.theme
+++ b/src/components/mdCard/mdCard.theme
@@ -37,5 +37,20 @@
background-color: #{'BACKGROUND-COLOR-A100'};
}
}
+
+ &.md-primary {
+ background-color: #{'PRIMARY-COLOR'};
+ color: #{'PRIMARY-CONTRAST'};
+ }
+
+ &.md-accent {
+ background-color: #{'ACCENT-COLOR'};
+ color: #{'ACCENT-CONTRAST'};
+ }
+
+ &.md-warn {
+ background-color: #{'WARN-COLOR'};
+ color: #{'WARN-CONTRAST'};
+ }
}
}