Add support for OpenWeb Icons

pull/1/head
Danielle McLean 5 years ago
parent 397d2fc846
commit 7f12ec3f62
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
  1. 6
      lemoncurry/static/lemoncurry/css/layout.styl
  2. 1
      lemoncurry/static/openwebicons
  3. 1
      lemoncurry/templates/lemoncurry/layout.html
  4. 3
      package.json
  5. 4
      yarn.lock

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

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

@ -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"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous" />
{% 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' %}" />
{% block styles %}{% endblock %}
{% endcompress %}

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

@ -83,6 +83,10 @@ once@^1.3.0:
dependencies:
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:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"

Loading…
Cancel
Save