Shows toast on success, and other UX improvments

This commit is contained in:
Alicia Sykes
2021-05-17 19:38:18 +01:00
parent 8064a46b39
commit ce851b2f0c
11 changed files with 53 additions and 13 deletions

View File

@@ -57,4 +57,6 @@
--config-code-color: var(--background);
--config-settings-color: var(--primary);
--config-settings-background: var(--background-darker);
--toast-background: var(--primary);
--toast-color: var(--background);
}

View File

@@ -176,6 +176,8 @@ html[data-theme='material-dark'] {
--item-icon-transform-hover: drop-shadow(1px 3px 2px var(--transparent-30)) saturate(2);
--welcome-popup-background: #131a1f;
--welcome-popup-text-color: var(--primary);
--config-settings-background: #131a1f;
--config-settings-color: #41e2ed;
}
html[data-theme='colorful'] {

View File

@@ -20,4 +20,13 @@ h1, h2, h3, h4, h5 {
font-family: 'Inconsolata', sans-serif;
}
/* Overiding styles for the global toast component */
.toast-message {
background: var(--toast-background) !important;
color: var(--toast-color) !important;
border: 1px solid var(--toast-color) !important;
border-radius: var(--curve-factor) !important;
font-size: 1.25rem !important;
}