Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
15e48c91
Commit
15e48c91
authored
Feb 28, 2017
by
Leopoldthecoder
Committed by
杨奕
Feb 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove redundant style files
parent
735d44b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
build/bin/gen-cssfile.js
build/bin/gen-cssfile.js
+1
-0
packages/theme-default/src/index.css
packages/theme-default/src/index.css
+0
-3
No files found.
build/bin/gen-cssfile.js
View file @
15e48c91
...
@@ -18,6 +18,7 @@ function fileExists(filePath) {
...
@@ -18,6 +18,7 @@ function fileExists(filePath) {
themes
.
forEach
((
theme
)
=>
{
themes
.
forEach
((
theme
)
=>
{
var
indexContent
=
'
@import "./base.css";
\n
'
;
var
indexContent
=
'
@import "./base.css";
\n
'
;
Components
.
forEach
(
function
(
key
)
{
Components
.
forEach
(
function
(
key
)
{
if
([
'
icon
'
,
'
option
'
,
'
option-group
'
].
indexOf
(
key
)
>
-
1
)
return
;
var
fileName
=
key
+
'
.css
'
;
var
fileName
=
key
+
'
.css
'
;
indexContent
+=
'
@import "./
'
+
fileName
+
'
";
\n
'
;
indexContent
+=
'
@import "./
'
+
fileName
+
'
";
\n
'
;
var
filePath
=
path
.
resolve
(
basepath
,
theme
,
'
src
'
,
fileName
);
var
filePath
=
path
.
resolve
(
basepath
,
theme
,
'
src
'
,
fileName
);
...
...
packages/theme-default/src/index.css
View file @
15e48c91
...
@@ -18,8 +18,6 @@
...
@@ -18,8 +18,6 @@
@import
"./checkbox-group.css"
;
@import
"./checkbox-group.css"
;
@import
"./switch.css"
;
@import
"./switch.css"
;
@import
"./select.css"
;
@import
"./select.css"
;
@import
"./option.css"
;
@import
"./option-group.css"
;
@import
"./button.css"
;
@import
"./button.css"
;
@import
"./button-group.css"
;
@import
"./button-group.css"
;
@import
"./table.css"
;
@import
"./table.css"
;
...
@@ -42,7 +40,6 @@
...
@@ -42,7 +40,6 @@
@import
"./notification.css"
;
@import
"./notification.css"
;
@import
"./slider.css"
;
@import
"./slider.css"
;
@import
"./loading.css"
;
@import
"./loading.css"
;
@import
"./icon.css"
;
@import
"./row.css"
;
@import
"./row.css"
;
@import
"./col.css"
;
@import
"./col.css"
;
@import
"./upload.css"
;
@import
"./upload.css"
;
...
...
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