Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cfignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/.cache
1 change: 1 addition & 0 deletions Staticfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root: dist
5 changes: 5 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
applications:
- name: carbon-tutorial-angular-alecentalz
memory: 64M
buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git
18 changes: 9 additions & 9 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"test": "ng test",
"test:once": "ng test --watch=false",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"deploy": "rm -rf ./dist && ng build --prod --aot && cf push -f manifest.yml"
},
"engines": {
"node": ">= 10.9"
Expand Down
21 changes: 14 additions & 7 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ $feature-flags: (
grid-columns-16: true,
);

// To change the theme uncomment the below import and which ever carbon theme you want to use
// @import '~carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/themes/theme-maps';
// $carbon--theme: $carbon--theme--g100;
// $carbon--theme: $carbon--theme--g90;
// $carbon--theme: $carbon--theme--g10;
// Feature flags
$css--font-face: true;
$css--plex: true;

@import "~carbon-components/scss/globals/scss/styles";
// Global styles
@import "~carbon-components/scss/globals/scss/css--font-face";
@import "~carbon-components/scss/globals/grid/grid";

@import './assets/scss/carbon-overrides.scss';
// Carbon components
@import "~carbon-components/scss/components/breadcrumb/breadcrumb";
@import "~carbon-components/scss/components/button/button";
@import "~carbon-components/scss/components/data-table/data-table";
@import "~carbon-components/scss/components/link/link";
@import "~carbon-components/scss/components/pagination/pagination";
@import "~carbon-components/scss/components/tabs/tabs";
@import "~carbon-components/scss/components/ui-shell/ui-shell";
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"target": "es2015",
"lib": [
"es2016",
Expand Down