Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(style): Bring back opacity style #1002

Merged
merged 2 commits into from
Sep 23, 2020
Merged

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Sep 23, 2020

The opacity style option was removed in #540 , in trying to factor to semantic components. However, since we don't have that yet (dependent on some larger refactorings, as discussed in #489 ) - we should bring this back.

I'd prefer to use a more semantic component like <Opacity />, however, in the current design, that can impact layout, as every primitive has an associated layout node.

@bryphe bryphe merged commit 0141f2b into master Sep 23, 2020
@bryphe bryphe deleted the feat/style/bring-back-opacity branch September 23, 2020 21:23
bryphe added a commit to onivim/oni2 that referenced this pull request Sep 28, 2020
With all the vim-navigation pieces we're adding, it can be hard to follow where focus is going, and get nice visual feedback to confirm the gesture behaved as the user intended.

This uses opacity to help draw the eye, in a subtle way, to changes in focus:

![2020-09-23 13 26 20](https://user-images.githubusercontent.com/13532591/94065921-9c792080-fda0-11ea-8336-ee00db640889.gif)

Depends on revery-ui/revery#1002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant