-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7c83243
Showing
16 changed files
with
324 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | ||
|
||
name: Node.js Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
inputs: | ||
name: | ||
description: 'Build and Deploy' | ||
required: true | ||
default: 'Build and Deploy' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- name: CI | ||
run: npm ci | ||
|
||
publish-npm: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- name: CI | ||
run: npm ci | ||
- name: Publish | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||
|
||
publish-gpr: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
registry-url: https://npm.pkg.github.com/ | ||
- name: CI | ||
run: npm ci | ||
- name: Publish | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Cache | ||
.DS_Store | ||
thumbs.db | ||
desktop.ini | ||
|
||
# Dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
logs | ||
.gitattributes | ||
*.log | ||
.DS_Store | ||
thumbs.db | ||
desktop.ini | ||
src | ||
images | ||
icons.code-workspace | ||
.github | ||
selection.json | ||
.prettierignore | ||
.prettierrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.cache | ||
package.json | ||
package-lock.json | ||
public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# pittica/icons | ||
|
||
![Version](https://img.shields.io/github/package-json/v/pittica/icons) | ||
![Release](https://img.shields.io/github/v/release/pittica/icons) | ||
![React version](https://img.shields.io/github/package-json/dependency-version/pittica/icons) | ||
|
||
Pittica icons. | ||
|
||
Internal use only. | ||
|
||
## Install | ||
|
||
[![npm](https://img.shields.io/npm/v/@pittica/icons)](https://www.npmjs.com/package/@pittica/icons) | ||
[![npm](https://img.shields.io/npm/dm/@pittica/icons)](https://www.npmjs.com/package/@pittica/icons) | ||
|
||
### NPM | ||
|
||
```shell | ||
npm install @pittica/icons | ||
``` | ||
|
||
### Yarn | ||
|
||
```shell | ||
yarn add @pittica/icons | ||
``` | ||
|
||
## Copyright | ||
|
||
(c) 2020-2021, [Pittica S.r.l.](https://pittica.com). |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
} | ||
], | ||
"settings": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
$icons: ( | ||
"logo": "\e900", | ||
"sign": "\e901", | ||
"logo-sign": "\e902", | ||
"arrow-up": "\2bc5", | ||
"arrow-down": "\2bc6", | ||
"arrow-left": "\2bc7", | ||
"arrow-right": "\2bc8", | ||
"zoom-in": "\e904", | ||
"zoom-out": "\e905", | ||
"search": "\1f50e", | ||
"heart": "\1f499", | ||
"star": "\2b50", | ||
"cloud": "\2601", | ||
"printer": "\1f5a8", | ||
"laptop": "\e914", | ||
"screen": "\e90e", | ||
"phone": "\e90f", | ||
"tablet-landscape": "\e913", | ||
"tablet": "\e912", | ||
"phone-portrait": "\e910", | ||
"phone-landscape": "\e911", | ||
"vcard": "\e915", | ||
"home": "\1f3e0", | ||
"facebook": "\e920", | ||
"instagram": "\e921", | ||
"linkedin": "\e922", | ||
"twitter": "\e923", | ||
"github": "\e924", | ||
"whatsapp": "\e925", | ||
"telegram": "\e926", | ||
"user": "\1f464", | ||
"users": "\1f465", | ||
"folder": "\1f4c1", | ||
"tag": "\1f516", | ||
"marker": "\1f4cd", | ||
"bookmark": "\1f4d1", | ||
"paperclip": "\1f4ce", | ||
"envelope": "\1f4e7", | ||
"clock": "\1f551", | ||
"file-picture": "\e930", | ||
"file-music": "\e931", | ||
"file-play": "\e932", | ||
"file-video": "\e933", | ||
"file-zip": "\e934", | ||
"file-pdf": "\e935", | ||
"file-word": "\e936", | ||
"file-excel": "\e937", | ||
); | ||
|
||
@each $name, $glyph in $icons { | ||
.icon-pittica-#{$name}:before { | ||
font-family: "pittica"; | ||
content: $glyph; | ||
} | ||
} | ||
|
||
@font-face { | ||
font-family: "pittica"; | ||
src: url("~@pittica/icons/fonts/pittica.eot"); | ||
src: url("~@pittica/icons/fonts/pittica.eot#iefix") format("embedded-opentype"), | ||
url("~@pittica/icons/fonts/pittica.ttf") format("truetype"), | ||
url("~@pittica/icons/fonts/pittica.woff") format("woff"), | ||
url("~@pittica/icons/fonts/pittica.svg#pittica") format("svg"); | ||
font-weight: normal; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
[class^="icon-pittica-"], | ||
[class*=" icon-pittica-"] { | ||
font-family: "pittica" !important; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
text-transform: none; | ||
line-height: 1; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "@pittica/icons", | ||
"private": false, | ||
"description": "Pittica icons.", | ||
"version": "1.0.0", | ||
"author": { | ||
"name": "Lucio Benini", | ||
"email": "[email protected]", | ||
"url": "https://pittica.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/pittica/icons/issues" | ||
}, | ||
"deprecated": false, | ||
"homepage": "https://github.com/pittica/icons", | ||
"keywords": [ | ||
"pittica", | ||
"scss", | ||
"icons" | ||
], | ||
"main": "icons.scss", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/pittica/icons.git" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"config": { | ||
"access": "public" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-react" | ||
] | ||
] | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.