[refactor] separate tailwind app
parent
bdeb860fa7
commit
c1349fd5ae
|
|
@ -1,7 +0,0 @@
|
|||
from django.db import models
|
||||
from admin_ordering.models import OrderableModel
|
||||
from tinymce.models import HTMLField
|
||||
from core.utils import SingletonModel
|
||||
|
||||
|
||||
# Create your models here.
|
||||
|
|
@ -50,6 +50,7 @@ INSTALLED_APPS = [
|
|||
'db.gpb',
|
||||
'db.tournaments',
|
||||
'db.membership',
|
||||
'theme',
|
||||
'core'
|
||||
] + [
|
||||
'tailwind',
|
||||
|
|
@ -59,7 +60,7 @@ INSTALLED_APPS = [
|
|||
'django_browser_reload'
|
||||
]
|
||||
|
||||
TAILWIND_APP_NAME = 'core'
|
||||
TAILWIND_APP_NAME = 'theme'
|
||||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ThemeConfig(AppConfig):
|
||||
name = 'theme'
|
||||
|
|
@ -1155,16 +1155,16 @@ select {
|
|||
margin: 0.5rem;
|
||||
}
|
||||
|
||||
.my-0 {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.mx-auto {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.my-0 {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.mb-0 {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
|
@ -1209,6 +1209,10 @@ select {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.h-screen {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.h-\[40px\] {
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -1217,10 +1221,6 @@ select {
|
|||
height: 100%;
|
||||
}
|
||||
|
||||
.h-screen {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.max-h-12 {
|
||||
max-height: 3rem;
|
||||
}
|
||||
|
|
@ -1337,6 +1337,11 @@ select {
|
|||
border-color: rgb(168 162 158 / var(--tw-border-opacity));
|
||||
}
|
||||
|
||||
.bg-gray-50 {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.bg-white {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
||||
|
|
@ -1347,11 +1352,6 @@ select {
|
|||
background-color: rgb(250 250 249 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.bg-gray-50 {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.p-2 {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
|
@ -1395,6 +1395,10 @@ select {
|
|||
font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
||||
}
|
||||
|
||||
.text-5xl {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.text-4xl {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
|
@ -1415,14 +1419,6 @@ select {
|
|||
font-size: 13px;
|
||||
}
|
||||
|
||||
.text-\[5rem\] {
|
||||
font-size: 5rem;
|
||||
}
|
||||
|
||||
.text-5xl {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.text-\[2\.25rem\] {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
|
@ -1439,14 +1435,14 @@ select {
|
|||
font-weight: 300;
|
||||
}
|
||||
|
||||
.font-medium {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.font-extrabold {
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.font-medium {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.lowercase {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
|
@ -1455,16 +1451,12 @@ select {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.leading-5 {
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.leading-normal {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.leading-\[1\.1rem\] {
|
||||
line-height: 1.1rem;
|
||||
.leading-5 {
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.tracking-normal {
|
||||
|
|
@ -1538,10 +1530,6 @@ select {
|
|||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.prose-h1\:text-center :is(:where(h1):not(:where([class~="not-prose"] *))) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.prose-h1\:font-light :is(:where(h1):not(:where([class~="not-prose"] *))) {
|
||||
font-weight: 300;
|
||||
}
|
||||
Loading…
Reference in New Issue