🚸(frontend) disable device controls when user lacks room permissions

Update user experience by clearly marking device toggle and control
components as disabled when users have insufficient room permissions.

Prevents confusion by providing visual feedback that device controls are
unavailable, improving clarity about what  actions users can perform
in their current role.
This commit is contained in:
lebaudantoine
2025-08-28 15:47:06 +02:00
committed by aleb_the_flash
parent 7d1f15ef91
commit 3d3242e148
7 changed files with 54 additions and 7 deletions

View File

@@ -124,6 +124,7 @@ const config: Config = {
...pandaPreset.theme.tokens.colors,
primaryDark: {
50: { value: '#161622' },
75: { value: '#222234' },
100: { value: '#2D2D46' },
200: { value: '#43436A' },
300: { value: '#5A5A8F' },