-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix: Portal frontend 6 #64
Conversation
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.
Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @SKairinos)
src/theme/palette.ts
line 14 at r1 (raw file):
declare module "@mui/material/styles" { interface CustomPaletteColors { tertiary: PaletteColor
Is this needed, is tertiary
the same as student
?
src/theme/palette.ts
line 26 at r1 (raw file):
export interface PropsColorOverrides { tertiary: true
Same question
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.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)
src/theme/palette.ts
line 14 at r1 (raw file):
Previously, faucomte97 (Florian Aucomte) wrote…
Is this needed, is
tertiary
the same asstudent
?
Yes. MUI uses the design language primary, secondary, etc. (MUI needs this) MUI uses these color names since it's a framework.
However, I gave the colors extra names tailored to our app to make it more dev friendly. Now we also have the "teacher" color, for example.
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.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @SKairinos)
src/theme/palette.ts
line 14 at r1 (raw file):
Previously, SKairinos (Stefan Kairinos) wrote…
Yes. MUI uses the design language primary, secondary, etc. (MUI needs this) MUI uses these color names since it's a framework.
However, I gave the colors extra names tailored to our app to make it more dev friendly. Now we also have the "teacher" color, for example.
And how come primary and secondary aren't in there?
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.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)
src/theme/palette.ts
line 14 at r1 (raw file):
Previously, faucomte97 (Florian Aucomte) wrote…
And how come primary and secondary aren't in there?
they are default values
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.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)
src/theme/palette.ts
line 14 at r1 (raw file):
Previously, SKairinos (Stefan Kairinos) wrote…
they are default values
https://docs.codeforlife.education/software-developer-guide/dev-environment-setup#macos
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.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)
src/theme/palette.ts
line 14 at r1 (raw file):
Previously, SKairinos (Stefan Kairinos) wrote…
https://docs.codeforlife.education/software-developer-guide/dev-environment-setup#macos
meant to share this link
https://mui.com/material-ui/customization/palette/#default-colors
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.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @SKairinos)
## [2.3.9](v2.3.8...v2.3.9) (2024-10-04) ### Bug Fixes * Portal frontend 6 ([#64](#64)) ([7981854](7981854))
This change is