File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/components/atoms/card Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 6
6
[`h-card--color-${color}`]: color,
7
7
[`h-card--variant-${variant}`]: variant,
8
8
[`h-card--elevation-${elevation}`]: elevation && variant != 'outlined',
9
+ [`h-card--behavior-rounded`]: rounded,
9
10
}"
10
11
>
11
12
<slot />
@@ -42,6 +43,10 @@ export default {
42
43
type: String ,
43
44
default: ' default' ,
44
45
},
46
+ rounded: {
47
+ type: Boolean ,
48
+ default: true ,
49
+ },
45
50
},
46
51
};
47
52
</script >
@@ -65,6 +70,12 @@ export default {
65
70
padding : var (--h-card--padding );
66
71
position : relative ;
67
72
73
+ & --behavior {
74
+ & -rounded {
75
+ --h-card--border-radius : var (--border-radius-high );
76
+ }
77
+ }
78
+
68
79
& --variant {
69
80
& -outlined {
70
81
--h-card--border : var (--size-base-micro ) solid var (--color-grey-scale-400 );
You can’t perform that action at this time.
0 commit comments