Skip to content

Commit 192ca4f

Browse files
committed
fix: fixing copy content button in light mode
1 parent f18e9b5 commit 192ca4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/RTStickyCopyButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="sticky top-0 text-right z-1">
33
<button
44
@click="handleClick"
5-
class="absolute top-0 right-0 p-2 transition-all transform rounded-full shadow z-1 hover:shadow-lg hover:scale-110 hover:rotate-12"
5+
class="absolute top-0 right-0 p-2 text-gray-800 transition-all transform rounded-full shadow dark:text-gray-50 z-1 hover:shadow-lg hover:scale-110 hover:rotate-12"
66
v-bind:class="{
77
'bg-gray-100 dark:bg-gray-600': !copied,
88
'bg-green-500': copied,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"clean": "rimraf ./dist",
77
"dev": "npm run clean && nuxt",
88
"build": "npm run clean && nuxt build",
9-
"start": "npm run clean && nuxt start",
9+
"start": "nuxt start",
1010
"generate": "npm run clean && nuxt generate",
1111
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
1212
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore",

0 commit comments

Comments
 (0)