feat: Shortcuts widget

This commit is contained in:
2025-05-03 17:06:04 +02:00
parent 39d46c3311
commit faab05ec8b
9 changed files with 184 additions and 15 deletions

View File

@ -1,5 +1,6 @@
@forward '_bar';
@forward '_launcher';
@forward '_clipboard';
@forward '_shortcuts';
@forward '_battery_info';
@forward '_quick_settings';

View File

@ -0,0 +1,52 @@
@use '../theme_colors.scss' as *;
.shortcuts {
.entry {
padding: 10px;
background: $base0B;
border-radius: 8px;
transition: background 0.2s ease;
&:hover {
background: $base00;
>label {
color: $base0B;
}
>.kbd {
background: $base0B;
color: $base00;
}
}
label {
color: $base00;
font-size: 14px;
font-weight: 600;
}
.kbd {
padding: 2px 6px;
font-size: 0.9em;
font-family: monospace;
border-radius: 4px;
margin: 0 2px;
background: $base00;
color: $base0B;
}
}
.not-found {
background: $base0B;
color: $base00;
font-size: 14px;
padding: 10px;
border-radius: 8px;
image {
margin-bottom: 8px;
}
}
}