Skip to content

Commit f6d7a08

Browse files
committed
feat(styles/components): card styles
1 parent d2ac2b5 commit f6d7a08

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@layer components {
2+
.gecut-card {
3+
&-elevated {
4+
&-selectable {
5+
@apply gecut-card-elevated select-none hover:elevation-2 state-onSurface focus-ring focus:elevation-1;
6+
}
7+
8+
@apply gecut-card bg-surfaceContainerLow text-onSurface elevation-1 disabled:opacity-15 disabled:bg-surface disabled:pointer-events-none;
9+
}
10+
11+
&-filled {
12+
&-selectable {
13+
@apply gecut-card-filled select-none hover:elevation-1 state-onSurface focus-ring focus:elevation-0;
14+
}
15+
16+
@apply gecut-card bg-surfaceContainerHighest text-onSurface elevation-0 disabled:opacity-15 disabled:bg-surfaceVariant disabled:pointer-events-none;
17+
}
18+
19+
&-outlined {
20+
&-selectable {
21+
@apply gecut-card-outlined select-none hover:elevation-1 state-onSurface focus-ring focus:elevation-0;
22+
}
23+
24+
@apply gecut-card bg-surface border text-onSurface border-outlineVariant elevation-0 disabled:opacity-10 disabled:border-outline disabled:pointer-events-none;
25+
}
26+
27+
@apply rounded-xl px-6 mb-4;
28+
}
29+
}

0 commit comments

Comments
 (0)