Add a CSS corner if the contrast between QR margin and page background is too low

This commit is contained in:
Miraty 2021-12-06 20:53:23 +01:00
commit 2a6a4ad056
3 changed files with 62 additions and 9 deletions

View file

@ -6,7 +6,7 @@ $themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512);
$colorScheme = array(
// Light theme
"text-light" => "#2a2a2a",
"bg-light" => "white",
"bg-light" => "#ffffff", // Must be a long hexadecimal color
"bgField-light" => "#eeeeee",
"bgHelp-light" => "#ececec",
"bgTextarea-light" => "#e5e5e5",
@ -15,9 +15,10 @@ $colorScheme = array(
"border-light" => "#65666b",
"borderHover-light" => "#46484e",
"borderFocus-light" => "#2a2a2a",
"borderQr-light" => "gray",
// Dark theme
"text-dark" => "white",
"bg-dark" => "#2a2a2a",
"bg-dark" => "#2a2a2a", // Must be a long hexadecimal color
"bgField-dark" => "#31363B",
"bgHelp-dark" => "#151616",
"bgTextarea-dark" => "#232629",
@ -25,5 +26,6 @@ $colorScheme = array(
"textareaPlaceholder-dark" => "#bababa",
"border-dark" => "#5f5f5f",
"borderHover-dark" => "#808080",
"borderFocus-dark" => "white"
"borderFocus-dark" => "white",
"borderQr-dark" => "gray",
);