Files
ocis/web/packages/web-pkg
Matteo eb06e23a09 fix: restore hover feedback lost to background-highlight/default collision (#12613)
The Light/Dark High-Contrast themes set colorPalette.background-highlight
equal to background-default, making hover backgrounds indistinguishable
from the resting page background wherever background-highlight was used
for interactive feedback (e.g. the global search results dropdown). The
non-high-contrast Dark theme had the same collision.

Set background-highlight to the same value as background-hover in those
theme blocks, and point SearchBar's result-preview hover/active state and
CreateShortcutModal's context-menu hover/active state at
--oc-color-background-hover directly, since background-highlight is
otherwise used for static surfaces (cards, modals, form fields) rather
than interaction feedback.
2026-07-20 15:18:17 +02:00
..

web-pkg

web-pkg is a package that provides utilities, most importantly a variety of components and composables, that can be useful when developing apps and extensions for ownCloud Web.

Installation

Depending on your package manager, run one of the following commands:

$ npm install @ownclouders/web-pkg --save-dev

$ pnpm add -D @ownclouders/web-pkg

$ yarn add @ownclouders/web-pkg --dev

It's recommended to install this package as a dev dependency because it's only really needed for providing autocompletion in your IDE and unit tests. In a runtime context, the ownCloud Web runtime provides the actual implementation.