Add the shared preference keys and appearance values

This commit is contained in:
envoyr committed 2026-11-06 19:26:15 +00:00
1 parent 11ff83e40d
commit 1b64d2822f
3 files changed
+54

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
namespace Anikeen\Id\Enums;
/**
* The values of the shared preference SharedPreference::APPEARANCE.
*/
class Appearance
{
/** Follow the operating system. */
const SYSTEM = 'system';
const LIGHT = 'light';
const DARK = 'dark';
/**
* @return list<string>
*/
public static function all(): array
{
return [self::SYSTEM, self::LIGHT, self::DARK];
}
}