Skip to content

Commit b55032f

Browse files
committed
refactor(button): new CSS properties
1 parent 26994c3 commit b55032f

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

src/app/data-entries/buttons/buttons-style/buttons-style.component.scss

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,15 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-contained-theme: contained-button-theme(
5-
$background: #348ae0,
6-
$hover-background: #2e7bc8,
7-
$focus-visible-background: #2e7bc8
5+
$background: #348ae0
86
);
97

108
$custom-flat-theme: flat-button-theme(
11-
$foreground: var(--ig-error-500-contrast),
12-
$hover-foreground: var(--ig-error-800-contrast),
13-
$focus-visible-foreground: var(--ig-error-800-contrast),
14-
$background: var(--ig-error-500),
15-
$hover-background: var(--ig-error-800),
16-
$focus-visible-background: var(--ig-error-800)
9+
$foreground: var(--ig-error-800)
1710
);
1811

1912
$custom-outlined-theme: outlined-button-theme(
20-
$foreground: var(--ig-success-500),
21-
$hover-foreground: var(--ig-success-700),
22-
$focus-foreground: var(--ig-success-700),
23-
$border-color: var(--ig-success-500),
24-
$hover-border-color: var(--ig-success-700),
25-
$focus-border-color: var(--ig-success-700)
13+
$foreground: var(--ig-success-500)
2614
);
2715

2816
$custom-fab-theme: fab-button-theme(

0 commit comments

Comments
 (0)