Skip to content

Commit 77ee48c

Browse files
authored
fix(theme/icon): use currentColor for success icons to follow theme color (#3294)
1 parent c79291c commit 77ee48c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

packages/core/src/theme/components/CodeButtonGroup/CopyCodeButton.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
left: 50%;
99
transform: translate(-50%, -50%) scale(0);
1010
opacity: 0;
11-
color: #00d600;
11+
color: #10b981;
1212
}
1313

1414
.rp-code-copy-button--copied .rp-code-copy-button__icon--copy {

packages/core/src/theme/components/CodeButtonGroup/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
left: 50%;
4848
transform: translate(-50%, -50%) scale(0);
4949
opacity: 0;
50-
color: #00d600;
50+
color: #10b981;
5151
}
5252
}
5353
}

packages/core/src/theme/components/Llms/LlmsCopyButton.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
}
1010

1111
&--success.rp-llms-copy-button {
12-
color: var(--rp-c-green-1, #10b981);
13-
border-color: var(--rp-c-green-1, #10b981);
12+
color: #10b981;
13+
border-color: #10b981;
1414
background: var(--rp-c-bg-soft);
1515
}
1616
}
@@ -48,7 +48,7 @@
4848
position: absolute;
4949
top: 50%;
5050
left: 50%;
51-
color: var(--rp-c-green-1, #10b981);
51+
color: #10b981;
5252

5353
visibility: hidden;
5454
opacity: 0;

0 commit comments

Comments
 (0)