File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 234234}
235235
236236@utility sub-button {
237- @apply flex w-full items-start gap-2 rounded-sm px-2 py-2 text-left text-gray-700 transition-colors hover:bg-gray-50 dark:text-gray-100 dark:hover:bg-gray-800;
237+ @apply flex w-full items-center gap-2 rounded-sm px-2 py-2 text-left text-gray-600 transition-colors hover:bg-gray-50 dark:text-gray-100 dark:hover:bg-gray-800;
238238}
239239
240240@utility dropdown-base {
241- @apply rounded-sm border border-gray-300 bg-white text-gray-700 dark:border-gray-300 dark:bg-gray-900 dark:text-gray-100;
241+ @apply rounded-sm border border-gray-300 bg-white text-gray-600 dark:border-gray-300 dark:bg-gray-900 dark:text-gray-100;
242242}
243243
244244@utility toc {
Original file line number Diff line number Diff line change 6363 class ="sub-button "
6464 >
6565 < span class ="icon-svg mt-[2px] text-base leading-none ">
66- {{ partial "icon" "search " }}
66+ {{ partial "icon" "/icons/openai.svg " }}
6767 </ span >
6868 < div class ="leading-tight ">
6969 < div class ="text-base "> Open in ChatGPT</ div >
7676 class ="sub-button "
7777 >
7878 < span class ="icon-svg mt-[2px] text-base leading-none ">
79- {{ partial "icon" "search " }}
79+ {{ partial "icon" "/icons/claude.svg " }}
8080 </ span >
8181 < div class ="leading-tight ">
8282 < div class ="text-base "> Open in Claude</ div >
149149 . then ( ( response ) => response . text ( ) )
150150 . then ( ( text ) => {
151151 const encodedText = encodeURIComponent ( text ) ;
152- const claudeUrl = `https://claude.ai/chat?contextUrl=${ currentUrl } ` ;
152+ const claudeUrl = `https://claude.ai/chat?contextUrl=${ encodedText } ` ;
153153 window . open ( claudeUrl , '_blank' ) ;
154154 } )
155155 . catch ( ( err ) => {
You can’t perform that action at this time.
0 commit comments