Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
47090e83
Commit
47090e83
authored
Sep 25, 2021
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加主题颜色,修改element-ui的primary颜色
parent
a9026453
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
_style.scss
src/assets/css/_style.scss
+5
-4
element-variables.scss
src/assets/css/element-variables.scss
+11
-0
No files found.
src/assets/css/_style.scss
View file @
47090e83
// 设置主题颜色
$theme-color1
:
#F26335
;
// 背景颜色
// 背景颜色
$bg-color
:
#fff
;
$bg-color
:
#fff
;
...
@@ -36,13 +37,13 @@ $table-th-size:13px;
...
@@ -36,13 +37,13 @@ $table-th-size:13px;
$table-th-weight
:
bold
;
$table-th-weight
:
bold
;
$table-td-color
:
#6B6A6A
;
$table-td-color
:
#6B6A6A
;
$table-td-size
:
11px
;
$table-td-size
:
11px
;
$table-td-weight
:
400
;
$table-td-weight
:
400
;
$span-edit
:
#4EA7A6
;
$span-edit
:
#4EA7A6
;
$span-delete
:
#4EA7A6
;
$span-delete
:
#4EA7A6
;
$span-reset
:
#4EA7A6
;
$span-reset
:
#4EA7A6
;
$span-details
:
#4EA7A6
;
$span-details
:
#4EA7A6
;
$span-click
:
#4EA7A6
;
$span-click
:
#4EA7A6
;
$span-disabled
:
#4EA7A6
;
$span-disabled
:
#4EA7A6
;
$span-actived
:
#4EA7A6
;
$span-actived
:
#4EA7A6
;
src/assets/css/element-variables.scss
0 → 100644
View file @
47090e83
/* 改变主题色变量 */
$--color-primary
:
#F26335
;
/* 改变 icon 字体路径变量,必需 */
$--font-path
:
'~element-ui/lib/theme-chalk/fonts'
;
@import
"~element-ui/packages/theme-chalk/src/index"
;
.tab-no-bottom
{
.
el-tabs__nav-wrap
:
:
after
{
background-color
:
transparent
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment