diff --git a/site/plugins/admin/assets/src/base/common.css b/site/plugins/admin/assets/src/base/common.css index 44df2681..458f0a54 100644 --- a/site/plugins/admin/assets/src/base/common.css +++ b/site/plugins/admin/assets/src/base/common.css @@ -3,11 +3,18 @@ body { font-family: Roboto; font-size: var(--font-size); + + @apply text-dark; +} + +a +{ + @apply text-dark; } main { - @apply flex w-full h-screen min-w-full bg-white text-black; + @apply flex w-full h-screen min-w-full bg-white text-dark; } small @@ -15,6 +22,14 @@ small @apply block mt-1 opacity-75 text-sm; } +h1, +h2, +h3, +h4 +{ + @apply text-dark; +} + h1 { @apply text-5xl; diff --git a/site/plugins/admin/assets/src/base/icons.css b/site/plugins/admin/assets/src/base/icons.css index 436a8b08..fdbac91d 100644 --- a/site/plugins/admin/assets/src/base/icons.css +++ b/site/plugins/admin/assets/src/base/icons.css @@ -9,6 +9,8 @@ height: 1rem; vertical-align: -.17rem; + + @apply text-dark fill-current; } .icon--white > svg diff --git a/site/plugins/admin/assets/src/components/buttons.css b/site/plugins/admin/assets/src/components/buttons.css index 00aae143..6e94dcfc 100644 --- a/site/plugins/admin/assets/src/components/buttons.css +++ b/site/plugins/admin/assets/src/components/buttons.css @@ -10,7 +10,7 @@ .button { - @apply rounded px-4 py-2 border border-solid border-black text-white inline-block w-auto bg-dark cursor-pointer; + @apply rounded px-4 py-2 border border-solid border-dark text-white inline-block w-auto bg-dark cursor-pointer; } .button--white @@ -21,7 +21,7 @@ .button:hover, .button--white:hover { - @apply border-black bg-black text-white; + @apply border-black bg-dark text-white; } .button-group @@ -36,7 +36,7 @@ .button-dropdown { - @apply rounded border border-solid border-black text-white inline-flex w-auto bg-dark cursor-pointer; + @apply rounded border border-solid border-dark text-white inline-flex w-auto bg-dark cursor-pointer; } .button-dropdown .button diff --git a/site/plugins/admin/assets/src/components/forms.css b/site/plugins/admin/assets/src/components/forms.css index 0465c0e0..02041aff 100644 --- a/site/plugins/admin/assets/src/components/forms.css +++ b/site/plugins/admin/assets/src/components/forms.css @@ -10,7 +10,7 @@ .form-control-title { - @apply font-bold block mb-1; + @apply font-bold block mb-1 text-dark; } .form-control @@ -21,7 +21,7 @@ .form-control:active, .form-control:focus { - @apply border-black; + @apply border-dark; } .form-group diff --git a/site/plugins/admin/assets/src/components/navigations.css b/site/plugins/admin/assets/src/components/navigations.css index a5adcfb6..9ea39fc7 100644 --- a/site/plugins/admin/assets/src/components/navigations.css +++ b/site/plugins/admin/assets/src/components/navigations.css @@ -13,7 +13,7 @@ width: var(--box-size); height: 100vh; - @apply flex flex-col fixed bg-dark border-black border-r border-solid text-white justify-between z-50; + @apply flex flex-col fixed bg-dark border-dark border-r border-solid text-white justify-between z-50; } .navigation__item @@ -82,6 +82,11 @@ @apply flex bg-dark-muted text-white border-black border-b border-solid; } +.navigation-top-secondary a +{ + @apply text-white; +} + .navigation-top-secondary__item { @apply ml-2 opacity-90; diff --git a/site/plugins/admin/assets/src/components/tables.css b/site/plugins/admin/assets/src/components/tables.css index bbed24f6..7e50600c 100644 --- a/site/plugins/admin/assets/src/components/tables.css +++ b/site/plugins/admin/assets/src/components/tables.css @@ -19,7 +19,7 @@ .table > thead > tr > th { - @apply font-bold text-left text-black border-gray-000 border-b; + @apply font-bold text-left text-dark border-gray-000 border-b; } .table > tbody > tr > td, @@ -29,7 +29,7 @@ .table > thead > tr > th, .table > tfoot > tr > th { - @apply align-middle text-black border-gray-000 border-t border-b px-3 py-2; + @apply align-middle text-dark border-gray-000 border-t border-b px-3 py-2; } .table > tbody > tr > td:nth-child(2), diff --git a/site/plugins/admin/assets/src/modules/codemirror.css b/site/plugins/admin/assets/src/modules/codemirror.css index abede601..55859992 100644 --- a/site/plugins/admin/assets/src/modules/codemirror.css +++ b/site/plugins/admin/assets/src/modules/codemirror.css @@ -23,13 +23,14 @@ { padding-right: 10px; - color: black; border-right: none; + + @apply text-dark; } .CodeMirror-linenumber { - color: black; + @apply text-dark; } .CodeMirror pre diff --git a/site/plugins/admin/assets/src/modules/select2.css b/site/plugins/admin/assets/src/modules/select2.css index e5d30bf0..ca94d40d 100644 --- a/site/plugins/admin/assets/src/modules/select2.css +++ b/site/plugins/admin/assets/src/modules/select2.css @@ -17,7 +17,7 @@ .select2-container--default .select2-results__option--highlighted[aria-selected] { - @apply bg-gray-100 text-black; + @apply bg-gray-100 text-dark; } .select2-container--default .select2-search--dropdown .select2-search__field @@ -41,7 +41,7 @@ .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single { - @apply border-black; + @apply border-dark; } .select2-selection.select2-selection--multiple @@ -63,7 +63,7 @@ .select2-container--default .select2-selection--multiple .select2-selection__choice:hover { - @apply border-black bg-black text-white opacity-100; + @apply border-dark bg-dark text-white opacity-100; } .select2-container--default .select2-selection--multiple .select2-selection__choice__remove diff --git a/site/plugins/admin/assets/src/modules/swal2.css b/site/plugins/admin/assets/src/modules/swal2.css index 2eaa78db..dbc44e91 100644 --- a/site/plugins/admin/assets/src/modules/swal2.css +++ b/site/plugins/admin/assets/src/modules/swal2.css @@ -11,19 +11,19 @@ .swal2-title { - @apply text-3xl font-normal text-black; + @apply text-3xl font-normal text-dark; } .swal2-content { font-size: var(--font-size); - @apply text-black; + @apply text-dark; } .swal2-styled.swal2-confirm { font-size: var(--font-size); - @apply px-4 py-2 border border-solid border-black text-white inline-block w-auto bg-dark rounded; + @apply px-4 py-2 border border-solid border-dark text-white inline-block w-auto bg-dark rounded; } .swal2-styled.swal2-confirm:focus @@ -34,12 +34,12 @@ .swal2-styled.swal2-cancel { font-size: var(--font-size); - @apply px-4 py-2 border border-solid border-black inline-block w-auto bg-white text-black rounded; + @apply px-4 py-2 border border-solid border-dark inline-block w-auto bg-white text-dark rounded; } .swal2-actions:not(.swal2-loading) .swal2-styled:hover { - @apply border-black bg-black text-white; + @apply border-dark bg-dark text-white; } .swal2-close:focus @@ -55,6 +55,6 @@ .swal2-popup.swal2-toast { - @apply bg-dark border border-solid border-black shadow-none; + @apply bg-dark border border-solid border-dark shadow-none; } /* purgecss end ignore */ diff --git a/site/plugins/admin/assets/src/modules/tabs.css b/site/plugins/admin/assets/src/modules/tabs.css index 6cc3868b..1e784aae 100644 --- a/site/plugins/admin/assets/src/modules/tabs.css +++ b/site/plugins/admin/assets/src/modules/tabs.css @@ -1,6 +1,6 @@ .tabs__nav > div { - @apply rounded border border-solid border-black text-white bg-dark cursor-pointer mb-6; + @apply rounded border border-solid border-dark text-white bg-dark cursor-pointer mb-6; } .tabs__nav > div a:first-of-type diff --git a/site/plugins/admin/templates/content/entries/media.html b/site/plugins/admin/templates/content/entries/media.html index f5fb31be..efd9521d 100644 --- a/site/plugins/admin/templates/content/entries/media.html +++ b/site/plugins/admin/templates/content/entries/media.html @@ -2,85 +2,85 @@ {% block content %} -