Remove tw-prefix

This commit is contained in:
Oliver Davies 2020-05-14 09:57:37 +01:00
parent 7bf7a9f326
commit 31b23372ff
3 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
module.exports = { module.exports = {
prefix: 'tw-', prefix: '',
important: true, important: true,
theme: { theme: {
extend: {}, extend: {},

View file

@ -14,15 +14,15 @@
*/ */
#} #}
{% block content %} {% block content %}
<div class="tw-flex tw-items-center"> <div class="flex items-center">
{% if site_logo %} {% if site_logo %}
<a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-logo tw-mr-2"> <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-logo mr-2">
<img src="{{ site_logo }}" alt="{{ 'Home'|t }}" /> <img src="{{ site_logo }}" alt="{{ 'Home'|t }}"/>
</a> </a>
{% endif %} {% endif %}
{% if site_name %} {% if site_name %}
<div class="site-name tw-text-2xl"> <div class="site-name text-2xl">
<a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a> <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
</div> </div>
{% endif %} {% endif %}
{% if site_slogan %} {% if site_slogan %}

View file

@ -45,7 +45,7 @@
* @ingroup themeable * @ingroup themeable
*/ */
#} #}
<div class="tw-container tw-mx-auto tw-p-4"> <div class="container mx-auto p-4">
<header role="banner"> <header role="banner">
{{ page.header }} {{ page.header }}
@ -63,19 +63,19 @@
<main role="main"> <main role="main">
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #} <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
<div class="md:tw-flex tw--mx-4"> <div class="md:flex -mx-4">
<div class="md:tw-flex-1 tw-p-4"> <div class="md:flex-1 p-4">
{{ page.content }} {{ page.content }}
</div>{# /.layout-content #} </div>{# /.layout-content #}
{% if page.sidebar_first %} {% if page.sidebar_first %}
<aside class="md:tw-w-1/4 tw-p-4" role="complementary"> <aside class="md:w-1/4 p-4" role="complementary">
{{ page.sidebar_first }} {{ page.sidebar_first }}
</aside> </aside>
{% endif %} {% endif %}
{% if page.sidebar_second %} {% if page.sidebar_second %}
<aside class="md:tw-w-1/4" role="complementary"> <aside class="md:w-1/4" role="complementary">
{{ page.sidebar_second }} {{ page.sidebar_second }}
</aside> </aside>
{% endif %} {% endif %}