File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 2727 background-color : var (--color-gray-200 );
2828}
2929
30+ .bg-dark .card [card-link ]: focus-within ,
31+ .bg-dark .card [card-link ]: hover {
32+ background-color : var (--color-gray-800 );
33+ }
34+
3035.card__image {
3136 display : block;
3237 max-width : 64px ;
Original file line number Diff line number Diff line change @@ -109,6 +109,21 @@ But if you would like the whole card to become interactive and act as a link you
109109</ul >
110110```
111111
112+ Here is what that looks like on a dark background
113+
114+ ``` html
115+ <div class =" bg-dark" >
116+ <ul class =" list-unstyled layout" >
117+ <EsCard class =" lg:col-3" @image =" /images/icons/mic-icon.svg" card-link >
118+ <h3 >
119+ <a href =" http://discuss.emberjs.com" >Discussion Forum</a >
120+ </h3 >
121+ <p >Post and search longer-form questions in our public forum.</p >
122+ </EsCard >
123+ </ul >
124+ </div >
125+ ```
126+
112127And here is a full card based page layout that might be useful when building sites using this component:
113128
114129``` html
You can’t perform that action at this time.
0 commit comments