Skip to content

Commit

Permalink
fix(nebular): import nebular style
Browse files Browse the repository at this point in the history
  • Loading branch information
ElonH committed May 14, 2020
1 parent dd2ef98 commit e41b9e5
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
4 changes: 2 additions & 2 deletions angular.json
Expand Up @@ -29,7 +29,7 @@
"src/assets"
],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"scripts": []
},
Expand Down Expand Up @@ -93,7 +93,7 @@
"src/assets"
],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"scripts": []
}
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -42,6 +42,8 @@
"@angular/router": "~9.1.6",
"@nebular/eva-icons": "^5.0.0",
"@nebular/theme": "^5.0.0",
"eva-icons": "^1.1.3",
"nebular-icons": "^1.1.0",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
Expand Down
1 change: 0 additions & 1 deletion src/styles.css

This file was deleted.

7 changes: 7 additions & 0 deletions src/styles.scss
@@ -0,0 +1,7 @@
@import 'themes';
@import '~@nebular/theme/styles/globals';
@import '~nebular-icons/css/nebular-icons.css';

@include nb-install() {
@include nb-theme-global();
}
11 changes: 11 additions & 0 deletions src/themes.scss
@@ -0,0 +1,11 @@
@import '~@nebular/theme/styles/theming';
@import '~@nebular/theme/styles/themes/default';

$nb-themes: nb-register-theme(
(
// add your variables here like:
// color-bg: #4ca6ff,
),
default,
default
);

0 comments on commit e41b9e5

Please sign in to comment.