Skip to content

Commit

Permalink
Card initial
Browse files Browse the repository at this point in the history
  • Loading branch information
g-stamatis committed Jan 14, 2022
1 parent 9f2efc9 commit 06dace5
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
86 changes: 43 additions & 43 deletions src/customizations/components/theme/Card/Card.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,60 @@ export default {
},
},
argTypes: {
hasImage:{
description:"true if card contains image",
table:{
type:{
summary:"boolean"
hasImage: {
description: 'true if card contains image',
table: {
type: {
summary: 'boolean',
},
defaultValue:{summary:true}
}
defaultValue: { summary: true },
},
},
title:{
description:"card header",
table:{
type:{
summary:"string"
title: {
description: 'card header',
table: {
type: {
summary: 'string',
},
defaultValue:{summary:' \""\ '}
}
defaultValue: { summary: ' "" ' },
},
},
meta:{
description:"card meta data",
table:{
type:{
summary:"string"
meta: {
description: 'card meta data',
table: {
type: {
summary: 'string',
},
defaultValue:{summary:' \""\ '}
}
defaultValue: { summary: ' "" ' },
},
},
description:{
description:"card main content",
table:{
type:{
summary:"string"
description: {
description: 'card main content',
table: {
type: {
summary: 'string',
},
defaultValue:{summary:' \""\ '}
}
defaultValue: { summary: ' "" ' },
},
},
fluid:{
description:"card header",
table:{
type:{
summary:"boolean"
fluid: {
description: 'card header',
table: {
type: {
summary: 'boolean',
},
defaultValue:{summary:false}
}
defaultValue: { summary: false },
},
},
links:{
description:"if true takes width of container",
table:{
type:{
summary:"Object"
links: {
description: 'if true takes width of container',
table: {
type: {
summary: 'Object',
},
defaultValue:{summary:' \""\ '}
}
}
defaultValue: { summary: ' "" ' },
},
},
},
};

Expand Down
6 changes: 3 additions & 3 deletions theme/themes/eea/views/card.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
*******************************/

.ui.card.eeaCard {
border: @cardBorder;
background: @background;
border-radius: @borderRadius;
font-family: @fontFamily;
box-shadow: none;
border: @cardBorder;
border-radius: @defaultBorderRadius;
box-shadow: none;
font-family: @fontFamily;
}

0 comments on commit 06dace5

Please sign in to comment.