diff --git a/demo/sections/components/ContextSidebar.vue b/demo/sections/components/ContextSidebar.vue new file mode 100644 index 000000000..d5669466e --- /dev/null +++ b/demo/sections/components/ContextSidebar.vue @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/demo/sections/components/index.ts b/demo/sections/components/index.ts index abc1cf37d..b0a2ee311 100644 --- a/demo/sections/components/index.ts +++ b/demo/sections/components/index.ts @@ -13,6 +13,7 @@ export const components: Section = { codeHighlight: () => import('./CodeHighlight.vue'), codeInput: () => import('./CodeInput.vue'), combobox: () => import('./Combobox.vue'), + contextSidebar: () => import('./ContextSidebar.vue'), dateInput: () => import('./DateInput.vue'), dateRangeInput: () => import('./DateRangeInput.vue'), divider: () => import('./Divider.vue'), diff --git a/src/components/ContextAccordionItem/PContextAccordionItem.vue b/src/components/ContextAccordionItem/PContextAccordionItem.vue index ada74fa91..2e837062c 100644 --- a/src/components/ContextAccordionItem/PContextAccordionItem.vue +++ b/src/components/ContextAccordionItem/PContextAccordionItem.vue @@ -99,13 +99,13 @@ font-medium w-full text-left - hover:text-primary - active:text-primary-600 + hover:bg-selectable-hover + active:bg-selected } .p-context-accordion-item__header--highlighted { @apply - hover:text-primary - active:text-primary-600 + hover:bg-selectable-hover + active:bg-selected } .p-context-accordion-item__icon { @apply @@ -136,12 +136,13 @@ select-none font-medium cursor-pointer - hover:text-primary - active:text-primary-600 + hover:bg-selectable-hover + active:bg-selected } .p-context-accordion-item__content-child--active { @apply - text-primary + bg-selected + hover:bg-selected } .p-context-accordion-item__indicator { @apply diff --git a/src/components/ContextDivider/PContextDivider.vue b/src/components/ContextDivider/PContextDivider.vue index 6de4a659f..e89ff5519 100644 --- a/src/components/ContextDivider/PContextDivider.vue +++ b/src/components/ContextDivider/PContextDivider.vue @@ -5,8 +5,7 @@ \ No newline at end of file diff --git a/src/components/ContextNavItem/PContextNavItem.vue b/src/components/ContextNavItem/PContextNavItem.vue index 099ac55dc..af601f3a5 100644 --- a/src/components/ContextNavItem/PContextNavItem.vue +++ b/src/components/ContextNavItem/PContextNavItem.vue @@ -26,28 +26,30 @@ \ No newline at end of file diff --git a/src/components/ContextSidebar/PContextSidebar.vue b/src/components/ContextSidebar/PContextSidebar.vue index 294616291..77e5ac2a7 100644 --- a/src/components/ContextSidebar/PContextSidebar.vue +++ b/src/components/ContextSidebar/PContextSidebar.vue @@ -18,8 +18,6 @@ \ No newline at end of file diff --git a/src/styles/index.css b/src/styles/index.css index bd8f9a0e1..e954acc02 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -149,7 +149,7 @@ --p-color-text-selection: rgba(69, 156, 255, 0.4); --p-color-selected: #1F647A; - --p-color-selectable-hover: var(--p-color-bg-2); + --p-color-selectable-hover: #415258; --p-color-focus-ring: #276EE7; --p-color-focus-ring-offset: var(--p-color-bg-0); @@ -340,7 +340,7 @@ --p-color-text-selection: rgba(69, 156, 255, 0.4); --p-color-selected: #9DDDF1; - --p-color-selectable-hover: #DDDDDD; + --p-color-selectable-hover: #DDE2E3; --p-color-focus: #1470EF; --p-color-focus-halo: rgba(23, 92, 211, 0.4);