Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Commit ee4067a

Browse files
committed
feat(style): add basic sass file
1 parent 4a0642f commit ee4067a

7 files changed

Lines changed: 37 additions & 1 deletion

File tree

src/layout/Material/Aside.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<script>
1111
export default {
12-
data() {
12+
data () {
1313
return {}
1414
}
1515
}

src/style/color/background.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$background-lightest: white;
2+
$background-lighter: #f5f5f5;
3+
$background-light: #f0f2f5;
4+
$background-dark: #001529;
5+
$background-hover: #1890ff;
6+
$background-blue-middle: #314659;
7+
$background-blue-dark: #002140;
8+
$background-button-pr: #409eff;
9+
$background-button-pr-hover: #66b1ff;

src/style/color/border.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
$border-light: #e8e8e8;
2+
$border-light-blue: #1890ff;

src/style/color/hover.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
$hover-light: #e6f7ff;
2+
$hover-link: #1890ff;

src/style/color/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@import './border.scss';
2+
@import './hover.scss';
3+
@import './link.scss';
4+
@import './background.scss';

src/style/color/link.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
$hover-light: #e6f7ff;
2+
$hover-link: #1890ff;

src/style/mixins/index.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@mixin text-dot {
2+
overflow: hidden;
3+
white-space: nowrap;
4+
text-overflow: ellipsis;
5+
}
6+
7+
8+
@mixin normalize-link($s: 14px, $w: 500, $c: rgba(0, 0, 0, .85), $h: #1890ff) {
9+
font-size: $s;
10+
font-weight: $w;
11+
color: $c;
12+
text-decoration: none;
13+
14+
&:hover {
15+
color: $h;
16+
}
17+
}

0 commit comments

Comments
 (0)