Skip to content

Commit

Permalink
feat: [style] remove reboot.less
Browse files Browse the repository at this point in the history
BREAKING CHANGE
  • Loading branch information
akai committed May 19, 2021
1 parent a8fb76b commit 0992f81
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 370 deletions.
6 changes: 1 addition & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ const paths = {
};

function fullStyle(cb) {
gulp
.src(['./src/styles/index.less', './src/styles/chatui.less'])
.pipe(less())
.pipe(postcss())
.pipe(gulp.dest(paths.dest.dist));
gulp.src('./src/styles/index.less').pipe(less()).pipe(postcss()).pipe(gulp.dest(paths.dest.dist));

cb();
}
Expand Down
4 changes: 4 additions & 0 deletions src/components/Chat/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
flex-direction: column;
height: 100%;
background: var(--light-1);
color: @body-color;
font-family: @font-family-base;
line-height: @line-height-base;
-webkit-tap-highlight-color: transparent;
}

.ChatFooter {
Expand Down
3 changes: 0 additions & 3 deletions src/styles/chatui.less

This file was deleted.

6 changes: 1 addition & 5 deletions src/styles/index.less
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
@import 'var';
@import 'root';

& when (@global-style = true) {
@import 'reboot';
}

@import 'utils';

@import '../components/Avatar/style';
@import '../components/Backdrop/style';
@import '../components/Bubble/style';
Expand Down
357 changes: 0 additions & 357 deletions src/styles/reboot.less

This file was deleted.

0 comments on commit 0992f81

Please sign in to comment.