Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixel-base",
"version": "1.9.6",
"version": "1.9.7",
"description": "Common UI components for web.pixelone.app, Based on React Bootstrap",
"author": "muffrank",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions src/lib/dc-collapsible-menu/dc-collapsible-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react"
import { useState } from "react"
import { ChevronDown, ChevronRight } from "lucide-react"
import styled from "styled-components"
import { $DCprimaryColor } from "../styleGuide"

export interface MenuItemProps {
id: string | number
Expand Down Expand Up @@ -55,6 +56,7 @@ const MenuItemButton = styled.div<MenuItemButtonProps>`
${(props) =>
props.isActive &&
`
border: 1px solid ${$DCprimaryColor};
background-color: #f3f4f6;
font-weight: 500;
`}
Expand Down Expand Up @@ -146,17 +148,15 @@ const ToggleButton = styled.button<ToggleButtonProps>`

&:focus {
outline: none;
box-shadow: 0 0 0 2px #d1d5db;
/* box-shadow: 0 0 0 2px #d1d5db; */
}

@media (prefers-color-scheme: dark) {
&:hover {
background-color: #374151;
}

&:focus {
box-shadow: 0 0 0 2px #4b5563;
}

}
`

Expand Down
Loading