about summary refs log tree commit diff
path: root/bskyembed/snippet/embed.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fix color theme for embed (#7965)Samuel Newman2025-03-111-1/+3
| | | | | * fix embed default theme * use correct dataset string
* enhance(embed): add ability to pin color mode (#7186)Samuel Newman2025-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * enhance(embed): add ability to pin color mode * fix: Move color mode dropdown to the root section * auto -> system * style tweaks * default to light theme * try and fix eslint * fix dropdown styles on other browsers * rm unnecessary eslintrc change * more explicit color mode select * make light explicit --------- Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
* feat(embed): Add support for dark mode (#6912)かっこかり2024-12-111-1/+3
| | | | | | | | | | | | | | | | | | | | | * feat(embed): Support dark mode (wip) * finishing up the implementation * fix tailwind color selector * tweak design * refactor: unify types * fix * fix english grammar * refactor: unify types * tweak design * remove the customization part
* [Embeds] Add ref_url (#3533)Samuel Newman2024-04-131-1/+11
| | | | | | | | | | | | | | | * get outer location and pass in to the iframe * enable post.html in dev * only add ref_url if starts with http * Revert "enable post.html in dev" This reverts commit 6f224c6e2c4a016f7ea17ff998c4b4e56b9a4f9b. --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Embeds] Embed subdomain landing page (#3501)Samuel Newman2024-04-131-0/+90
* add build output to web build * simplify post-build step by copying everything at once * make script that converts placeholder -> iframe * dynamically resize iframe based on inner content Requires the iframe content to `postMessage` its height back up to the parent * add lang to embed * svg explicit height -> viewBox * add build output to web build * simplify post-build step by copying everything at once * attempt to fix go embed issue * rm changes to bskyweb * remove another bskyweb change * embed landing page * Drop xl breakpoint, too far down * Remove pointer enter behavior * Avoid button width jump * Escape HTML --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>