-
Notifications
You must be signed in to change notification settings - Fork 152
Mozilla UI balrog #3014
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
godplayer56
wants to merge
12
commits into
mozilla-releng:main
Choose a base branch
from
godplayer56:mozilla-ui-balrog
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
Mozilla UI balrog #3014
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
09c6fdd
using mozilla protocol to update the balrog ui
godplayer56 4c93a8d
for yarn.lock file
godplayer56 d3ecaa5
This commit tries to fix the errors in ui-tests
godplayer56 62a7021
Trying to fix ui-build test error
godplayer56 c7a4a59
fixing lint errors
godplayer56 00a5627
temp commit
godplayer56 91d45e1
revert file
godplayer56 d22395d
updated the palette and deleted balrog.svg
godplayer56 e06608d
fixing ui-build
godplayer56 90ed0cd
modifying the logo function
godplayer56 9d8f1cf
updated the logo
godplayer56 f472a10
fixed eslint errors
godplayer56 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
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
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
This file was deleted.
Oops, something went wrong.
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
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,5 +1,5 @@ | ||
import { createTheme } from '@material-ui/core/styles'; | ||
import { amber, red, indigo } from '@material-ui/core/colors'; | ||
import '../node_modules/@mozilla-protocol/core/protocol/css/protocol-components.css'; | ||
|
||
const SPACING = { | ||
UNIT: 8, | ||
|
@@ -11,31 +11,36 @@ const SPACING = { | |
export default createTheme({ | ||
palette: { | ||
primary: { | ||
light: '#804cc5', | ||
main: '#4e1f94', | ||
dark: '#160065', | ||
main: '#000', | ||
}, | ||
secondary: { | ||
light: '#678dff', | ||
main: '#0061f2', | ||
dark: '#0038be', | ||
main: '#c50042', | ||
}, | ||
error: red, | ||
warning: { | ||
light: amber[300], | ||
main: amber[500], | ||
dark: amber[700], | ||
contrastText: 'rgba(0, 0, 0, 0.9)', | ||
}, | ||
info: { | ||
light: indigo[300], | ||
main: indigo[500], | ||
dark: indigo[700], | ||
contrastText: 'rgba(255, 255, 255, 0.9)', | ||
success: { | ||
main: '#3fe1b0', | ||
dark: '#008787', | ||
}, | ||
}, | ||
typography: { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you update the theme to use the protocol pallete? |
||
useNextVariants: true, | ||
fontDisplay: 'swap', | ||
fontFamily: "'Zilla Slab', 'Inter', sans-serif", | ||
fontStyle: 'normal', | ||
fontWeight: 'normal', | ||
body1: { | ||
fontFamily: "'Inter', sans-serif", | ||
}, | ||
body2: { | ||
fontFamily: "'Inter', sans-serif", | ||
}, | ||
caption: { | ||
fontFamily: "'Inter', sans-serif", | ||
}, | ||
button: { | ||
fontFamily: "'Inter', sans-serif", | ||
}, | ||
overline: { | ||
fontFamily: "'Inter', sans-serif", | ||
}, | ||
}, | ||
mixins: { | ||
link: { | ||
|
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
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 |
---|---|---|
|
@@ -1425,6 +1425,11 @@ | |
eslint-plugin-react "^7.14.3" | ||
eslint-plugin-react-hooks "^2.0.0" | ||
|
||
"@mozilla-protocol/core@^17.0.1": | ||
version "17.0.1" | ||
resolved "https://registry.yarnpkg.com/@mozilla-protocol/core/-/core-17.0.1.tgz#8ae34ffbba9e686b80465d9304b207da95ea272e" | ||
integrity sha512-xN6DNJ1P93lqrzhEHhx6J8HvIVpWDBLNOO4cqlHWH6HNPOoD/vsfygCwg6UJ+pkWBAwQLbS10xgB3Y2+kCP82Q== | ||
|
||
"@neutrinojs/[email protected]": | ||
version "9.5.0" | ||
resolved "https://registry.yarnpkg.com/@neutrinojs/clean/-/clean-9.5.0.tgz#77cfb0add1584741c7501f5e12ad206b67f216bf" | ||
|
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.
Should these be updated? What changes when you delete these?
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.
When I delete them the theme changes to the original theme it was. for example the dashboard becomes blue when I delete the palette
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.
Oh OK I see. Can we pick similar colors from the protocol pallette?
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.
Yes we do have similar colours in the protocol pallette, we can pick them if they look more lively. Should I update the pallette to include those colours?