Skip to content

Commit

Permalink
Merge pull request #20 from Iconscout/feature-unicons-monotone
Browse files Browse the repository at this point in the history
Feature: v1.1.0 with Monotone and Improved speed for line icons
  • Loading branch information
tarunmangukiya authored Oct 17, 2019
2 parents 809ec33 + 4739722 commit c605d96
Show file tree
Hide file tree
Showing 1,525 changed files with 16,962 additions and 7,846 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "presets": ["@babel/preset-env"] }
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
.env

# Fontello Build Files
dist/
fontello-*
config.json
duplicates.json
*-duplicates.json
25 changes: 23 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
deploy:s3:
stages:
- build
- deploy

build:
image: "node:10.16.3-alpine"
stage: build
script:
- npm ci --progress=false
- npm run line:build
- npm run monochrome:build
- rm -rf node_modules dist
artifacts:
expire_in: 1 week
paths:
- ./

deploy:
image: "garland/aws-cli-docker:latest"
stage: deploy
dependencies:
- build
needs:
- build
script:
- aws s3 cp ./ s3://unicons.iconscout.com/release/$CI_COMMIT_REF_NAME/ --recursive --exclude ".git/*" --exclude "node_modules/*" --exclude "build/*" --exclude ".gitlab-ci.yml" --endpoint-url $AWS_ENDPOINT
- aws s3 cp ./icons.json s3://unicons.iconscout.com/release/$CI_COMMIT_REF_NAME/icons.json --content-type application/json --endpoint-url $AWS_ENDPOINT
- aws s3 cp ./json/ s3://unicons.iconscout.com/release/$CI_COMMIT_REF_NAME/json/ --recursive --content-type application/json --endpoint-url $AWS_ENDPOINT
environment:
name: production/$CI_COMMIT_REF_NAME
url: https://unicons.iconscout.com/release/$CI_COMMIT_REF_NAME/index.html
121 changes: 0 additions & 121 deletions build/generate-fontello-config.js

This file was deleted.

35 changes: 35 additions & 0 deletions css/before.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[class^="uil-"]:before,
[class*=" uil-"]:before {
font-family: "unicons";
font-style: normal;
font-weight: normal;
speak: none;

display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: 0.2em;
text-align: center;
/* opacity: .8; */

/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;

/* fix buttons height, for twitter bootstrap */
line-height: 1em;

/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: 0.2em;

/* you can be more comfortable with increased icons size */
/* font-size: 120%; */

/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
Loading

0 comments on commit c605d96

Please sign in to comment.