Skip to content

Commit f936a9f

Browse files
committed
add icons
1 parent 81d6ec3 commit f936a9f

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

assets/css/utilities.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@
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 {

assets/icons/claude.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/icons/openai.svg

Lines changed: 1 addition & 0 deletions
Loading

layouts/partials/md-dropdown.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
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>
@@ -76,7 +76,7 @@
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>
@@ -149,7 +149,7 @@
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/new?q=${encodedText}`;https://claude.ai/new?q=%22hey%22
153153
window.open(claudeUrl, '_blank');
154154
})
155155
.catch((err) => {

0 commit comments

Comments
 (0)