dev-AshishRanjan / Idea-Arca

Idea Arca (Latin: "Idea Vault") is a Project Idea Bank. Unleash your tech creativity. Discover, collaborate, and bring to life innovative project ideas in various tech fields through this inspirational repository.
https://idea-arca.vercel.app
MIT License
7 stars 9 forks source link

Sweep(slow): Add a new dark colored theme like our cool theme #4

Closed dev-AshishRanjan closed 11 months ago

dev-AshishRanjan commented 11 months ago

In our README.md we have written how to create a new theme. create a new theme based on our "cool" theme

Checklist - [X] `src/styles/themes.scss` ✅ Commit [`95f6091`](https://github.com/dev-AshishRanjan/Idea-Arca/commit/95f6091342876534c8fb9500c5321b1d9a9c6a80)
• Identify the existing "cool" theme in the themes.scss file. • Create a new class for the new theme. The class name can be "darkCool". • Define the color variables for the new theme. The colors should be darker versions of the colors used in the "cool" theme.
Sandbox Execution Logs
trunk init 1/3 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 12 linters were enabled (.trunk/trunk.yaml)
  checkov 2.4.9 (9 json, 2 yaml files)
  git-diff-check (42 files)
  markdownlint 0.36.0 (4 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (2 png files)
  prettier 3.0.3 (1 javascript, 8 json, 4 markdown, 5 sass, 1 typescript, 2 yaml files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (1 svg file) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 2 yaml files)
  trufflehog 3.56.0 (43 files)
  yamllint 1.32.0 (2 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt src/styles/themes.scss 2/3 ✓

Checked 1 file
✔ No issues
trunk check --fix src/styles/themes.scss 3/3 ✓

Checked 1 file
✔ No issues
- [X] `src/components/ThemeSelector.astro` ✅ Commit [`60ab303`](https://github.com/dev-AshishRanjan/Idea-Arca/commit/60ab3033ba1ccd403ba2198fb873c5216929efa9)
• Add a new option for the "darkCool" theme in the ThemeSelector component.
Sandbox Execution Logs
trunk init 1/3 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 12 linters were enabled (.trunk/trunk.yaml)
  checkov 2.4.9 (9 json, 2 yaml files)
  git-diff-check (42 files)
  markdownlint 0.36.0 (4 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (2 png files)
  prettier 3.0.3 (1 javascript, 8 json, 4 markdown, 5 sass, 1 typescript, 2 yaml files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (1 svg file) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 2 yaml files)
  trufflehog 3.56.0 (43 files)
  yamllint 1.32.0 (2 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt src/components/ThemeSelector.astro 2/3 ✓

Found no applicable linters for the requested path
trunk check --fix src/components/ThemeSelector.astro 3/3 ✓

Checked 1 file
✔ No issues
sweep-ai[bot] commented 11 months ago

Here's the PR! https://github.com/dev-AshishRanjan/Idea-Arca/pull/6.

⚡ Sweep Free Trial: I used GPT-4 to create this ticket. You have 3 GPT-4 tickets left for the month and 1 for the day. For more GPT-4 tickets, visit our payment portal.


Actions (click)


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/dev-AshishRanjan/Idea-Arca/blob/005bc1e0cb671f026824c34dc1440ed651dd3f80/README.md#L1-L334 https://github.com/dev-AshishRanjan/Idea-Arca/blob/005bc1e0cb671f026824c34dc1440ed651dd3f80/CONTRIBUTING.md#L1-L232 https://github.com/dev-AshishRanjan/Idea-Arca/blob/005bc1e0cb671f026824c34dc1440ed651dd3f80/src/pages/index.astro#L355-L218 https://github.com/dev-AshishRanjan/Idea-Arca/blob/005bc1e0cb671f026824c34dc1440ed651dd3f80/src/pages/index.astro#L385-L218 https://github.com/dev-AshishRanjan/Idea-Arca/blob/005bc1e0cb671f026824c34dc1440ed651dd3f80/src/styles/themes.scss#L1-L43

Step 2: ⌨️ Coding

trunk init 1/3 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 12 linters were enabled (.trunk/trunk.yaml)
  checkov 2.4.9 (9 json, 2 yaml files)
  git-diff-check (42 files)
  markdownlint 0.36.0 (4 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (2 png files)
  prettier 3.0.3 (1 javascript, 8 json, 4 markdown, 5 sass, 1 typescript, 2 yaml files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (1 svg file) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 2 yaml files)
  trufflehog 3.56.0 (43 files)
  yamllint 1.32.0 (2 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt src/styles/themes.scss 2/3 ✓

Checked 1 file
✔ No issues
trunk check --fix src/styles/themes.scss 3/3 ✓

Checked 1 file
✔ No issues

trunk init 1/3 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 12 linters were enabled (.trunk/trunk.yaml)
  checkov 2.4.9 (9 json, 2 yaml files)
  git-diff-check (42 files)
  markdownlint 0.36.0 (4 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (2 png files)
  prettier 3.0.3 (1 javascript, 8 json, 4 markdown, 5 sass, 1 typescript, 2 yaml files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (1 svg file) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 2 yaml files)
  trufflehog 3.56.0 (43 files)
  yamllint 1.32.0 (2 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt src/components/ThemeSelector.astro 2/3 ✓

Found no applicable linters for the requested path
trunk check --fix src/components/ThemeSelector.astro 3/3 ✓

Checked 1 file
✔ No issues


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/add-dark-theme.

.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord