Skip to content

Commit

Permalink
fix(theme): fix less4 (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Feb 9, 2021
1 parent 7375cdf commit 5e272c1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -69,7 +69,6 @@
"ajv": "^6.12.6",
"extend": "^3.0.2",
"file-saver": "^2.0.5",
"marked": "^1.1.1",
"ng-github-button": "^11.0.1",
"ng-zorro-antd": "~11.1.0",
"ngx-color": "^6.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/system/mixins/_functions.less
Expand Up @@ -11,7 +11,7 @@
@g: green(@color);
@b: blue(@color);

@yiq: ((@r * 299) + (@g * 587) + (@b * 114)) / 1000;
@yiq: (((@r * 299) + (@g * 587) + (@b * 114)) / 1000);
.yiq-mixin(@yiq);
}

Expand Down
14 changes: 7 additions & 7 deletions packages/theme/system/theme-default.less
Expand Up @@ -58,12 +58,12 @@
// Layout Gutter
@layout-gutter: 8px;

@xs: @layout-gutter / 2; // 4px
@xs: (@layout-gutter / 2); // 4px
@sm: @layout-gutter; // 8px
@md: @layout-gutter * 2; // 16px
@lg: @layout-gutter * 3; // 24px
@xl: @layout-gutter * 4; // 32px
@xxl: @layout-gutter * 6; // 48px
@md: (@layout-gutter * 2); // 16px
@lg: (@layout-gutter * 3); // 24px
@xl: (@layout-gutter * 4); // 32px
@xxl: (@layout-gutter * 6); // 48px

@grid-breakpoints:
xs @screen-xs,
Expand Down Expand Up @@ -203,8 +203,8 @@
@nz-table-rep-min-width: @nz-table-rep-max-width + 1;
@nz-table-rep-header-background: @border-color-split;
@nz-table-rep-even-background: #f9f9f9;
@nz-table-rep-padding-vertical: @table-padding-vertical / 2;
@nz-table-rep-padding-horizontal: @table-padding-horizontal / 2;
@nz-table-rep-padding-vertical: (@table-padding-vertical / 2);
@nz-table-rep-padding-horizontal: (@table-padding-horizontal / 2);
@nz-table-rep-column-name-width: 100px;
@nz-table-rep-column-name-text-align: right;
@nz-table-rep-column-name-padding-right: 8px;
Expand Down
1 change: 1 addition & 0 deletions packages/theme/system/utils/_color.less
Expand Up @@ -83,6 +83,7 @@
.text-@{adKey}-dark {
@color-text-dark-color: extract(@adItem, @color-dark-position);
e(~`genCommentTypeColor('text', '@{color-text-dark-color}')`);
color: @color-text-dark-color !important;
}
});

Expand Down

0 comments on commit 5e272c1

Please sign in to comment.