Skip to content

Commit 4b78c9e

Browse files
authored
Merge pull request #233 from amacado/feature/css-restructure
separate alias from main css, regenerate fonts and fix missing icons
2 parents 1cebfde + 57d5b12 commit 4b78c9e

9 files changed

+308
-198
lines changed

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@ The next step is to click on **Generate font** and download the resulting archiv
106106
contents and you will find a [fonts](./fonts) directory next to a `style.css`. Replace the content of the `fonts` folder,
107107
merge the `style.css` with [devicon.css](./devicon.css) and follow the next step to build the final stylesheet.
108108

109-
**Note** the merge is required, because some icons are defined as alias, this should be replaced
110-
with a more elegant solution to support automated build processing.
111-
112109
### Build and minify stylesheet
113-
Run the following commands to build the resulting file `devicon.min.css`
110+
Run the following command to build the resulting file `devicon.min.css`
114111
```bash
115-
gulp concat-css
116-
gulp minify-css
112+
gulp default
117113
```

devicon-alias.css

+172
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
.devicon-facebook-original:before {
2+
content: "\e91c";
3+
}
4+
.devicon-typescript-original:before{
5+
content: "\e920";
6+
}
7+
.devicon-babel-original:before {
8+
content: "\e921";
9+
}
10+
.devicon-ssh-plain-wordmark:before {
11+
content: "\e916";
12+
}
13+
.devicon-ssh-plain:before {
14+
content: "\e915";
15+
}
16+
.devicon-sourcetree-plain-wordmark:before {
17+
content: "\e914";
18+
}
19+
.devicon-sourcetree-plain:before {
20+
content: "\e913";
21+
}
22+
.devicon-github-plain-wordmark:before {
23+
content: "\e90a";
24+
}
25+
.devicon-github-plain:before {
26+
content: "\e909";
27+
}
28+
.devicon-confluence-plain-wordmark:before {
29+
content: "\e90e";
30+
}
31+
.devicon-confluence-plain:before {
32+
content: "\e90d";
33+
}
34+
.devicon-bitbucket-plain-wordmark:before {
35+
content: "\e910";
36+
}
37+
.devicon-bitbucket-plain:before {
38+
content: "\e90f";
39+
}
40+
.devicon-jetbrains-line:before,
41+
.devicon-jetbrains-line-wordmark:before,
42+
.devicon-jetbrains-plain-wordmark:before {
43+
content: "\e63d";
44+
}
45+
.devicon-django-line-wordmark:before {
46+
content: "\e63e";
47+
}
48+
.devicon-django-plain-wordmark:before {
49+
content: "\e63f";
50+
}
51+
52+
.devicon-cplusplus-line-wordmark:before {
53+
content: "\e634";
54+
}
55+
56+
.devicon-cplusplus-plain-wordmark:before {
57+
content: "\e635";
58+
}
59+
60+
.devicon-csharp-line-wordmark:before {
61+
content: "\e636";
62+
}
63+
64+
.devicon-csharp-plain-wordmark:before {
65+
content: "\e637";
66+
}
67+
68+
.devicon-c-line-wordmark:before {
69+
content: "\e638";
70+
}
71+
72+
.devicon-c-plain-wordmark:before {
73+
content: "\e639";
74+
}
75+
76+
.devicon-nginx-original-wordmark:before,
77+
.devicon-nginx-plain:before,
78+
.devicon-nginx-plain-wordmark:before {
79+
content: "\e615";
80+
}
81+
82+
.devicon-heroku-original-wordmark:before {
83+
content: "\e60a";
84+
}
85+
86+
.devicon-heroku-original:before {
87+
content: "\e60b";
88+
}
89+
90+
.devicon-amazonwebservices-plain:before {
91+
content: "\e603";
92+
}
93+
94+
.devicon-appcelerator-plain:before {
95+
content: "\e620";
96+
}
97+
98+
.devicon-apple-plain:before {
99+
content: "\e622";
100+
}
101+
102+
.devicon-atom-plain-wordmark:before {
103+
content: "\e623";
104+
}
105+
106+
.devicon-atom-plain:before {
107+
content: "\e624";
108+
}
109+
110+
.devicon-coffeescript-plain-wordmark:before {
111+
content: "\e669";
112+
}
113+
114+
.devicon-coffeescript-plain:before {
115+
content: "\e66a";
116+
}
117+
118+
.devicon-google-original-wordmark:before {
119+
content: "\e91d";
120+
}
121+
122+
.devicon-google-original:before {
123+
content: "\e91e";
124+
}
125+
126+
.devicon-ie10-plain:before {
127+
content: "\e7f8";
128+
}
129+
130+
.devicon-oracle-plain:before {
131+
content: "\eb6b";
132+
}
133+
134+
.devicon-react-plain-wordmark:before {
135+
content: "\e600";
136+
}
137+
138+
.devicon-react-plain:before {
139+
content: "\e601";
140+
}
141+
142+
.devicon-sass-plain:before {
143+
content: "\ebcb";
144+
}
145+
146+
.devicon-sequelize-plain-wordmark:before {
147+
content: "\e922";
148+
}
149+
150+
.devicon-sequelize-plain:before {
151+
content: "\e923";
152+
}
153+
154+
.devicon-symfony-plain-wordmark:before {
155+
content: "\e602";
156+
}
157+
158+
.devicon-symfony-plain:before {
159+
content: "\e605";
160+
}
161+
162+
.devicon-twitter-plain:before {
163+
content: "\e91f";
164+
}
165+
166+
.devicon-windows8-plain-wordmark:before {
167+
content: "\ebf4";
168+
}
169+
170+
.devicon-windows8-plain:before {
171+
content: "\ebf5";
172+
}

0 commit comments

Comments
 (0)