Skip to content

Commit ef05bed

Browse files
committed
refactor: update color utility classes in PUCopyToClipboard and PURating components for consistency with design system
1 parent 045ae3f commit ef05bed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/runtime/components/PUCopyToClipboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const copyToClipboard = async () => {
116116
}
117117
118118
.pu-copy__icon--success {
119-
@apply text-green-500 dark:text-green-400;
119+
@apply text-primary-light-500;
120120
}
121121
122122
.pu-copy__text {

src/runtime/components/PURating.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ const getStarIcon = (star: number) => {
125125
}
126126
127127
.pu-rating__star-icon {
128-
@apply text-gray-600 dark:text-gray-300;
128+
@apply text-primary-light-600 dark:text-primary-light-300;
129129
}
130130
131131
.pu-rating__star:hover .pu-rating__star-icon {
132-
@apply text-gray-800 dark:text-gray-100;
132+
@apply text-primary-light-800 dark:text-primary-light-100;
133133
}
134134
135135
.pu-rating--small .pu-rating__stars {
@@ -157,7 +157,7 @@ const getStarIcon = (star: number) => {
157157
}
158158
159159
.pu-rating__value {
160-
@apply text-gray-600 dark:text-primary-light-300 font-medium;
160+
@apply text-primary-light-600 dark:text-primary-light-300 font-medium;
161161
}
162162
163163
.pu-rating--small .pu-rating__value {

0 commit comments

Comments
 (0)