-
As it was a request, we should try to implement OS-defined dark mode/night mode support.
This can be done by css:
`@media (prefers-color-scheme: dark)`
See: https://developer.mozilla.org/en-US/docs…
-
In our application, we have a mix of JSON API endpoints and HTML pages.
All of our API endpoints are prefixed with the path `/api`.
It would be good if we could conditionally return a JSON respo…
-
2024-10-18 17:51:03 INFO: 172.17.0.1:53340 - "POST /v1 HTTP/1.1" 408 Request Timeout
2024-10-18 17:51:13 INFO: Request: cmd='request.get' url='https://prowlarr.servarr.com/v1/ping' maxTimeout…
-
原因:用来监听用户设备的主题颜色改变,来适配`light/dark`。
开发者可以监听到改变的时候改变自己app的主题颜色,来提供更好的体验。
```ts
export enum ThemeStatus {
Light,
Dark
}
configPlugin..addEventListener("ThemeSwitch", (event)=> {
const status…
-
Hello!
Thank you for making `css/advanced` util, it looks like it'll be a huge timesaver to be able to save multiple rules to one file.
Anyway, I'm trying `css/advanced` with the [single token w…
-
### Description
The actual mechanism for importing CSS, JS and favicon in the `theme.property` config file is very limited.
#### Documentation
According to the doc, to import JS or CSS, it is…
baxyz updated
8 months ago
-
### Checklist
- [X] There are no similar issues or pull requests for this yet.
### Is your feature related to a problem? Please describe.
I want to be able to add inline model like in flask-admin. …
-
This might be a nice way of supporting dark mode in Studio: either by automatically supporting an inversion for some color:
```css
.bg-white { background: #FFF; }
@media (prefers-color-scheme: …
-
After updating to the latest version I saw a huge, 50x performance regression in the type that uses `Get` underneath. The difference was measured by typescript tracing.
I don't have a reproduction,…
-
Please consider code for adding an auto dark mode that follows the system display style.
Something like
```Javascript
// go to dark mode if scheme is dark
if (window.matchMedia && window.matchM…