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(ToolButton): rm alpha from bg for mode="secondary" #8201

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

inomdzhon
Copy link
Contributor

@inomdzhon inomdzhon commented Jan 28, 2025


  • [ ] Unit-тесты
  • [ ] Документация фичи
  • Дизайн-ревью
  • e2e-тесты
  • Release notes

Описание

см. #8198

Release notes

Исправления

  • ToolButton:
    • при mode="secondary" у фона теперь нет прозрачности;
    • для mode="primary" appearance="neutral" заменён токен с --vkui--color_background_modal_inverse на --vkui--color_background_content_inverse.

@inomdzhon inomdzhon added the patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча label Jan 28, 2025
@inomdzhon inomdzhon requested a review from a team as a code owner January 28, 2025 10:26
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Contributor

size-limit report 📦

Path Size
JS 393.15 KB (0%)
JS (gzip) 119.25 KB (0%)
JS (brotli) 98.05 KB (0%)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 344.53 KB (-0.01% 🔽)
CSS (gzip) 42.7 KB (-0.03% 🔽)
CSS (brotli) 34.01 KB (-0.01% 🔽)

Copy link
Contributor

e2e tests

Playwright Report

Copy link
Contributor

👀 Docs deployed

Commit fae4120

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.49%. Comparing base (750edd0) to head (fae4120).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8201   +/-   ##
=======================================
  Coverage   95.49%   95.49%           
=======================================
  Files         403      403           
  Lines       11503    11503           
  Branches     3812     3812           
=======================================
  Hits        10985    10985           
  Misses        518      518           
Flag Coverage Δ
unittests 95.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@inomdzhon inomdzhon merged commit 58ea2c7 into master Jan 28, 2025
29 checks passed
@inomdzhon inomdzhon deleted the imirdzhamolov/issue8198/fix/TooButton-styles branch January 28, 2025 13:57
vkcom-publisher pushed a commit that referenced this pull request Jan 28, 2025
h2. Release notes
h2. Исправления
- ToolButton:
  - при `mode="secondary"` у фона теперь нет прозрачности;
  - для `mode="primary" appearance="neutral"` заменён токен с `--vkui--color_background_modal_inverse` на `--vkui--color_background_content_inverse`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][ToolButton] Тюнинг фонов ToolButton
4 participants