Skip to content
#

emotion

Here are 896 public repositories matching this topic...

theme-ui
jayliu50
jayliu50 commented Mar 25, 2021

Is your feature request related to a problem? Please describe.
I spent many hours trying to override what I later found out was the highlight color variable, used in a number of Components in the code. I had no idea that this variable existed. :(

Describe the solution you'd like
Maybe just include the highlight default value in the base theme, so that developers building on that w

astgermain
astgermain commented Dec 16, 2020

Animations can easily be reversed for cleanup using state to set the value of a reverse prop and is already implemented but it is not stated in documentation even though it works.

Example:

const [shown, setShown] = useState(false)
const yeetMenu = () => {
    setShown(!shown)
}
<Slide
      duration={500}
      triggerOnce={true}
      direction="right"
      reverse={shown}

Improve this page

Add a description, image, and links to the emotion topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the emotion topic, visit your repo's landing page and select "manage topics."

Learn more