- 
                Notifications
    You must be signed in to change notification settings 
- Fork 64
New Home Page #842
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
          
     Open
      
      
            ccocks
  wants to merge
  29
  commits into
  STForScratch:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
ccocks:main
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    New Home Page #842
Changes from all commits
      Commits
    
    
            Show all changes
          
          
            29 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      2bd7003
              
                Commit
              
              
                ccocks 88e06c5
              
                Finish Home Page
              
              
                ccocks 3114117
              
                Update scratch-www.css
              
              
                ccocks 5313437
              
                Update scratch-www.css
              
              
                ccocks 82dd146
              
                Add to `features.json` file
              
              
                rgantzos 5421334
              
                Update scratch-www.css
              
              
                ccocks afc2556
              
                Update scratch-www.css
              
              
                ccocks 993958c
              
                Add rounded corners for navigation items
              
              
                ccocks e28aaa1
              
                Added better looks for boxes
              
              
                ccocks a535b30
              
                new desc
              
              
                cally-jt 3410aee
              
                Fix bug with Scratch News boxes
              
              
                ccocks cad10cf
              
                Update description
              
              
                ccocks 5f822eb
              
                Add JSON for editor
              
              
                ccocks c011a3b
              
                Add styles for Scratch Editor
              
              
                ccocks 2a8308c
              
                Some fixes
              
              
                MaterArc 3fe5b20
              
                Another fix
              
              
                MaterArc d41edc1
              
                Add Scratch Profile styles
              
              
                ccocks c2f4dbd
              
                Add Scratch Profile
              
              
                ccocks bbf2d80
              
                Updated Scratch profile
              
              
                ccocks 8536e19
              
                Remove Borders
              
              
                MaterArc 1f00c1b
              
                Resolve Conflicting Styles
              
              
                MaterArc 3a5b3de
              
                Fix file path
              
              
                MaterArc 553e76f
              
                Fix Carousel Buttons
              
              
                MaterArc fd693f2
              
                Remove Borders
              
              
                MaterArc 1c0a1de
              
                Update scratch-profile.css
              
              
                ccocks be2769d
              
                Update scratch-profile.js
              
              
                ccocks 9593713
              
                Update data.json
              
              
                ccocks ed55c91
              
                Add customizability features
              
              
                ccocks 1da9750
              
                Add customizability
              
              
                ccocks File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,4 +1,9 @@ | ||
| [ | ||
| { | ||
| "version": 2, | ||
| "id": "new-look", | ||
| "versionAdded": "v4.0.0" | ||
| }, | ||
| { | ||
| "version": 2, | ||
| "id": "select-self", | ||
|  | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "title": "New Look", | ||
| "description": "Changes the look of the Scratch Site to a more modern, fresh look.", | ||
| "credits": [ | ||
| { "username": "LifeCoderBoy", "url": "https://scratch.mit.edu/users/LifeCoderBoy/" }, | ||
| { "username": "_nix", "url": "https://scratch.mit.edu/users/_nix/" } | ||
| ], | ||
| "styles": [{ "file": "scratch-www.css", "runOn": "/" }, { "file": "scratch-editor.css", "runOn": "/projects/*" }, { "file": "scratch-profile.css", "runOn": "/users/*" }], | ||
| "scripts": [{"file": "scratch-www.js", "runOn": "/"}, { "file": "scratch-profile.js", "runOn": "/users/*" }], | ||
| "tags": ["Theme", "New"], | ||
| "type": ["Website", "Editor"], | ||
| "options": [{ "id": "theme", "name": "Mode", "type": 0 }], | ||
| "dynamic": true, | ||
| "resources": [] | ||
| } | ||
|  | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,321 @@ | ||
| /* Created by @towerofnix */ | ||
| body { | ||
| background-color: black; | ||
| } | ||
|  | ||
| .blocklyMainBackground { | ||
| fill: #444 !important; | ||
| } | ||
|  | ||
| /*.blocklyBlockCanvas { filter: brightness(0.9) saturate(0) !important; }*/ | ||
| .blocklySvg { | ||
| background-color: #222 !important; | ||
| } | ||
|  | ||
| .blocklyFlyoutBackground { | ||
| fill: #222 !important; | ||
| } | ||
|  | ||
| .blocklyFlyout { | ||
| border-right-color: #000 !important; | ||
| } | ||
|  | ||
| .blocklyZoom image { | ||
| opacity: 0.25; | ||
| } | ||
|  | ||
| .blocklyScrollbarHandle { | ||
| fill: #555 !important; | ||
| } | ||
|  | ||
| .blocklyWidgetDiv .goog-menu { | ||
| background: #555 !important; | ||
| border-color: #111; | ||
| } | ||
|  | ||
| .blocklyWidgetDiv .goog-menuitem { | ||
| color: #FFF !important; | ||
| } | ||
|  | ||
| .blocklyWidgetDiv .goog-menuitem-highlight { | ||
| background-color: #999 !important; | ||
| border-top: 1px solid #333; | ||
| border-bottom: 1px solid #333 | ||
| } | ||
|  | ||
| .blocklyWidgetDiv .goog-menuitem-disabled .goog-menuitem-content { | ||
| color: #AAA !important; | ||
| } | ||
|  | ||
| .scratchCategoryMenu, | ||
| .blocklyToolboxDiv, | ||
| [class^=selector_wrapper] { | ||
| background: #333 !important; | ||
| color: #EEE; | ||
| } | ||
|  | ||
| .scratchCategoryMenuItem.categorySelected { | ||
| background: #444 !important; | ||
| } | ||
|  | ||
| [class^=menu-bar_menu-bar_] { | ||
| background: #222 !important; | ||
| } | ||
|  | ||
| [class^=sprite-selector_], | ||
| [class^=stage-selector_] { | ||
| background: #333 !important; | ||
| color: #EEE; | ||
| } | ||
|  | ||
| [class*=sprite-selector-item] { | ||
| background: #3A3A3A !important; | ||
| color: #EEE; | ||
| } | ||
|  | ||
| [class^=selector_new-buttons]::before { | ||
| background: none !important; | ||
| } | ||
|  | ||
| [class^=sprite-info] { | ||
| background: #333 !important; | ||
| color: #EEE; | ||
| } | ||
|  | ||
| [class^=gui_extension-button-container] { | ||
| background: #444 !important; | ||
| border-color: #222 !important; | ||
| } | ||
|  | ||
| [class^=gui_body-wrapper] { | ||
| background-color: #2E2E2E !important; | ||
| } | ||
|  | ||
| [class*=gui_tab_] { | ||
| background-color: #444 !important; | ||
| border-bottom-color: #2E2E2E !important; | ||
| } | ||
|  | ||
| [class*=gui_tab_][class*=gui_is-selected] { | ||
| background-color: #555 !important; | ||
| } | ||
|  | ||
| [class^=asset-panel_] { | ||
| background-color: #444 !important; | ||
| color: #EEE; | ||
| } | ||
|  | ||
| [class^=sound-editor_round-button] { | ||
| filter: brightness(0.75) saturate(0) !important; | ||
| } | ||
|  | ||
| [class*=button_button], | ||
| [class^=sound-editor_button] { | ||
| background: #555 !important; | ||
| border-color: #333 !important; | ||
| } | ||
|  | ||
| .injectionDiv, | ||
| .blocklyToolboxDiv, | ||
| [class^=stage_stage-wrapper], | ||
| [class^=asset-panel_], | ||
| [class^=sprite-selector], | ||
| [class^=stage-selector] { | ||
| border-color: #111 !important; | ||
| } | ||
|  | ||
| [class^=stage_stage-wrapper-overlay] { | ||
| background-color: #000; | ||
| } | ||
|  | ||
| [class*=stage_stage-overlay-content] { | ||
| border: 1px solid #333 !important; | ||
| } | ||
|  | ||
| [class^=stage-header_stage-header-wrapper-overlay] { | ||
| background-color: #000; | ||
| } | ||
|  | ||
| [class^=react-tabs]:focus::after { | ||
| display: none; | ||
| } | ||
|  | ||
| [class^=input_input-form_], | ||
| [class^=sprite-info], | ||
| [class^=stage-header] { | ||
| border-color: #666 !important; | ||
| } | ||
|  | ||
| [class^=backpack_backpack-header] { | ||
| background: #444; | ||
| color: white; | ||
| } | ||
|  | ||
| [class^=menu-bar_help-icon] { | ||
| filter: brightness(0.5); | ||
| } | ||
|  | ||
| .Popover-body { | ||
| background: #333; | ||
| border-color: #222; | ||
| } | ||
|  | ||
| .Popover-tipShape { | ||
| fill: #333; | ||
| stroke: #222; | ||
| } | ||
|  | ||
| [class^=color-picker_row-header] { | ||
| color: #EEE; | ||
| } | ||
|  | ||
| [class^=color-picker_divider] { | ||
| border-color: #555; | ||
| } | ||
|  | ||
| [class^=color-picker_swatch] { | ||
| border-color: #666; | ||
| } | ||
|  | ||
| [class^=slider_handle] { | ||
| background-color: #EEE; | ||
| } | ||
|  | ||
| /* recent changes :P */ | ||
|  | ||
| .blocklyFlyoutButton>.blocklyText, | ||
| .blocklyFlyoutLabelText { | ||
| fill: #eed !important; | ||
| } | ||
|  | ||
| [class^=gui_tab] span { | ||
| font-weight: 800; | ||
| } | ||
|  | ||
| [class^=gui_tab] li:not([aria-selected=true])>span { | ||
| color: hsla(215, 100%, 85%, 0.5) !important; | ||
| } | ||
|  | ||
| /* Makes block text a little easier to read. */ | ||
| .blocklyDraggable>.blocklyText, | ||
| .blocklyDraggable>g>text { | ||
| text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4); | ||
| } | ||
|  | ||
| [class^=button_outlined-button]:not([class*=menu-bar]):not([class*=modal]):not([class*=tag-button_active]) { | ||
| background: #444 !important; | ||
| } | ||
|  | ||
| [class*=modal_modal-overlay] { | ||
| background-color: hsla(215, 20%, 35%, 0.9); | ||
| } | ||
|  | ||
| [class^=prompt_body] { | ||
| background-color: hsla(0, 0%, 90%, 0.9); | ||
| } | ||
|  | ||
| .blocklyFlyoutButton:hover { | ||
| fill: hsla(215, 60%, 40%, 1) !important; | ||
| } | ||
|  | ||
| input { | ||
| background: #444; | ||
| color: #FFF !important; | ||
| } | ||
|  | ||
| input::placeholder { | ||
| color: #DDD; | ||
| } | ||
|  | ||
| input:focus { | ||
| box-shadow: 0 0 0 0.25rem hsla(215, 100%, 55%, 0.45) !important; | ||
| } | ||
|  | ||
| [class^="stage_stage-wrapper-overlay"], | ||
| [class^="stage-header_stage-header-wrapper-overlay"] { | ||
| background-color: #222; | ||
| } | ||
|  | ||
| /* Menu bar */ | ||
|  | ||
| [class^=gui_menu-bar], | ||
| [class^=modal_header] { | ||
| background-color: hsla(215, 20%, 35%, 1); | ||
| } | ||
|  | ||
| [class^=menu_menu] { | ||
| background-color: hsla(215, 20%, 35%, 1); | ||
| } | ||
|  | ||
| [class*=project-title-input_title-field] { | ||
| background-color: hsla(215, 20%, 32%, 1); | ||
| border-color: hsla(0, 0%, 0%, 0.15) !important; | ||
| } | ||
|  | ||
| [class*=project-title-input_title-field]:hover { | ||
| background-color: hsla(215, 20%, 29%, 1); | ||
| } | ||
|  | ||
| [class*=project-title-input_title-field]:focus { | ||
| background-color: hsla(215, 20%, 25%, 1); | ||
| } | ||
|  | ||
| /* Context menus */ | ||
|  | ||
| [class*=context-menu_context-menu] { | ||
| background-color: #555; | ||
| } | ||
|  | ||
| /* Libraries */ | ||
|  | ||
| [class*=modal_modal-content], | ||
| [class^=library_library-scroll-grid] { | ||
| background-color: #2E2E2E !important; | ||
| } | ||
|  | ||
| [class^=library_library-scroll-grid]>[class^=library-item_library-item] { | ||
| background-color: #3A3A3A; | ||
| border-color: #111; | ||
| color: white; | ||
| } | ||
|  | ||
| [class^=library_library-scroll-grid]>[class^=library-item_library-item]:hover { | ||
| border-color: hsla(215, 100%, 65%, 1); | ||
| } | ||
|  | ||
| [class^=library-item_featured-extension] { | ||
| color: white !important; | ||
| } | ||
|  | ||
| [class^=library-item_featured-extension-metadata-detail] img { | ||
| filter: brightness(2.0) saturate(0); | ||
| } | ||
|  | ||
| [class^=library-item_library-item-inset-image-container] { | ||
| border-color: #2C2C2C; | ||
| } | ||
|  | ||
| [class^=library_filter-bar] { | ||
| background-color: hsla(215, 20%, 45%, 1); | ||
| } | ||
|  | ||
| [class^=filter_filter-input] { | ||
| border-color: #666; | ||
| background: #444; | ||
| color: #FFF !important; | ||
| border-radius: 10rem; | ||
| } | ||
|  | ||
| [class^=filter_filter-input]::placeholder { | ||
| color: #FFF !important; | ||
| } | ||
|  | ||
| [class*=tag-button_active] { | ||
| background-color: hsla(30, 100%, 55%, 1) !important; | ||
| } | ||
|  | ||
| /* Paint editor */ | ||
|  | ||
| [class^=tool-select-base_tool-select] { | ||
| filter: brightness(2.0) saturate(0.25); | ||
| } | 
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
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.
You have an option yet it is never referenced anywhere.
Uh oh!
There was an error while loading. Please reload this page.
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.
See scratch-www.js line 4:
ScratchTools.Storage.themeIs that how you reference an option, or do I do something different?
Uh oh!
There was an error while loading. Please reload this page.
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.
@rgantzos Also, instead of integrating dark mode into my "tool" why can't I (or someone else) just make another dark mode tool that is compatible with this?