File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2121 </Tooltip .Root >
2222 </DropdownMenu .Trigger >
2323 <DropdownMenu .Content align =" end" >
24- <DropdownMenu .RadioGroup bind: value ={$ userPrefersMode }>
24+ <DropdownMenu .RadioGroup value ={userPrefersMode . value || ' system ' }>
2525 <DropdownMenu .RadioItem value ="light" onclick ={() => setMode (' light' )}>
2626 Light
2727 </DropdownMenu .RadioItem >
Original file line number Diff line number Diff line change @@ -151,4 +151,12 @@ From wicked puns and stupid jokes to anvils that drop on your head.`)
151151 :global(.diff-insert ) {
152152 background-color : #d4ffd4 ;
153153 }
154+
155+ :global(.dark .diff-remove ) {
156+ background-color : #ff0000 ;
157+ text-decoration : line-through ;
158+ }
159+ :global(.dark .diff-insert ) {
160+ background-color : #00ff00 ;
161+ }
154162 </style >
You can’t perform that action at this time.
0 commit comments