Skip to content

Commit

Permalink
Updates css href's -> scss (app/retail/templates/emails/shared_templa…
Browse files Browse the repository at this point in the history
…te_head.html)
  • Loading branch information
gdixon committed Feb 9, 2021
1 parent 882acc0 commit 4763718
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions app/retail/templates/emails/shared_template_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
{% endcomment %}
{% load i18n static %}
<link rel="stylesheet" href="{% static "v2/css/lib/typography.css" %}" data-premailer="ignore">
<style>
{% include './assets/css/gitcoin.css' %}
{% include './assets/css/town_square.css' %}
{% include './assets/css/activity_stream.css' %}
</style>
{% load i18n static compress %}
{% compress css file typography %}
<!-- media="..." is a workaround for data-premailer="ignore" (because it wont match in premailers ctx) -->
<link rel="stylesheet" type="text/x-scss" media="all and (min-width: 1px)" href={% static "v2/scss/lib/typography.scss" %} />
{% endcompress %}
{% compress css inline %}
<!-- updated to the shared version -->
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/gitcoin.scss" %} />
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/town_square.scss" %} />
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/activity_stream.scss" %} />
{% endcompress %}
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet" data-premailer="ignore">

0 comments on commit 4763718

Please sign in to comment.