qrcode.chapril.org/themes/chapril/theme.php

37 lines
1.1 KiB
PHP
Raw Normal View History

2023-08-08 11:48:21 +02:00
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
// List icons dimensions
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512);
$colorScheme = array(
// Light theme
"text-light" => "white",
"bg-light" => "#67a3f2", // Must be a long hexadecimal color
"bgField-light" => "#2e5281",
"bgHelp-light" => "#2e5281",
"bgTextarea-light" => "#FFFFFF",
"textareaText-light" => "black",
"textareaPlaceholder-light" => "grey",
"border-light" => "#67a3f2",
"borderHover-light" => "white",
"borderFocus-light" => "white",
"borderHelp-light" => "white",
"borderQr-light" => "white",
// Dark theme
"text-dark" => "white",
"bg-dark" => "#67a3f2", // Must be a long hexadecimal color
"bgField-dark" => "#2e5281",
"bgHelp-dark" => "#2e5281",
"bgTextarea-dark" => "#FFFFFF",
"textareaText-dark" => "black",
"textareaPlaceholder-dark" => "grey",
"border-dark" => "#67a3f2",
"borderWidth-dark" => "2px",
"borderHover-dark" => "white",
"borderHoverWidth-dark" => "3px",
"borderFocus-dark" => "white",
"borderFocusWidth-dark" => "4px",
"borderHelp-dark" => "white",
"borderQr-dark" => "white",
);