Skip to content

Commit

Permalink
fix: update HTML export colors to match ChatGPT UI
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelskyba authored and pionxzh committed Mar 30, 2024
1 parent c3cd253 commit 646b3f5
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@

<style>
:root {
--tw-prose-code: #111827;
--tw-prose-hr: #e5e7eb;
--tw-prose-links: #111827;
--tw-prose-headings: #111827;
--tw-prose-quotes: #111827;
--tw-prose-counters: #6b7280;
--page-bg: #f7f7f8;
--page-text: #374151;
--th-borders: #4b5563;
--page-text: #0d0d0d;
--page-bg: #fff;
--td-borders: #374151;
--th-borders: #4b5563;
--tw-prose-code: var(--page-text);
--tw-prose-counters: #9b9b9b;
--tw-prose-headings: var(--page-text);
--tw-prose-hr: rgba(0,0,0,.25);
--tw-prose-links: var(--page-text);
--tw-prose-quotes: var(--page-text);
--meta-title: #616c77;
}

[data-theme="dark"] {
--tw-prose-code: #f9fafb;
--tw-prose-hr: #374151;
--tw-prose-links: #fff;
--tw-prose-headings: #fff;
--tw-prose-quotes: #f3f4f6;
--tw-prose-counters: #9ca3af;
--page-bg: rgba(52,53,65);
--page-text: #fff;
--page-text: #ececec;
--page-bg: #212121;
--tw-prose-code: var(--page-text);
--tw-prose-counters: #9b9b9b;
--tw-prose-headings: var(--page-text);
--tw-prose-hr: hsla(0,0%,100%,.25);
--tw-prose-links: var(--page-text);
--tw-prose-quotes: var(--page-text);
--meta-title: #959faa;
}

Expand Down

0 comments on commit 646b3f5

Please sign in to comment.