jupyterlab / lumino

Lumino is a library for building interactive web applications
https://lumino.readthedocs.io/
Other
635 stars 126 forks source link

:hammer: make title/tabbar's close icon/class customable. #669

Closed novrain closed 7 months ago

novrain commented 11 months ago

The lumino default theme require font-awsome, but in some project, such as Vue project, they donot use it. Then the close icon will not show correctly. Import font-awsome to make the SINGLE icon show correctly does't make sences.

changes:

novrain commented 11 months ago

anything that I can do to make this request be accepted?

@fcollonval, could you please help me?

krassowski commented 11 months ago

Could you instead override renderCloseIcon in a subclass? This way we would not need to extend the API. This is what JupyterLab does here.

novrain commented 10 months ago

Could you instead override renderCloseIcon in a subclass? This way we would not need to extend the API. This is what JupyterLab does here.

Thank you! That's a great option. I will try it.

fcollonval commented 7 months ago

Hey @novrain I'm closing this as answered with alternative. Let me know if you still need some changes for your use case.