-
Notifications
You must be signed in to change notification settings - Fork 631
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: Create Hacker mode theme #1988 #2091
Conversation
I created a theme with a black bacground, black block fill for all blocks, a white shadow for all blocks (still working on putting in an actual outline), dark toolbox, dark flyout, and monospace text. I am still working on putting in green text for all block text. Need to fix CSS issue first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great so far! Thank you for putting the work into this and dealing with all of the crazy rebasing =)
Hi @shivalipatel6 you can also run the create-package script with the |
Made theme private, updated descriptions, and updated formatting errors in readme, pagkage.json and index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes! Just a few more nits then this should be good to go =)
Deleted out To-do comments and marked the package private in the package.json file.
464ee1a
to
8285fc6
Compare
@shivalipatel6 Please resolve the build errors. You should be able to run |
Deleted line 1 in index that privated the file so that build can run successfully.
I fixed up the build issues, but I am still unsure what is up with the format issues... I could use some pointers for figuring this out. |
Can you try running |
Ran npm ci and npm run format to fix formatting issues.
I was able to run both commands and produce changes, but it was unable to fix the format issues. Is there anything I can run that will help me diagonse these problems? |
Hm you're right. I also pulled your branch and the format check passed. Could you try rebasing onto the latest master and then rerunning the formatting commands? It could be that the quoting change you fixed in your other PR (thank you again!) is causing conflicts. |
I ran npm ci and npm run format after I rebased and merged the changes from master into this branch but there was no changes to commit... |
Hiya @shivalipatel6 Wanted to let you know I saw this but my team is doing a hackathon this week! So I'll get back to you about this in a few days. Sorry for the delay! |
Have fun at the hackathon!! Good luck with your projects! |
I pushed a commit to your branch with the formatting fixes! Thanks for the work on this @shivalipatel6 =) |
I created a theme with a black background, black block fill for all blocks, a white shadow for all blocks (still working on putting in an actual outline), dark toolbox, dark flyout, and monospace text. I am still working on putting in green text for all block text. Need to fix CSS issue first.
The basics
The details
Resolves
Fixes #1988
Proposed Changes
This pull request creates a new blockly theme that has a black background for everything, black fill in for blocks and a white highlight. Theme is currently incomplete as it is missing green text color, but it will be fixed later once some CSS work is fixed.
![hacker-modescreenshot1](https://private-user-images.githubusercontent.com/56765670/287699551-56cc1e1e-6c89-4e82-aa26-ddf27c8a9eb2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjkxMjcsIm5iZiI6MTczOTE2ODgyNywicGF0aCI6Ii81Njc2NTY3MC8yODc2OTk1NTEtNTZjYzFlMWUtNmM4OS00ZTgyLWFhMjYtZGRmMjdjOGE5ZWIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA2MjcwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4MDU3OGM3MGMzNDU4YjIxZGMxOThhYjMxMjU2N2ZjYTFlYzcwMDAzMjIwY2ViZjQ2NWIwYTIwZjViMTQ3MWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.sp_I5peiQBMUKhuxZ1UxDDrmd4A8MabM0Y5VunIWLD4)
Reason for Changes
Test Coverage
Documentation
Once the theme is made public, the documentation about themes will need to be updated to let users know the theme exists. As well documentation about how to download the theme will be needed.Additional Information