Compare commits

...

3 Commits

Author SHA1 Message Date
philipp lang 2e232a95fd Mod default finished value 2024-03-17 03:15:38 +01:00
philipp lang 375fb895a5 Remove primaryfg color 2024-03-17 02:51:06 +01:00
philipp lang e7e937e7be Lint 2024-03-17 02:49:35 +01:00
4 changed files with 4 additions and 7 deletions

View File

@ -170,7 +170,7 @@ import useToastify from './composables/useToastify.js';
import useFields from './composables/useFields.js';
const {success, errorFromResponse} = useToastify();
const finished = ref(true);
const finished = ref(false);
const emits = defineEmits(['addSection', 'editSection', 'deleteSection', 'addField', 'editField', 'deleteField', 'active']);
@ -256,7 +256,7 @@ function reload() {
reload();
watch(
() => props.value,
(value) => reload()
(value) => reload(),
);
const {back, next, backable, nextable} = useNav(active, v.value.sections.length);

View File

@ -19,7 +19,7 @@
<span class="text-sm font-semibold text-gray-800 ml-2" v-text="event.dates"></span>
</div>
<div class="grow text-sm leading-normal text-gray-800 mt-3" v-text="event.excerpt"></div>
<div class="bg-primaryfg text-primary focus:ring-2 text-font rounded-lg text-xs sm:text-sm py-1 text-center mt-3">Zur Veranstaltung</div>
<div class="text-primary bg-font focus:ring-2 text-font rounded-lg text-xs sm:text-sm py-1 text-center mt-3">Zur Veranstaltung</div>
</div>
</a>
</div>

View File

@ -12,7 +12,7 @@
<div class="flex mt-3">
<a
:href="registerUrl.replace(':slug', event.slug)"
class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-primaryfg focus:outline-none bg-primary text-primaryfg"
class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-font focus:outline-none bg-primary text-font"
>
Zur Anmeldung
</a>

View File

@ -10,9 +10,6 @@ export default {
primary: {
DEFAULT: 'var(--primary)',
},
primaryfg: {
DEFAULT: 'var(--primaryfg)',
},
secondary: {
DEFAULT: 'var(--secondary)',
},