Skip to content

Commit

Permalink
test: add new tests for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Jun 13, 2024
1 parent 648dc76 commit 499f628
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/less-plugin-dls/test/specs/tag/tag.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
div {
-dls-tag-height-xs: 20px;
-dls-tag-height-s: 24px;
-dls-tag-height-m: 28px;
-dls-tag-border-radius-xs: 2px;
-dls-tag-border-radius-s: 4px;
-dls-tag-border-radius-m: 4px;
-dls-tag-border-width: 1px;
-dls-tag-border-width-xs: 0.5px;
-dls-tag-border-width-s: 1px;
-dls-tag-border-width-m: 1px;
-dls-tag-padding: 8px;
-dls-tag-padding-xs: 4px;
-dls-tag-padding-s: 4px;
-dls-tag-padding-m: 4px;
-dls-tag-content-spacing: 8px;
-dls-tag-list-spacing: 4px;
-dls-tag-font-size-xs: 12px;
-dls-tag-font-size-s: 12px;
-dls-tag-font-size-m: 14px;
-dls-tag-icon-size-aux: calc(1em - 2px);
Expand Down
10 changes: 10 additions & 0 deletions packages/less-plugin-dls/test/specs/tag/tag.less
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
div {
-dls-tag-height-xs: @dls-tag-height-xs;
-dls-tag-height-s: @dls-tag-height-s;
-dls-tag-height-m: @dls-tag-height-m;
-dls-tag-border-radius-xs: @dls-tag-border-radius-xs;
-dls-tag-border-radius-s: @dls-tag-border-radius-s;
-dls-tag-border-radius-m: @dls-tag-border-radius-m;
-dls-tag-border-width: @dls-tag-border-width;
-dls-tag-border-width-xs: @dls-tag-border-width-xs;
-dls-tag-border-width-s: @dls-tag-border-width-s;
-dls-tag-border-width-m: @dls-tag-border-width-m;
-dls-tag-padding: @dls-tag-padding;
-dls-tag-padding-xs: @dls-tag-padding-xs;
-dls-tag-padding-s: @dls-tag-padding-s;
-dls-tag-padding-m: @dls-tag-padding-m;
-dls-tag-content-spacing: @dls-tag-content-spacing;
-dls-tag-list-spacing: @dls-tag-list-spacing;
-dls-tag-font-size-xs: @dls-tag-font-size-xs;
-dls-tag-font-size-s: @dls-tag-font-size-s;
-dls-tag-font-size-m: @dls-tag-font-size-m;
-dls-tag-icon-size-aux: @dls-tag-icon-size-aux;
Expand Down

0 comments on commit 499f628

Please sign in to comment.