aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-156-9/+15
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #48440 from nextcloud/refactor/background-serviceFerdinand Thiessen2024-10-031-34/+28
|\ | | | | refactor(theming): Reduce duplicated code in `BackgroundService`
| * refactor(theming): Reduce duplicated code in `BackgroundService`refactor/background-serviceFerdinand Thiessen2024-09-281-34/+28
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(theming): Use `AppConfig` for setting background imagefix/background-imageFerdinand Thiessen2024-09-281-1/+3
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-201-12/+9
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-199-19/+20
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(a11y): Update OpenDyslexic from 0.920 to 2.001Joas Schilling2024-09-121-11/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Use migration instead of repair step for restoring custom colorFerdinand Thiessen2024-09-104-71/+311
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Use `IAppConfig` instead of `IConfig->getAppValue`Ferdinand Thiessen2024-09-103-42/+39
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Add repair step to restore primary color after separating primary and ↵Ferdinand Thiessen2024-09-101-0/+64
| | | | | | background Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Allow to specify a userId manually in BackgroundServiceFerdinand Thiessen2024-09-102-21/+44
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(NavigationManager): Skip invalid default navigation entriesprovokateurin2024-09-091-1/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(theming): Use NavigationManager to handle default entriesprovokateurin2024-09-092-8/+12
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-5/+5
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(css): refine css cleanupprotoclown2024-09-021-0/+2
| | | | Signed-off-by: protoclown <ornano@felinn.org>
* fix(css): re-use old --color-scrollbar variableprotoclown2024-09-024-6/+2
| | | | Signed-off-by: protoclown <ornano@felinn.org>
* fix: Properly calculate intermediate icon for touch icon generationJulius Härtl2024-09-011-17/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-258-23/+23
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(theming): make cache buster depend on the app versionRichard Steinmetz2024-08-071-1/+3
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* feat(theming): Update value of body container radiusMarco Ambrosini2024-08-011-4/+4
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* Feat: update border radius variablesMarco Ambrosini2024-08-011-5/+11
| | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* feat: add small font size variableMarco Ambrosini2024-07-311-0/+1
| | | | | | | | This is needed to create a bit more hyerarchy between more important and less important text. For example for the talk conversation description in the header or in NcListItem's "subname" Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* Feat: update line heightMarco Ambrosini2024-07-311-1/+1
| | | | | | | | | Since we have different font sizes, we should make the line height dependent on the font size and not a fixed value. The recommended value for accessibility is 1.5. https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* fix(psalm): named attribute argumentMaxence Lange2024-07-291-1/+1
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* refactor(theming): Replace security annotations with respective attributesprovokateurin2024-07-273-33/+33
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(styles): Make sure footer with legal links is shown correctlyFerdinand Thiessen2024-07-261-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-171-0/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(theming): enforce theme should still provide dark as fallbackskjnldsv2024-07-131-1/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(theming): Allow shipped backgrounds to have a dark variantFerdinand Thiessen2024-07-125-12/+37
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Don't reset the cachebuster value when we reset themingMarcel Müller2024-07-101-0/+4
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* feat(theming): Provide `body-container-` variables through themingFerdinand Thiessen2024-07-041-6/+12
| | | | | | | | * Provide the body container height, radius and margin as theming variables. * Remove unused old variables (`header-menu-profile-item-height` and `list-max-width`) * Fix comment about breakpoint JS location Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Add checkbox for force enable / disable blurry backgroundFerdinand Thiessen2024-07-022-3/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Conitionally disable blur filter for performanceFerdinand Thiessen2024-07-021-27/+31
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): properly apply warning style to update outputRichard Steinmetz2024-06-191-2/+2
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(theming): also apply enforced theme for guestsskjnldsv2024-06-141-8/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #45818 from nextcloud/feat/add-new-clickable-area-variablesMarco2024-06-141-1/+3
|\ | | | | Feat: add new clickable area variables
| * Feat: Update apps/theming/lib/Themes/DefaultTheme.phpMarco2024-06-121-1/+1
| | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco <marcoambrosini@proton.me>
| * Feat: add new clickable area variablesMarco Ambrosini2024-06-121-1/+3
| | | | | | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* | Feat: reduce border radius element to 8 pxMarco Ambrosini2024-06-121-1/+1
|/ | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* chore: Add SPDX headerAndy Scherzinger2024-05-3132-704/+64
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Merge pull request #45247 from nextcloud/add-border-widthFerdinand Thiessen2024-05-291-0/+3
|\ | | | | Add variable for inputs border width
| * feat(theming): Add variable for border widthMarco Ambrosini2024-05-281-0/+3
| | | | | | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* | Feat: Add temporary border-radius variableMarco Ambrosini2024-05-271-0/+1
|/ | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* fix(theming): Add some strict checking for userIdFerdinand Thiessen2024-05-211-1/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-213-5/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Return mean color of background image on setFerdinand Thiessen2024-05-212-8/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Always populate `--image-background`Ferdinand Thiessen2024-05-211-2/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: cleanup theming app codeFerdinand Thiessen2024-05-215-30/+24
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Make background selector be responsive to user changesFerdinand Thiessen2024-05-213-38/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>