Color scheme for dark mode
This commit is contained in:
parent
bef20ccc5a
commit
2ddf210a5f
@ -6,10 +6,22 @@
|
|||||||
:root {
|
:root {
|
||||||
--c-bg: #09090b;
|
--c-bg: #09090b;
|
||||||
--c-on-bg: white;
|
--c-on-bg: white;
|
||||||
|
--c-border-1: #a1a1aa;
|
||||||
|
|
||||||
|
--c-bg-inversed: rgba(228, 228, 240, 0.75);
|
||||||
|
|
||||||
|
--c-primary: #c4b5fd;
|
||||||
|
--c-on-primary: #09090b;
|
||||||
|
|
||||||
|
--c-primary-bg: #1f162c;
|
||||||
|
--c-primary-bg-2: #332a3f;
|
||||||
|
--c-on-primary-bg: #f5f3ff;
|
||||||
|
|
||||||
|
--c-primary-border: #6b58a1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Light mode */
|
/* Light mode */
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: light) {
|
||||||
:root {
|
:root {
|
||||||
--c-bg: white;
|
--c-bg: white;
|
||||||
--c-on-bg: #09090b;
|
--c-on-bg: #09090b;
|
||||||
|
@ -23,12 +23,12 @@ var randomAlbums []Album
|
|||||||
var serverUrl = ""
|
var serverUrl = ""
|
||||||
var client = resty.New()
|
var client = resty.New()
|
||||||
|
|
||||||
// (Tries to) login to a remote navidrome server
|
// Attempts to login to a remote navidrome server
|
||||||
func (a *App) Login(server, username, password string) (bool, error) {
|
func (a *App) Login(server, username, password string) (bool, error) {
|
||||||
log.Print("begin Login to server")
|
log.Print("begin Login to server")
|
||||||
// client := resty.New()
|
// client := resty.New()
|
||||||
|
|
||||||
// TODO: check server for leading https and trailing /, normalize
|
// TODO: check server string for leading https and trailing /, normalize
|
||||||
|
|
||||||
successData := AuthSuccess{}
|
successData := AuthSuccess{}
|
||||||
errorData := AuthError{}
|
errorData := AuthError{}
|
||||||
|
Loading…
Reference in New Issue
Block a user