panel icon indicating copy to clipboard operation
panel copied to clipboard

AutocompleteInput dropdown does not work well with Jupyter Dark Theme

Open peterroelants opened this issue 2 years ago • 0 comments

Description of expected behavior and the observed behavior

AutocompleteInput dropdown does not well with Jupyter Dark Theme. Tested using jupyterlab with following setting: darktheme

Complete, minimal, self-contained example code that reproduces the issue

import panel as pn

pn.extension()

autocomplete = pn.widgets.AutocompleteInput(
    name='Autocomplete Input', options=['Biology', 'Biochemistry', 'Physics'],
    placeholder='Write something here')

pn.Row(autocomplete, height=100)

Results in the following behaviour. Notice that the dropdown text is hardly readable because the text is white on a white background. autocomplete_dark_theme

ALL software version info

panel version:  0.13.1
Selected Jupyter core packages...
IPython          : 8.4.0
ipykernel        : 6.15.1
ipywidgets       : 8.0.1
jupyter_client   : 7.3.4
jupyter_core     : 4.11.1
jupyter_server   : 1.18.1
jupyterlab       : 3.4.5
nbclient         : 0.6.6
nbconvert        : 6.5.3
nbformat         : 5.4.0
notebook         : 6.4.12
qtconsole        : not installed
traitlets        : 5.3.0
Python 3.9.13

peterroelants avatar Aug 26 '22 09:08 peterroelants