qrcode.chapril.org/themes/libreqr/theme.php
2022-02-18 18:21:33 +01:00

37 lines
1.2 KiB
PHP
Executable File

<?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" => "black",
"bg-light" => "#ffffff", // Must be a long hexadecimal color
"bgField-light" => "white",
"bgHelp-light" => "white",
"bgTextarea-light" => "white",
"textareaText-light" => "black",
"textareaPlaceholder-light" => "#868686",
"border-light" => "black",
"borderHover-light" => "black",
"borderFocus-light" => "black",
"borderHelp-light" => "black",
"borderQr-light" => "black",
// Dark theme
"text-dark" => "white",
"bg-dark" => "#000000", // Must be a long hexadecimal color
"bgField-dark" => "#000000",
"bgHelp-dark" => "#000000",
"bgTextarea-dark" => "#000000",
"textareaText-dark" => "white",
"textareaPlaceholder-dark" => "#bababa",
"border-dark" => "white",
"borderWidth-dark" => "2px",
"borderHover-dark" => "white",
"borderHoverWidth-dark" => "3px",
"borderFocus-dark" => "white",
"borderFocusWidth-dark" => "4px",
"borderHelp-dark" => "white",
"borderQr-dark" => "white",
);