Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add theme and disable theme toggle option #151

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

invisal
Copy link
Collaborator

@invisal invisal commented Aug 22, 2024

I have added two more options:

/embed/sqlite?theme=dark&disableThemeToggle=1
  • disableThemeToggle will disable the change theme button
  • theme will override which theme user want. dark | light

I also remove the go back button from the embed iframe.

I am not sure if it is what you want @KABBOUCHI

Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
libsql-studio ⬜️ Ignored (Inspect) Visit Preview Aug 22, 2024 4:27pm

Copy link

github-actions bot commented Aug 22, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 79.11% 697/881
🟡 Branches 60.78% 186/306
🟡 Functions 76.92% 110/143
🟢 Lines 81.06% 659/813

Test suite run success

58 tests passing in 6 suites.

Report generated by 🧪jest coverage report action from 0497c0d

@invisal invisal marked this pull request as ready for review August 22, 2024 16:30
@invisal invisal merged commit b52e505 into develop Aug 22, 2024
6 checks passed
@invisal invisal deleted the iframe-embed-theme-options branch September 18, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants