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

fix(css): reuse css vars #256

Merged
merged 2 commits into from
Mar 18, 2021
Merged

fix(css): reuse css vars #256

merged 2 commits into from
Mar 18, 2021

Conversation

posva
Copy link
Member

@posva posva commented Mar 5, 2021

I found some hardcoded colors that I adapted to existing variables. Found this while inspecting the existing docs of vite.

I also added a --c-bg-accent color

@posva posva requested a review from kiaking March 8, 2021 15:39
background-color: var(--c-brand);
border: 2px solid var(--c-brand);
transition: background-color 0.1s ease;
}

.action.alt :deep(.item) {
background-color: #fff;
background-color: var(--c-bg);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we shouldn't just do

Suggested change
background-color: var(--c-bg);
background-color: transparent;

@posva posva merged commit 8d91524 into master Mar 18, 2021
@posva posva deleted the fix/use-css-vars branch March 18, 2021 17:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant