slint/demos/energy-monitor/ui/components/menu_background.slint
Simon Hausmann a98d4709be Move printer demo and energy-monitor into new top-level demos/ folder
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.

Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +02:00

10 lines
No EOL
268 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
import { Theme } from "../theme.slint";
export component MenuBackground inherits Rectangle {
border-radius: 4px;
background: Theme.palette.ebony-radial-gradient;
clip: true;
}