Skip to content

Commit 4012322

Browse files
committed
feat(sortable): m3 styles
1 parent ab3d5a9 commit 4012322

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
:root {
2+
}
3+
.ios-vars({
4+
--f7-sortable-handler-width: 36px;
5+
--f7-sortable-sorting-item-box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
26
.light-vars({
37
--f7-sortable-handler-color: rgba(0,0,0,0.22);
48
--f7-sortable-sorting-item-bg-color: rgba(255,255,255,0.8);
@@ -7,12 +11,10 @@
711
--f7-sortable-sorting-item-bg-color: rgba(50, 50, 50, 0.8);
812
--f7-sortable-handler-color: rgba(255,255,255,0.55);
913
});
10-
}
11-
.ios-vars({
12-
--f7-sortable-handler-width: 36px;
13-
--f7-sortable-sorting-item-box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
1414
});
1515
.md-vars({
1616
--f7-sortable-handler-width: 42px;
17-
--f7-sortable-sorting-item-box-shadow: var(--f7-elevation-2);
17+
--f7-sortable-sorting-item-box-shadow: none;
18+
--f7-sortable-handler-color: var(--f7-md-on-surface-variant);
19+
--f7-sortable-sorting-item-bg-color: var(--f7-md-surface-3);
1820
});

0 commit comments

Comments
 (0)