@using Iceshrimp.Frontend.Components
@using Iceshrimp.Frontend.Core.Services
@using Microsoft.AspNetCore.Components.Authorization
@inject IJSRuntime Js;
@* ReSharper disable once UnusedMember.Local *@
@inject UpdateService UpdateSvc;
@* *@
Not found
Page not found.
@code {
private string? _backgroundColor;
protected override void OnInitialized()
{
_backgroundColor = ((IJSInProcessRuntime)Js).Invoke("eval",
"getComputedStyle(document.documentElement).getPropertyValue('--background-color')");
}
}