Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit c12cee2

Browse files
Googlernshahan
authored andcommitted
Created a mixin for ACX's material spinner that allows customization of the spinner's thickness.
PiperOrigin-RevId: 207115306
1 parent 3cbcc27 commit c12cee2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/material_spinner/_mixins.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
// Changes the border-width of the spinner so it appears thicker or thinner.
6+
@mixin material-spinner-thickness($stroke-width) {
7+
::ng-deep .circle::before {
8+
border-width: $stroke-width;
9+
}
10+
}

0 commit comments

Comments
 (0)