|
321 | 321 | @function fab($systems, $exclude-hardcoded) {
|
322 | 322 | @return ((
|
323 | 323 | foreground-color: map.get($systems, md-sys-color, on-primary-container),
|
324 |
| - state-layer-color: map.get($systems, md-sys-color, primary-container), |
| 324 | + state-layer-color: map.get($systems, md-sys-color, on-primary-container), |
325 | 325 | ripple-color: mat.private-safe-color-change(
|
326 | 326 | map.get($systems, md-sys-color, on-primary-container),
|
327 | 327 | $alpha: map.get($systems, md-sys-state, pressed-state-layer-opacity)
|
|
338 | 338 | primary: (), // Default, no overrides needed.
|
339 | 339 | secondary: (
|
340 | 340 | foreground-color: map.get($systems, md-sys-color, on-secondary-container),
|
341 |
| - state-layer-color: map.get($systems, md-sys-color, secondary-container), |
| 341 | + state-layer-color: map.get($systems, md-sys-color, on-secondary-container), |
342 | 342 | ripple-color: mat.private-safe-color-change(
|
343 | 343 | map.get($systems, md-sys-color, on-secondary-container),
|
344 | 344 | $alpha: map.get($systems, md-sys-state, pressed-state-layer-opacity)
|
345 | 345 | ),
|
346 | 346 | ),
|
347 | 347 | tertiary: (
|
348 | 348 | foreground-color: map.get($systems, md-sys-color, on-tertiary-container),
|
349 |
| - state-layer-color: map.get($systems, md-sys-color, tertiary-container), |
| 349 | + state-layer-color: map.get($systems, md-sys-color, on-tertiary-container), |
350 | 350 | ripple-color: mat.private-safe-color-change(
|
351 | 351 | map.get($systems, md-sys-color, on-tertiary-container),
|
352 | 352 | $alpha: map.get($systems, md-sys-state, pressed-state-layer-opacity)
|
|
362 | 362 | @function fab-small($systems, $exclude-hardcoded) {
|
363 | 363 | @return ((
|
364 | 364 | foreground-color: map.get($systems, md-sys-color, on-primary-container),
|
365 |
| - state-layer-color: map.get($systems, md-sys-color, primary-container), |
| 365 | + state-layer-color: map.get($systems, md-sys-color, on-primary-container), |
366 | 366 | ripple-color: mat.private-safe-color-change(
|
367 | 367 | map.get($systems, md-sys-color, on-primary-container),
|
368 | 368 | $alpha: map.get($systems, md-sys-state, pressed-state-layer-opacity)
|
|
379 | 379 | primary: (), // Default, no overrides needed.
|
380 | 380 | secondary: (
|
381 | 381 | foreground-color: map.get($systems, md-sys-color, on-secondary-container),
|
382 |
| - state-layer-color: map.get($systems, md-sys-color, secondary-container), |
| 382 | + state-layer-color: map.get($systems, md-sys-color, on-secondary-container), |
383 | 383 | ripple-color: mat.private-safe-color-change(
|
384 | 384 | map.get($systems, md-sys-color, on-secondary-container),
|
385 | 385 | $alpha: map.get($systems, md-sys-state, pressed-state-layer-opacity)
|
386 | 386 | ),
|
387 | 387 | ),
|
388 | 388 | tertiary: (
|
389 | 389 | foreground-color: map.get($systems, md-sys-color, on-tertiary-container),
|
390 |
| - state-layer-color: map.get($systems, md-sys-color, tertiary-container), |
| 390 | + state-layer-color: map.get($systems, md-sys-color, on-tertiary-container), |
391 | 391 | ripple-color: mat.private-safe-color-change(
|
392 | 392 | map.get($systems, md-sys-color, on-tertiary-container),
|
393 | 393 | $alpha: map.get($systems, md-sys-state, pressed-state-layer-opacity)
|
|
0 commit comments