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
4b3e6b5a00
commit
09e1e1935a
|
@ -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 New Issue