mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(docs-infra): convert Sass mixin from camelCase to kebab-case to follow Sass conventions (#40881)
This commit converts the last remaining camelCased Sass mixin (`deployTheme`) to kebab-case (`deploy-theme`) to follow the Sass conventions. Discussed in https://github.com/angular/angular/pull/40881#discussion_r577961617. PR Close #40881
This commit is contained in:
parent
9aa0ef964e
commit
dcbf600bbc
2 changed files with 4 additions and 4 deletions
|
|
@ -1,11 +1,11 @@
|
|||
aio-shell.mode-archive {
|
||||
@include deployTheme(#263238, #78909C);
|
||||
@include deploy-theme(#263238, #78909C);
|
||||
}
|
||||
|
||||
aio-shell.mode-next {
|
||||
@include deployTheme(#DD0031, #C3002F);
|
||||
@include deploy-theme(#DD0031, #C3002F);
|
||||
}
|
||||
|
||||
aio-shell.mode-rc {
|
||||
@include deployTheme(#DDA302, #C3A300);
|
||||
@include deploy-theme(#DDA302, #C3A300);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin deployTheme($mainColor, $gradientTargetColor) {
|
||||
@mixin deploy-theme($mainColor, $gradientTargetColor) {
|
||||
.mat-toolbar.mat-primary, footer {
|
||||
background: linear-gradient(145deg, $mainColor, $gradientTargetColor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue