mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
parent
7b5e187477
commit
08a6fcbddc
@ -811,12 +811,11 @@ export class ThemesConfig {
|
||||
@ConfigProperty({
|
||||
tags: {
|
||||
name: $localize`Enable`,
|
||||
experimental: true,
|
||||
githubIssue: 642
|
||||
} as TAGS,
|
||||
description: $localize`Enable themes and color modes. Experimental until bootstrap v5.3 is only alpha.`
|
||||
description: $localize`Enable themes and color modes.`
|
||||
})
|
||||
enabled: boolean = false;
|
||||
enabled: boolean = true;
|
||||
|
||||
@ConfigProperty({
|
||||
type: ThemeModes,
|
||||
@ -826,7 +825,7 @@ export class ThemesConfig {
|
||||
} as TAGS,
|
||||
description: $localize`Sets the default theme mode that is used for the application.`
|
||||
})
|
||||
defaultMode: ThemeModes = ThemeModes.light;
|
||||
defaultMode: ThemeModes = ThemeModes.auto;
|
||||
|
||||
@ConfigProperty({
|
||||
type: 'string',
|
||||
|
@ -1,6 +1,10 @@
|
||||
:host {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: scale .3s ease-out;
|
||||
}
|
||||
:host:hover {
|
||||
scale: 98%;
|
||||
}
|
||||
|
||||
img {
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
.form-switch .form-check-input:checked {
|
||||
background-color: var(--bs-success);
|
||||
border-color: var(--bs-success);
|
||||
}
|
||||
|
||||
.form-switch .form-check-input:focus {
|
||||
|
Loading…
x
Reference in New Issue
Block a user