Skip to content

Commit

Permalink
feat(sortable): m3 styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Oct 5, 2022
1 parent ab3d5a9 commit 4012322
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/core/components/sortable/sortable-vars.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
:root {
}
.ios-vars({
--f7-sortable-handler-width: 36px;
--f7-sortable-sorting-item-box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
.light-vars({
--f7-sortable-handler-color: rgba(0,0,0,0.22);
--f7-sortable-sorting-item-bg-color: rgba(255,255,255,0.8);
Expand All @@ -7,12 +11,10 @@
--f7-sortable-sorting-item-bg-color: rgba(50, 50, 50, 0.8);
--f7-sortable-handler-color: rgba(255,255,255,0.55);
});
}
.ios-vars({
--f7-sortable-handler-width: 36px;
--f7-sortable-sorting-item-box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
});
.md-vars({
--f7-sortable-handler-width: 42px;
--f7-sortable-sorting-item-box-shadow: var(--f7-elevation-2);
--f7-sortable-sorting-item-box-shadow: none;
--f7-sortable-handler-color: var(--f7-md-on-surface-variant);
--f7-sortable-sorting-item-bg-color: var(--f7-md-surface-3);
});

0 comments on commit 4012322

Please sign in to comment.