This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed
Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ export function NavBar(navBarProps: NavBarProps) {
9797 } }
9898 MenuListProps = { {
9999 "aria-labelledby" : "long-button" ,
100+ style : {
101+ backgroundColor : StyleVariables . BACKGROUND_PRIMARY ,
102+ color : StyleVariables . TEXT_NORMAL ,
103+ } ,
100104 } }
101105 >
102106 < MenuItem onClick = { handleSettingsClick } disableRipple >
Original file line number Diff line number Diff line change @@ -93,6 +93,18 @@ const DataviewFiltersPortal = (props: DataviewFiltersProps) => {
9393 size = "small"
9494 key = { `Select-existedColumnSelector-${ selectorProps . index } ` }
9595 onChange = { onchangeExistedColumnHandler ( selectorProps . index ) }
96+ style = { {
97+ backgroundColor : StyleVariables . BACKGROUND_PRIMARY ,
98+ color : StyleVariables . TEXT_NORMAL ,
99+ } }
100+ MenuProps = { {
101+ PaperProps : {
102+ sx : {
103+ backgroundColor : StyleVariables . BACKGROUND_PRIMARY ,
104+ color : StyleVariables . TEXT_NORMAL ,
105+ } ,
106+ } ,
107+ } }
96108 >
97109 { possibleColumns . map ( ( key ) => {
98110 return (
@@ -119,6 +131,18 @@ const DataviewFiltersPortal = (props: DataviewFiltersProps) => {
119131 value = { selectorProps . currentOp }
120132 size = "small"
121133 onChange = { onChangeOperatorHandler ( selectorProps . index ) }
134+ style = { {
135+ backgroundColor : StyleVariables . BACKGROUND_PRIMARY ,
136+ color : StyleVariables . TEXT_NORMAL ,
137+ } }
138+ MenuProps = { {
139+ PaperProps : {
140+ sx : {
141+ backgroundColor : StyleVariables . BACKGROUND_PRIMARY ,
142+ color : StyleVariables . TEXT_NORMAL ,
143+ } ,
144+ } ,
145+ } }
122146 >
123147 { Object . entries ( OperatorFilter ) . map ( ( [ key , value ] ) => {
124148 return (
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default function DataviewFilters(props: DataviewFiltersProps) {
1313 ) ;
1414 const columns = tableState . columns ( ( state ) => state . columns ) ;
1515 const dataActions = tableState . data ( ( state ) => state . actions ) ;
16- const enableFilterHandler = ( event : React . MouseEvent < HTMLButtonElement > ) => {
16+ const enableFilterHandler = ( ) => {
1717 // Invert the filter state
1818 const alteredFilterState = { ...filters } ;
1919 alteredFilterState . enabled = ! alteredFilterState . enabled ;
You can’t perform that action at this time.
0 commit comments