codesandbox / codesandbox/codesandbox-client

Change theme on https://codesandbox.io/s/new endpoint

Open
#5,473 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🤔 Improvement UI UX VS Code
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

What are the possible query params for none embed links like https://codesandbox.io/s/new
for example:
https://codesandbox.io/s/2rn57?file=/index.html
I saw that the file option in the query did work for me but others like theme=light I use on the embedded version did not.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the /s/new endpoint and compare its accepted query parameters with the embedded URL behavior, especially file and theme. Confirm which parameters are supported for non-embed links and document or implement the requested theme behavior; done when theme=light works consistently or its limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.