Skip to content

Commit

Permalink
fix(text): inherit color
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Dec 16, 2023
1 parent f2b5560 commit 7e5c740
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/text/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ defineSlots<{
display: block;
}
&.primary {
--r-text-color: var(--r-common-primary-color);
--r-element-color: var(--r-common-primary-color);
}
&.info {
--r-text-color: var(--r-common-info-color);
--r-element-color: var(--r-common-info-color);
}
&.success {
--r-text-color: var(--r-common-success-color);
--r-element-color: var(--r-common-success-color);
}
&.warning {
--r-text-color: var(--r-common-warning-color);
--r-element-color: var(--r-common-warning-color);
}
&.error {
--r-text-color: var(--r-common-error-color);
--r-element-color: var(--r-common-error-color);
}
&.comment {
--r-text-color: var(--r-common-comment-color);
--r-element-color: var(--r-common-comment-color);
}
&.small {
--r-element-font-size: var(--r-common-small-font-size);
Expand Down

0 comments on commit 7e5c740

Please sign in to comment.