Skip to content

Commit 1af76fe

Browse files
vishalshrm539Sharmatumms2021389
authored
Added an override styles for the ActionButtons component (#635)
* Added an override for the ActionButtons component * refactor: override action buttons styles * refactor: rename mediaCoTheme to mediaco for consistency --------- Co-authored-by: Sharma <[email protected]> Co-authored-by: Siva Rama Krishna <[email protected]> Co-authored-by: tumms2021389 <[email protected]>
1 parent d4403bd commit 1af76fe

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
},
8181
"src/assets/img"
8282
],
83-
"styles": ["src/styles.scss"],
83+
"styles": ["src/styles.scss", "src/app/_samples/mediaco/mediaCoStyles.scss"],
8484
"scripts": ["./node_modules/tinymce/tinymce.min.js"],
8585
"customWebpackConfig": {
8686
"path": "./extra-webpack.config.js"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.mediaco {
2+
// Action Buttons styles for MediaCo sample app - start
3+
.button-bar {
4+
gap: 1rem;
5+
margin-top: 1.2rem;
6+
}
7+
8+
.right-group {
9+
margin-left: 0 !important;
10+
}
11+
12+
.secondary-button {
13+
background-color: var(--app-sys-secondary-button-background) !important;
14+
border-color: var(--app-sys-secondary-button-border) !important;
15+
}
16+
// Action Buttons styles for MediaCo sample app - end
17+
}

src/themes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
);
268268
}
269269

270-
.mediaCoTheme {
270+
.mediaco {
271271
@include mat.theme(
272272
(
273273
color: mat.$magenta-palette,

0 commit comments

Comments
 (0)