Comments (2)
See https://stackoverflow.com/a/78617559/5470544
In your custom palettes, you are using the same colors for hue and contrast. You should choose either black or white as contrast color, depending on which color gives best contrast. This is not an issue with Angular Material.
Updated stackblitz: https://stackblitz.com/edit/stackblitz-starters-a3pvnb?file=src%2Fcolor.scss
from components.
Closing since it looks like the palette wasn't defined correctly. Note that you can also generate a custom theme by running ng generate @angular/material:m3-theme
.
from components.
Related Issues (20)
- bug(Angular Youtube player: Cannot read properties of null (reading 'src')
- -ms-high-constrast is in the process of being deprecated HOT 3
- feat(badge): Add support for M3 small badges
- bug(badge): Large size setting looks the same as medium HOT 1
- bug(Theming): having multiple theme files causes :root css variables to persist upon unloading previous theme and loading new one HOT 1
- bug(Dialog): Dialog don't follow M3 specs HOT 4
- bug(theme): using custom neutral color in custom theme schematic causes select form field to be transparent HOT 1
- bug(Overlay): overlayOutsideClick triggered when clicking into shadowDOM within overlay HOT 2
- bug(Datepicker): DatePicker does not emit event for `DateChange` or `DateInput` when bound form control setValue is called. HOT 2
- bug(MatBottomSheet): zoneless - Expression has changed after it was checked HOT 1
- bug(DatePicker): Keyboard focus lost after selecting first date in range (accessibility failure)
- docs-bug(Sidenav): deprecated methods used in the responsive sidenav example HOT 1
- Unable to access the controls in the "Rearrange columns" dialog with the keyboard. HOT 1
- bug(mat-tab-nav-bar): Accessibility issue with dpad navigation in mat tabs HOT 3
- bug(MatMenu): M3 Theme --mat-menu-container-color is not defined HOT 2
- bug(Dialog): @Inject(MAT_DIALOG_DATA) reference is not getting data in Micro Frontend Architecture HOT 1
- docs-bug(@angular/google-maps): map-info-window
- docs-bug(mat-table): Example suggesting to use max-width to set column width is misleading HOT 1
- mat-form-field height exceeds parent height for multiline inputs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from components.