diff options
author | Zuul <zuul@review.opendev.org> | 2023-05-03 00:30:33 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-05-03 00:30:33 +0000 |
commit | 51194abf561de04972996199d825613a94cd3b2f (patch) | |
tree | ad759bc813af0bb716135251da1e54135748c276 /web/src/pages/Status.jsx | |
parent | bbdbe81790f4926e5e00085309589a2c52e5230b (diff) | |
parent | 59cd5de78baa31150958e6d0d6733407c0e95805 (diff) | |
download | zuul-51194abf561de04972996199d825613a94cd3b2f.tar.gz |
Merge "web: add dark mode and theme selection"
Diffstat (limited to 'web/src/pages/Status.jsx')
-rw-r--r-- | web/src/pages/Status.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/pages/Status.jsx b/web/src/pages/Status.jsx index ac3dc7840..e61ceb3e2 100644 --- a/web/src/pages/Status.jsx +++ b/web/src/pages/Status.jsx @@ -197,6 +197,7 @@ class StatusPage extends React.Component { <FormGroup controlId='status'> <FormControl type='text' + className="pf-c-form-control" placeholder='change or project name' defaultValue={filter} inputRef={i => this.filter = i} @@ -222,7 +223,7 @@ class StatusPage extends React.Component { </Form> ) return ( - <PageSection variant={PageSectionVariants.light}> + <PageSection variant={this.props.preferences.darkMode ? PageSectionVariants.dark : PageSectionVariants.light}> <div style={{display: 'flex', float: 'right'}}> <Fetchable isFetching={remoteData.isFetching} |