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'; import useFields from './composables/useFields.js';
const {success, errorFromResponse} = useToastify(); const {success, errorFromResponse} = useToastify();
const finished = ref(true); const finished = ref(false);
const emits = defineEmits(['addSection', 'editSection', 'deleteSection', 'addField', 'editField', 'deleteField', 'active']); const emits = defineEmits(['addSection', 'editSection', 'deleteSection', 'addField', 'editField', 'deleteField', 'active']);
@ -256,7 +256,7 @@ function reload() {
reload(); reload();
watch( watch(
() => props.value, () => props.value,
(value) => reload() (value) => reload(),
); );
const {back, next, backable, nextable} = useNav(active, v.value.sections.length); 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> <span class="text-sm font-semibold text-gray-800 ml-2" v-text="event.dates"></span>
</div> </div>
<div class="grow text-sm leading-normal text-gray-800 mt-3" v-text="event.excerpt"></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> </div>
</a> </a>
</div> </div>

View File

@ -12,7 +12,7 @@
<div class="flex mt-3"> <div class="flex mt-3">
<a <a
:href="registerUrl.replace(':slug', event.slug)" :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 Zur Anmeldung
</a> </a>

View File

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