Add support for OpenWeb Icons

This commit is contained in:
Danielle McLean 2017-10-25 10:39:51 +11:00
parent 397d2fc846
commit 7f12ec3f62
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
5 changed files with 15 additions and 0 deletions

View file

@ -18,6 +18,12 @@ a
border-color $base00 border-color $base00
color $base07 color $base07
[class^="openwebicons-"], [class*=" openwebicons-"]
&::before
text-decoration none
line-height 1
body body
display flex display flex
flex-direction column flex-direction column

View file

@ -0,0 +1 @@
../../node_modules/openwebicons

View file

@ -14,6 +14,7 @@
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous" /> integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous" />
{% compress css %} {% compress css %}
<link rel="stylesheet" type="text/css" href={% static 'openwebicons/css/openwebicons.css' %} />
<link rel="stylesheet" type="text/stylus" href="{% static 'lemoncurry/css/layout.styl' %}" /> <link rel="stylesheet" type="text/stylus" href="{% static 'lemoncurry/css/layout.styl' %}" />
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
{% endcompress %} {% endcompress %}

View file

@ -5,5 +5,8 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"stylus": "^0.54.5" "stylus": "^0.54.5"
},
"dependencies": {
"openwebicons": "^1.4.3"
} }
} }

View file

@ -83,6 +83,10 @@ once@^1.3.0:
dependencies: dependencies:
wrappy "1" wrappy "1"
openwebicons@^1.4.3:
version "1.4.3"
resolved "https://registry.yarnpkg.com/openwebicons/-/openwebicons-1.4.3.tgz#06ceeb8b82b756abfe9905e1abe5ff53fa3467e9"
path-is-absolute@^1.0.0: path-is-absolute@^1.0.0:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"