• Nour Zakhma's avatar
    fix Project howver visibility (#3074) · 8aa893b1
    Nour Zakhma 提交于
    ## Issue
    Fixes #2962 - Improve the background color at hovering and MOST OF ALL
    for selected projects.
    
    ## Changes
    - Increased dark mode sidebar-accent background color contrast from
    15.9% to 35% lightness
    - Updated both OKLch and HSL color formats for consistency
    - Selected items are now clearly distinguishable from unselected items
    
    ### Dark mode improvements:
    - OKLch: `oklch(0.35 0 0)` instead of `oklch(0.269 0 0)`
    - HSL: `240 5% 35%` instead of `240 3.7% 15.9%`
    
    This dramatically improves visibility for users with less acute vision,
    addressing the accessibility concern raised in the issue.
    
    ## Testing
    Added comprehensive E2E test to verify:
    - Selected sidebar items have visually distinct background colors
    - Hover states provide proper visual feedback
    - Good contrast between selected, unselected, and hover states
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3074"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    8aa893b1
名称
最后提交
最后更新
..
__tests__ 正在载入提交数据...
app 正在载入提交数据...
atoms 正在载入提交数据...
client_logic 正在载入提交数据...
components 正在载入提交数据...
constants 正在载入提交数据...
contexts 正在载入提交数据...
db 正在载入提交数据...
errors 正在载入提交数据...
hooks 正在载入提交数据...
i18n 正在载入提交数据...
ipc 正在载入提交数据...
lib 正在载入提交数据...
main 正在载入提交数据...
neon_admin 正在载入提交数据...
pages 正在载入提交数据...
paths 正在载入提交数据...
pro 正在载入提交数据...
prompts 正在载入提交数据...
routes 正在载入提交数据...
shared 正在载入提交数据...
store 正在载入提交数据...
styles 正在载入提交数据...
supabase_admin 正在载入提交数据...
utils 正在载入提交数据...
backup_manager.ts 正在载入提交数据...
main.ts 正在载入提交数据...
preload.ts 正在载入提交数据...
renderer.tsx 正在载入提交数据...
router.ts 正在载入提交数据...