Skip to content

Update togglebutton style to be more minimal and resemble Jupyter Lab UI/UX #46

@choldgraf

Description

@choldgraf

Context

Currently, we have a fairly standard "button" UI for the toggle directive:

chrome_JGjTUJtlhc

This works fine, though has a fairly "basic" button style.

Proposal

I wanted to see what it might look like for us to re-work this button UI with a few guiding principles:

  • Make it more minimal, and reduce the amount of "ink" used in general
  • Make it look more similar to the show/hide behavior from Jupyter Notebooks / Lab (since this project is used in conjunction with myst-nb quite often).

I put together this quick prototype with very few CSS changes. Curious if others think this would be an improvement on our current UI:

chrome_hAm06EevXq

Alternatively, this might be styling that other themes could implement themselves, if this seems too "opinionated" for a base extension...

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions