2021-07-06 15:56:36 +00:00
|
|
|
%copy-button {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-blue-500));
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-color: var(--transparent);
|
2021-07-06 15:56:36 +00:00
|
|
|
}
|
|
|
|
%copy-button::before {
|
|
|
|
@extend %with-copy-action-mask, %as-pseudo;
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-color: rgb(var(--tone-gray-500));
|
2021-07-06 15:56:36 +00:00
|
|
|
}
|
|
|
|
%copy-button::after {
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-color: rgb(var(--tone-gray-050));
|
2021-07-06 15:56:36 +00:00
|
|
|
}
|
|
|
|
%copy-button:hover:not(:disabled):not(:active),
|
|
|
|
%copy-button:focus {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-blue-500));
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-color: rgb(var(--tone-gray-050));
|
2021-07-06 15:56:36 +00:00
|
|
|
}
|
|
|
|
%copy-button:hover::before {
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-color: rgb(var(--tone-blue-500));
|
2021-07-06 15:56:36 +00:00
|
|
|
}
|
|
|
|
%copy-button:active {
|
2022-03-15 12:54:14 +00:00
|
|
|
--icon-color: rgb(var(--tone-gray-200));
|
2021-07-06 15:56:36 +00:00
|
|
|
}
|