Skip to content

Commit

Permalink
Set assetsBasePath (DevExpress#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
nightskylark committed Oct 3, 2018
1 parent e5ab383 commit 02b2d3d
Show file tree
Hide file tree
Showing 28 changed files with 511 additions and 212 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"build-themes": "devextreme build && copyfiles -u 4 \"./node_modules/devextreme/dist/css/@(icons|fonts)/*.*\" \"./src/themes/generated/\""
"build-themes": "devextreme build"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -41,7 +41,6 @@
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"copyfiles": "^2.1.0",
"devextreme-cli": "latest",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
Expand Down
Binary file removed src/themes/generated/fonts/Roboto-300.ttf
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-300.woff
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-300.woff2
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-400.ttf
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-400.woff
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-400.woff2
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-500.ttf
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-500.woff
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-500.woff2
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-700.ttf
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-700.woff
Binary file not shown.
Binary file removed src/themes/generated/fonts/Roboto-700.woff2
Binary file not shown.
Binary file removed src/themes/generated/icons/dxicons.ttf
Binary file not shown.
Binary file removed src/themes/generated/icons/dxicons.woff
Binary file not shown.
Binary file removed src/themes/generated/icons/dxicons.woff2
Binary file not shown.
Binary file removed src/themes/generated/icons/dxiconsios.ttf
Binary file not shown.
Binary file removed src/themes/generated/icons/dxiconsios.woff
Binary file not shown.
Binary file removed src/themes/generated/icons/dxiconsios.woff2
Binary file not shown.
Binary file removed src/themes/generated/icons/dxiconsmaterial.ttf
Binary file not shown.
Binary file removed src/themes/generated/icons/dxiconsmaterial.woff
Binary file not shown.
Binary file removed src/themes/generated/icons/dxiconsmaterial.woff2
Binary file not shown.
357 changes: 253 additions & 104 deletions src/themes/generated/theme.additional.css

Large diffs are not rendered by default.

357 changes: 253 additions & 104 deletions src/themes/generated/theme.base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/themes/generated/variables.additional.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$base-text-color: #fff;
$base-bg: #363640;
$base-text-color: #fff;
$base-border-color: #515159;
$base-border-radius: 4px;
$base-accent: #FF5722;
2 changes: 1 addition & 1 deletion src/themes/generated/variables.base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$base-text-color: rgba(0, 0, 0, 0.87);
$base-bg: #fff;
$base-text-color: rgba(0, 0, 0, 0.87);
$base-border-color: #e0e0e0;
$base-border-radius: 4px;
$base-accent: #FF5722;
1 change: 1 addition & 0 deletions src/themes/metadata.additional.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"hue": null,
"items": [],
"baseTheme": "material.orange.dark",
"assetsBasePath": "../../../node_modules/devextreme/dist/css/",
"outputColorScheme": "additional",
"makeSwatch": true,
"base": true
Expand Down
1 change: 1 addition & 0 deletions src/themes/metadata.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"hue": null,
"items": [],
"baseTheme": "material.orange.light",
"assetsBasePath": "../../../node_modules/devextreme/dist/css/",
"outputColorScheme": "base",
"base": true
}

0 comments on commit 02b2d3d

Please sign in to comment.