-
Notifications
You must be signed in to change notification settings - Fork 217
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
Add Themes for Arcade (and bump pxt-core) #6732
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e2d006d
Reapply "Arcade Theming (#6697)" (#6721)
thsparks 68be321
Speed up toolbox hover and change legacy hover color
thsparks ebe86c4
Better contrast for dark theme teal
thsparks a8b6bf1
Slightly subtler hover colors for neutral backgrounds in light themes
thsparks 1cc7d80
Also brighten tutorial text blocks
thsparks 0ef4fac
Adjust comment wording
thsparks 2170117
Add weight values
thsparks b2bf4ae
Bump pxt core (so it now has theming)
thsparks 82c69c8
Merge branch 'master' of https://github.com/microsoft/pxt-arcade into…
thsparks cfb234a
Bump pxt core to 11.3.26
thsparks 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 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
This file contains 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
This file contains 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
This file contains 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,120 @@ | ||
{ | ||
"id": "arcade-dark", | ||
"name": "Arcade Dark", | ||
"weight": 60, | ||
"monacoBaseTheme": "vs-dark", | ||
"overrideFiles": [ | ||
"/overrides/arcade-dark-overrides.css" | ||
], | ||
"colors": { | ||
"pxt-header-background": "#181818", | ||
"pxt-header-foreground": "#ffffff", | ||
"pxt-header-background-hover": "#252525", | ||
"pxt-header-foreground-hover": "#ffffff", | ||
"pxt-header-stencil": "#323232", | ||
|
||
"pxt-primary-background": "#0078D4", | ||
"pxt-primary-foreground": "#ffffff", | ||
"pxt-primary-background-hover": "#026EC1", | ||
"pxt-primary-foreground-hover": "#ffffff", | ||
"pxt-primary-accent": "#005ba1", | ||
|
||
"pxt-secondary-background": "#63276d", | ||
"pxt-secondary-foreground": "#f3f2f1", | ||
"pxt-secondary-background-hover": "#742e80", | ||
"pxt-secondary-foreground-hover": "#f3f2f1", | ||
"pxt-secondary-accent": "#63276d", | ||
|
||
"pxt-tertiary-background": "#0078d4", | ||
"pxt-tertiary-foreground": "#ffffff", | ||
"pxt-tertiary-background-hover": "#026EC1", | ||
"pxt-tertiary-foreground-hover": "#ffffff", | ||
"pxt-tertiary-accent": "#0894ff", | ||
|
||
"pxt-target-background1": "#1F1F1F", | ||
"pxt-target-foreground1": "#f3f2f1", | ||
"pxt-target-background1-hover": "#2c2c2c", | ||
"pxt-target-foreground1-hover": "#ffffff", | ||
"pxt-target-stencil1": "#3b3a39", | ||
|
||
"pxt-target-background2": "#181818", | ||
"pxt-target-foreground2": "#ffffff", | ||
"pxt-target-background2-hover": "#252525", | ||
"pxt-target-foreground2-hover": "#ffffff", | ||
"pxt-target-stencil2": "#323232", | ||
|
||
"pxt-target-background3": "#181818", | ||
"pxt-target-foreground3": "#ffffff", | ||
"pxt-target-background3-hover": "#252525", | ||
"pxt-target-foreground3-hover": "#ffffff", | ||
"pxt-target-stencil3": "#323232", | ||
|
||
"pxt-neutral-background1": "#1F1F1F", | ||
"pxt-neutral-foreground1": "#f3f2f1", | ||
"pxt-neutral-background1-hover": "#2c2c2c", | ||
"pxt-neutral-foreground1-hover": "#ffffff", | ||
"pxt-neutral-stencil1": "#3b3a39", | ||
|
||
"pxt-neutral-background2": "#181818", | ||
"pxt-neutral-foreground2": "#ffffff", | ||
"pxt-neutral-background2-hover": "#252525", | ||
"pxt-neutral-foreground2-hover": "#ffffff", | ||
"pxt-neutral-stencil2": "#3b3a39", | ||
|
||
"pxt-neutral-background3": "#1F1F1F", | ||
"pxt-neutral-foreground3": "#f3f2f1", | ||
"pxt-neutral-background3-hover": "#2c2c2c", | ||
"pxt-neutral-foreground3-hover": "#ffffff", | ||
"pxt-neutral-stencil3": "#3b3a39", | ||
"pxt-neutral-background3-alpha90": "#3b3a39", | ||
|
||
"pxt-neutral-alpha0": "rgba(180, 180, 180, 0)", | ||
"pxt-neutral-alpha10": "rgba(180, 180, 180, 0.1)", | ||
"pxt-neutral-alpha20": "rgba(180, 180, 180, 0.2)", | ||
"pxt-neutral-alpha50": "rgba(180, 180, 180, 0.5)", | ||
|
||
"pxt-link": "#479ef5", | ||
"pxt-link-hover": "#62abf5", | ||
"pxt-focus-border": "#5caae5", | ||
|
||
"pxt-colors-purple-background": "#63276d", | ||
"pxt-colors-purple-foreground": "#f3f2f1", | ||
"pxt-colors-purple-hover": "#742e80", | ||
"pxt-colors-purple-alpha10": "#63276d19", | ||
|
||
"pxt-colors-orange-background": "#7a2101", | ||
"pxt-colors-orange-foreground": "#ffffff", | ||
"pxt-colors-orange-hover": "#932801", | ||
"pxt-colors-orange-alpha10": "#7a210119", | ||
|
||
"pxt-colors-brown-background": "#50301a", | ||
"pxt-colors-brown-foreground": "#ffffff", | ||
"pxt-colors-brown-hover": "#633c20", | ||
"pxt-colors-brown-alpha10": "#50301a19", | ||
|
||
"pxt-colors-blue-background": "#0078D4", | ||
"pxt-colors-blue-foreground": "#ffffff", | ||
"pxt-colors-blue-hover": "#026EC1", | ||
"pxt-colors-blue-alpha10": "#0078D419", | ||
|
||
"pxt-colors-green-background": "#27ae60", | ||
"pxt-colors-green-foreground": "#ffffff", | ||
"pxt-colors-green-hover": "#1e8449", | ||
"pxt-colors-green-alpha10": "#27ae6019", | ||
|
||
"pxt-colors-red-background": "#e74c3c", | ||
"pxt-colors-red-foreground": "#ffffff", | ||
"pxt-colors-red-hover": "#c0392b", | ||
"pxt-colors-red-alpha10": "#e74c3c19", | ||
|
||
"pxt-colors-teal-background": "#1abc9c", | ||
"pxt-colors-teal-foreground": "#ffffff", | ||
"pxt-colors-teal-hover": "#16a085", | ||
"pxt-colors-teal-alpha10": "#1abc9c19", | ||
|
||
"pxt-colors-yellow-background": "#fde300", | ||
"pxt-colors-yellow-foreground": "#000000", | ||
"pxt-colors-yellow-hover": "#e4cc00", | ||
"pxt-colors-yellow-alpha10": "#fde30019" | ||
} | ||
} |
This file contains 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,110 @@ | ||
{ | ||
"id": "arcade-legacy", | ||
"name": "Arcade Legacy", | ||
"weight": 20, | ||
"overrideFiles": [], | ||
"colors": { | ||
"pxt-header-background": "#F76820", | ||
"pxt-header-foreground": "#FFFFFF", | ||
"pxt-header-background-hover": "#ab3d06", | ||
"pxt-header-foreground-hover": "#FFFFFF", | ||
"pxt-header-stencil": "#dc4f08", | ||
|
||
"pxt-primary-background": "#F76820", | ||
"pxt-primary-foreground": "#FFFFFF", | ||
"pxt-primary-background-hover": "#dc4f08", | ||
"pxt-primary-foreground-hover": "#FFFFFF", | ||
"pxt-primary-accent": "#C5561F", | ||
|
||
"pxt-secondary-background": "#028B9B", | ||
"pxt-secondary-background-hover": "#015e69", | ||
"pxt-secondary-foreground": "#FFFFFF", | ||
"pxt-secondary-foreground-hover": "#FFFFFF", | ||
"pxt-secondary-accent": "#58afba", | ||
|
||
"pxt-tertiary-background": "#028B9B", | ||
"pxt-tertiary-foreground": "#FFFFFF", | ||
"pxt-tertiary-background-hover": "#015e69", | ||
"pxt-tertiary-foreground-hover": "#FFFFFF", | ||
"pxt-tertiary-accent": "#013136", | ||
|
||
"pxt-target-background1": "#FEF3E0", | ||
"pxt-target-foreground1": "#000000", | ||
"pxt-target-background1-hover": "#fce0af", | ||
"pxt-target-foreground1-hover": "#000000", | ||
"pxt-target-stencil1": "#e4d9c7", | ||
|
||
"pxt-target-background2": "#B1E1DA", | ||
"pxt-target-foreground2": "#000000", | ||
"pxt-target-background2-hover": "#8cd3c9", | ||
"pxt-target-foreground2-hover": "#000000", | ||
"pxt-target-stencil2": "#b0b0b0", | ||
|
||
"pxt-target-background3": "#FEF3E0", | ||
"pxt-target-foreground3": "#000000", | ||
"pxt-target-background3-hover": "#E4E4E4", | ||
"pxt-target-foreground3-hover": "#000000", | ||
"pxt-target-stencil3": "#e4d9c7", | ||
|
||
"pxt-neutral-background1": "#FFFFFF", | ||
"pxt-neutral-foreground1": "rgba(0,0,0,.85)", | ||
"pxt-neutral-background1-hover": "#f2f2f2", | ||
"pxt-neutral-foreground1-hover": "rgba(0,0,0,.85)", | ||
"pxt-neutral-stencil1": "rgba(34, 36, 38, .15)", | ||
|
||
"pxt-neutral-background2": "#F8F8F8", | ||
"pxt-neutral-foreground2": "rgba(0,0,0,.85)", | ||
"pxt-neutral-background2-hover": "#ebebeb", | ||
"pxt-neutral-foreground2-hover": "rgba(0,0,0,.85)", | ||
"pxt-neutral-stencil2": "#e9eef2", | ||
|
||
"pxt-neutral-background3": "#4e5758", | ||
"pxt-neutral-foreground3": "#FFFFFF", | ||
"pxt-neutral-background3-hover": "#424a4a", | ||
"pxt-neutral-foreground3-hover": "#FFFFFF", | ||
"pxt-neutral-stencil3": "#FFFFFF", | ||
"pxt-neutral-background3-alpha90": "#4E5758E5", | ||
|
||
"pxt-neutral-alpha0": "rgba(0, 0, 0, 0)", | ||
"pxt-neutral-alpha10": "rgba(0, 0, 0, 0.1)", | ||
"pxt-neutral-alpha20": "rgba(0, 0, 0, 0.2)", | ||
"pxt-neutral-alpha50": "rgba(0, 0, 0, 0.5)", | ||
|
||
"pxt-link": "#3977B4", | ||
"pxt-link-hover": "#204467", | ||
"pxt-focus-border": "#0078D4", | ||
|
||
"pxt-colors-purple-background": "#6B4F76", | ||
"pxt-colors-purple-foreground": "#FFFFFF", | ||
"pxt-colors-purple-hover": "#4f3b57", | ||
"pxt-colors-purple-alpha10": "#6b4f7619", | ||
"pxt-colors-orange-background": "#ff7f50", | ||
"pxt-colors-orange-foreground": "#FFFFFF", | ||
"pxt-colors-orange-hover": "#ff5a1d", | ||
"pxt-colors-orange-alpha10": "#ff7f5019", | ||
"pxt-colors-brown-background": "#663905", | ||
"pxt-colors-brown-foreground": "#FFFFFF", | ||
"pxt-colors-brown-hover": "#351e03", | ||
"pxt-colors-brown-alpha10": "#66390519", | ||
"pxt-colors-blue-background": "#028b9b", | ||
"pxt-colors-blue-foreground": "#FFFFFF", | ||
"pxt-colors-blue-hover": "#015e69", | ||
"pxt-colors-blue-alpha10": "#028b9b19", | ||
"pxt-colors-green-background": "#2ecc71", | ||
"pxt-colors-green-foreground": "#FFFFFF", | ||
"pxt-colors-green-hover": "#22be64", | ||
"pxt-colors-green-alpha10": "#2ecc7119", | ||
"pxt-colors-red-background": "#a80000", | ||
"pxt-colors-red-foreground": "#FFFFFF", | ||
"pxt-colors-red-hover": "#8f0000", | ||
"pxt-colors-red-alpha10": "#a8000019", | ||
"pxt-colors-teal-background": "#028B9B", | ||
"pxt-colors-teal-foreground": "#FFFFFF", | ||
"pxt-colors-teal-hover": "#015e69", | ||
"pxt-colors-teal-alpha10": "#028b9b19", | ||
"pxt-colors-yellow-background": "#c0a000", | ||
"pxt-colors-yellow-foreground": "#FFFFFF", | ||
"pxt-colors-yellow-hover": "rgb(153, 132, 0)", | ||
"pxt-colors-yellow-alpha10": "#c0a00019" | ||
} | ||
} |
This file contains 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,110 @@ | ||
{ | ||
"id": "arcade-light", | ||
"name": "Arcade Light", | ||
"weight": 40, | ||
"overrideFiles": [], | ||
"colors": { | ||
"pxt-header-background": "#116E79", | ||
"pxt-header-foreground": "#FFFFFF", | ||
"pxt-header-background-hover": "#041d20", | ||
"pxt-header-foreground-hover": "#FFFFFF", | ||
"pxt-header-stencil": "#0b454c", | ||
|
||
"pxt-primary-background": "#5D4FBA", | ||
"pxt-primary-foreground": "#FFFFFF", | ||
"pxt-primary-background-hover": "#4d3eb1", | ||
"pxt-primary-foreground-hover": "#FFFFFF", | ||
"pxt-primary-accent": "#403587", | ||
|
||
"pxt-secondary-background": "#5D4FBA", | ||
"pxt-secondary-foreground": "#F8FAFC", | ||
"pxt-secondary-background-hover": "#483c9a", | ||
"pxt-secondary-foreground-hover": "#F8FAFC", | ||
"pxt-secondary-accent": "#7569c4", | ||
|
||
"pxt-tertiary-background": "#116E79", | ||
"pxt-tertiary-foreground": "#FFFFFF", | ||
"pxt-tertiary-background-hover": "#0b454c", | ||
"pxt-tertiary-foreground-hover": "#FFFFFF", | ||
"pxt-tertiary-accent": "#041d20", | ||
|
||
"pxt-target-background1": "#F8FAFC", | ||
"pxt-target-foreground1": "#000000", | ||
"pxt-target-background1-hover": "#d4e0ed", | ||
"pxt-target-foreground1-hover": "#000000", | ||
"pxt-target-stencil1": "#e1e1e1", | ||
|
||
"pxt-target-background2": "#F8FAFC", | ||
"pxt-target-foreground2": "#000000", | ||
"pxt-target-background2-hover": "#d4e0ed", | ||
"pxt-target-foreground2-hover": "#000000", | ||
"pxt-target-stencil2": "#e1e1e1", | ||
|
||
"pxt-target-background3": "#F8FAFC", | ||
"pxt-target-foreground3": "#000000", | ||
"pxt-target-background3-hover": "#d4e0ed", | ||
"pxt-target-foreground3-hover": "#000000", | ||
"pxt-target-stencil3": "#e1e1e1", | ||
|
||
"pxt-neutral-background1": "#FFFFFF", | ||
"pxt-neutral-foreground1": "rgba(0,0,0,.85)", | ||
"pxt-neutral-background1-hover": "#f2f2f2", | ||
"pxt-neutral-foreground1-hover": "rgba(0,0,0,.85)", | ||
"pxt-neutral-stencil1": "rgba(34, 74, 114, 0.15)", | ||
|
||
"pxt-neutral-background2": "#F8F8F8", | ||
"pxt-neutral-foreground2": "rgba(0,0,0,.85)", | ||
"pxt-neutral-background2-hover": "#ebebeb", | ||
"pxt-neutral-foreground2-hover": "rgba(0,0,0,.85)", | ||
"pxt-neutral-stencil2": "#e9eef2", | ||
|
||
"pxt-neutral-background3": "#4e5758", | ||
"pxt-neutral-foreground3": "#FFFFFF", | ||
"pxt-neutral-background3-hover": "#424a4a", | ||
"pxt-neutral-foreground3-hover": "#FFFFFF", | ||
"pxt-neutral-stencil3": "#FFFFFF", | ||
"pxt-neutral-background3-alpha90": "#4E5758E5", | ||
|
||
"pxt-neutral-alpha0": "rgba(0, 0, 0, 0)", | ||
"pxt-neutral-alpha10": "rgba(0, 0, 0, 0.1)", | ||
"pxt-neutral-alpha20": "rgba(0, 0, 0, 0.2)", | ||
"pxt-neutral-alpha50": "rgba(0, 0, 0, 0.5)", | ||
|
||
"pxt-link": "#3977B4", | ||
"pxt-link-hover": "#204467", | ||
"pxt-focus-border": "#0078D4", | ||
|
||
"pxt-colors-purple-background": "#6B4F76", | ||
"pxt-colors-purple-foreground": "#FFFFFF", | ||
"pxt-colors-purple-hover": "#483c9a", | ||
"pxt-colors-purple-alpha10": "#6b4f7619", | ||
"pxt-colors-orange-background": "#F76820", | ||
"pxt-colors-orange-foreground": "#FFFFFF", | ||
"pxt-colors-orange-hover": "#dc4f08", | ||
"pxt-colors-orange-alpha10": "#F7682019", | ||
"pxt-colors-brown-background": "#663905", | ||
"pxt-colors-brown-foreground": "#FFFFFF", | ||
"pxt-colors-brown-hover": "#351e03", | ||
"pxt-colors-brown-alpha10": "#66390519", | ||
"pxt-colors-blue-background": "#116e79", | ||
"pxt-colors-blue-foreground": "#FFFFFF", | ||
"pxt-colors-blue-hover": "#0b454c", | ||
"pxt-colors-blue-alpha10": "#116e7919", | ||
"pxt-colors-green-background": "#2ecc71", | ||
"pxt-colors-green-foreground": "#FFFFFF", | ||
"pxt-colors-green-hover": "#22be64", | ||
"pxt-colors-green-alpha10": "#2ecc7119", | ||
"pxt-colors-red-background": "#a80000", | ||
"pxt-colors-red-foreground": "#FFFFFF", | ||
"pxt-colors-red-hover": "#8f0000", | ||
"pxt-colors-red-alpha10": "#a8000019", | ||
"pxt-colors-teal-background": "#116e79", | ||
"pxt-colors-teal-foreground": "#FFFFFF", | ||
"pxt-colors-teal-hover": "#0b454c", | ||
"pxt-colors-teal-alpha10": "#116e7919", | ||
"pxt-colors-yellow-background": "#f1c40f", | ||
"pxt-colors-yellow-foreground": "#000000", | ||
"pxt-colors-yellow-hover": "#c29d0b", | ||
"pxt-colors-yellow-alpha10": "#f1c40f19" | ||
} | ||
} |
Oops, something went wrong.
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.
Is there a reason this was reduced?
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.
@riknoll Mentioned during testing that the on-hover's color transition seemed too long, and ever since he pointed it out, I can't unsee it. It feels really long at 1 second. So I just shortened it.
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.
Sounds good!