Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Mar 15, 2024
1 parent 9e40b85 commit ab72aa5
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/theme/mixins.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import 'ng-zorro-antd/src/style/mixins/index.less';
@import './system/mixins/index.less';
3 changes: 1 addition & 2 deletions packages/theme/system/index.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
@import './theme-default.less';

/** antd: base */
@import 'ng-zorro-antd/style/entry.less';

/** antd: all components */
@import 'ng-zorro-antd/components.less';

/** system */
@import './mixins/index.less';
@import './entry.less';
3 changes: 1 addition & 2 deletions packages/theme/system/theme-default.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import 'ng-zorro-antd/src/style/mixins/index.less';
@import './mixins/index.less';
@root-entry-name: default;

// grey
@grey-1: #ffffff;
Expand Down
2 changes: 2 additions & 0 deletions packages/theme/system/theme-variable.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import './theme-default.less';

@root-entry-name: variable;

@{html-selector} {
--grey-1: #fff;
--grey-2: #fafafa;
Expand Down
1 change: 1 addition & 0 deletions packages/theme/theme-compact.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/compact.less';
@import './system/theme-compact.less';
@import './layout-default/style/theme-compact.less';
Expand Down
1 change: 1 addition & 0 deletions packages/theme/theme-dark.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/dark.less';
@import './system/theme-dark.less';
@import './layout-default/style/theme-dark.less';
Expand Down
1 change: 1 addition & 0 deletions packages/theme/theme-default.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/default.less';
@import './system/theme-default.less';
@import './layout-default/style/theme-default.less';
Expand Down
1 change: 1 addition & 0 deletions packages/theme/theme-variable.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import './mixins.less';
@import 'ng-zorro-antd/src/style/themes/variable.less';
@import './system/theme-variable.less';
@import './layout-default/style/theme-variable.less';
Expand Down
1 change: 1 addition & 0 deletions scripts/build/copy-less.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function copyLess(name) {
function copyTheme() {
[
'system',
'mixins.less',
'index.less',
'default.less',
'dark.less',
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ if [[ $(git ls-remote origin "refs/tags/${buildTagName}") ]]; then
echo "removed tag because tag is already published"
git push --delete origin ${buildTagName}
git push origin :refs/tags/${buildTagName}
sleep 5
fi

echo "Git configuration has been updated to match the last commit author. Publishing now.."
Expand Down

0 comments on commit ab72aa5

Please sign in to comment.