mirror of
https://github.com/logseq/logseq.git
synced 2026-05-17 01:12:28 +00:00
- Replace hardcoded rgba shadow colors with --kbd-glow-top/--kbd-glow-bottom CSS variables, tuned per theme (light: stronger top highlight, dark: deeper bottom shadow) - Use filter: brightness(0.92) for pressed state instead of manipulating box-shadow layers with outer drop shadows — theme-agnostic and physically correct (depressed key = in shadow = darker) - Keep top inset highlight shift (1px → 2px) and bottom inset compression (1px → 0.5px) for realistic keycap depression alongside brightness - Fix bottom clipping on press: change .action-wrap overflow from hidden to visible so translateY(1px) doesn't get chopped - Remove non-glow pressed shadow rules (brightness handles all cases) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>