1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- declare(strict_types=1);
- namespace OCA\Theming\Themes;
- use OCA\Theming\ITheme;
- class LightTheme extends DefaultTheme implements ITheme {
- public function getId(): string {
- return 'light';
- }
- public function getTitle(): string {
- return $this->l->t('Light theme');
- }
- public function getEnableLabel(): string {
- return $this->l->t('Enable the default light theme');
- }
- public function getDescription(): string {
- return $this->l->t('The default light appearance.');
- }
- public function getMediaQuery(): string {
- return '(prefers-color-scheme: light)';
- }
- public function getMeta(): array {
-
- return [[
- 'name' => 'color-scheme',
- 'content' => 'light',
- ]];
- }
- }
|