Skip to content

Commit 072f5fd

Browse files
committed
Move more styles.
1 parent c8f8889 commit 072f5fd

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

src/pg/menu/menu.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
display: flex;
77
flex-direction: column;
88
padding: var(--pg-menu-padding, 0.25rem);
9-
border-width: var(--pg-menu-border-width, 0);
9+
border-width: var(--pg-menu-border-width, 1px);
10+
border-color: var(--pg-menu-border-color, #453C4F);
1011
border-style: solid;
1112
border-radius: 0.5rem;
12-
background-color: var(--pg-menu-background-color, #1E1E1E);
13+
background-color: var(--pg-menu-background-color, #FFFFFF);
1314
box-shadow: var(--pg-menu-box-shadow, none);
1415
}

src/pg/menuItem/menuItem.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
border-top-right-radius: var(--pg-menu-item-border-radius-top, 0.25rem);
1717
border-bottom-left-radius: var(--pg-menu-item-border-radius-bottom, 0.25rem);
1818
border-bottom-right-radius: var(--pg-menu-item-border-radius-bottom, 0.25rem);
19-
color: var(--pg-menu-item-color, #FFFFFF);
19+
color: var(--pg-menu-item-color, #453C4F);
2020
}
2121

22-
[part=label]:not(:disabled):hover
23-
/*[part=label]:not(:disabled):focus*/ {
24-
background: #248BE5;
22+
[part=label]:not(:disabled):hover {
23+
background: var(--pg-menu-item-selected-background, #453C4F);
2524
color: #FFFFFF;
2625
}
2726

src/theme-ui3.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,12 @@
1414
--pg-button-hover-background-color: #453C4F;
1515
--pg-button-hover-color: #FFFFFF;
1616
--pg-button-hover-color: #FFFFFF;
17+
/* Menu */
18+
--pg-menu-padding: 0.25rem;
19+
--pg-menu-border-width: 0;
20+
--pg-menu-border-color: transparent;
21+
/* Menu Item */
22+
--pg-menu-item-color: #FFFFFF;
23+
--pg-menu-item-background: transparent;
24+
--pg-menu-item-selected-background: #248BE5;
1725
}

0 commit comments

Comments
 (0)