diff --git a/.env.example b/.env.example index 37cf2ea..8ea2d70 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ DATABASE_PASS=icyauth SESSION_SECRET=32 char key CHALLENGE_SECRET=64 char key JWT_ALGORITHM=RS256 -JWT_EXPIRATION=8h +JWT_EXPIRATION=7d JWT_ISSUER=http://localhost:5173 EMAIL_ENABLED=true EMAIL_FROM=no-reply@icynet.eu diff --git a/src/routes/oauth2/authorize/+page.svelte b/src/routes/oauth2/authorize/+page.svelte index e9b37a6..4a641a0 100644 --- a/src/routes/oauth2/authorize/+page.svelte +++ b/src/routes/oauth2/authorize/+page.svelte @@ -109,7 +109,6 @@ & .graphic { background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 style=%27width:24px;height:24px%27 viewBox=%270 0 24 24%27%3E%3Cpath fill=%27currentColor%27 d=%27M10,4H14V13L17.5,9.5L19.92,11.92L12,19.84L4.08,11.92L6.5,9.5L10,13V4Z%27 /%3E%3C/svg%3E'); - filter: invert(); transform: rotate(-90deg); width: 80px; height: 80px; @@ -193,4 +192,8 @@ align-items: center; gap: 1rem; } + + :global(html[theme-base='dark']) .user-client-wrapper .graphic { + filter: invert(); + } diff --git a/static/favicon.png b/static/favicon.png index 825b9e6..9a2f59f 100644 Binary files a/static/favicon.png and b/static/favicon.png differ