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

docs: copy as css #648

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

docs: copy as css #648

wants to merge 1 commit into from

Conversation

Copy link

github-actions bot commented Nov 3, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 91.74% 1155/1259
🟢 Branches 88.89% 320/360
🟢 Functions 92.86% 169/182
🟢 Lines 91.4% 1073/1174

Test suite run success

396 tests passing in 37 suites.

Report generated by 🧪jest coverage report action from bdcd39e

@@ -80,7 +80,7 @@ const TokensContent: FC<Props> = ({ tokens, selectedTags, selectedValueType, sea
className="token-name-btn"
hoverMode="token-name-btn_hover"
stretched={!isTabletPlus}
onClick={() => copyTextToClipboard(token)}
onClick={() => copyTextToClipboard(`--vkui--${unCamelcasify(token, '_')}`)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Тут ещё нужно учитывать, что размерные токены бывают с постфиксом --compact и --regular

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants