-
This commit is contained in:
11
ui/layouts/container.slint
Normal file
11
ui/layouts/container.slint
Normal file
@@ -0,0 +1,11 @@
|
||||
// Container component - Card-style container with border and rounded corners
|
||||
import { Theme, SpacingSystem } from "../theme/theme.slint";
|
||||
|
||||
export component Container inherits Rectangle {
|
||||
@children
|
||||
|
||||
background: Theme.colors.card;
|
||||
border-radius: SpacingSystem.radius.md;
|
||||
border-width: 1px;
|
||||
border-color: Theme.colors.border;
|
||||
}
|
||||
Reference in New Issue
Block a user