feat: adds compatibility with TRMNL Design Framework v2

This commit is contained in:
Benjamin Nussbaum 2025-09-14 18:57:17 +02:00
parent f20977a822
commit 12c82e02d7
7 changed files with 27 additions and 12 deletions

View file

@ -1,3 +1,7 @@
<x-trmnl::screen>
@props([
'colorDepth' => '1bit',
])
<x-trmnl::screen colorDepth="{{$colorDepth}}">
{!! $slot !!}
</x-trmnl::screen>

View file

@ -3,7 +3,7 @@
'darkMode' => false,
'deviceVariant' => 'og',
'deviceOrientation' => null,
'colorDepth' => '2bit',
'colorDepth' => '1bit',
'scaleLevel' => null,
])