Update colors

This commit is contained in:
Christian Cueni 2022-08-02 11:42:23 +02:00
parent 987eeb9def
commit 019c7a9f91
8 changed files with 16 additions and 15 deletions

View File

@ -10,7 +10,7 @@ log.debug('Footer created');
class=" class="
px-8 px-8
py-4 py-4
bg-gray-100 bg-gray-200
border-t border-gray-500 border-t border-gray-500
"> ">
@2022 VBV @2022 VBV

View File

@ -81,7 +81,7 @@ onMounted(async () => {
</div> </div>
</div> </div>
<div class="flex-auto bg-gray-100 px-4 py-8 lg:px-24"> <div class="flex-auto bg-gray-200 px-4 py-8 lg:px-24">
<div <div
v-for="learningSequence in circleStore.circle?.learningSequences || []" v-for="learningSequence in circleStore.circle?.learningSequences || []"
:key="learningSequence.translation_key" :key="learningSequence.translation_key"

View File

@ -9,7 +9,7 @@ const userStore = useUserStore();
</script> </script>
<template> <template>
<main class="px-8 py-8 lg:px-12 lg:py-12 bg-gray-100"> <main class="px-8 py-8 lg:px-12 lg:py-12 bg-gray-200">
<h1>Willkommen, {{userStore.first_name}}</h1> <h1>Willkommen, {{userStore.first_name}}</h1>
<h2 class="mt-12">Deine Kurse</h2> <h2 class="mt-12">Deine Kurse</h2>

View File

@ -26,7 +26,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<div class="bg-gray-100" v-if="learningPathStore.learningPath"> <div class="bg-gray-200" v-if="learningPathStore.learningPath">
<div class="learningpath flex flex-col"> <div class="learningpath flex flex-col">
<div class="flex flex-col h-max"> <div class="flex flex-col h-max">

View File

@ -272,11 +272,11 @@ function colorBgClass(color: string, value: number) {
<transition leave-active-class="transition ease-in duration-100" leave-from-class="opacity-100" <transition leave-active-class="transition ease-in duration-100" leave-from-class="opacity-100"
leave-to-class="opacity-0"> leave-to-class="opacity-0">
<ListboxOptions <ListboxOptions
class="absolute z-10 mt-1 w-full bg-white shadow-lg max-h-60 py-1 text-base ring-1 ring-gray-900 ring-opacity-5 overflow-auto focus:outline-none sm:text-sm"> class="absolute z-10 mt-1 w-full bg-white shadow-lg max-h-60 py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm">
<ListboxOption as="template" v-for="person in state.dropdownValues" :key="person.id" :value="person" <ListboxOption as="template" v-for="person in state.dropdownValues" :key="person.id" :value="person"
v-slot="{ active, selected }"> v-slot="{ active, selected }">
<li <li
:class="[active ? 'text-white bg-blue-900' : 'text-gray-900', 'cursor-default select-none relative py-2 pl-3 pr-9']"> :class="[active ? 'text-white bg-blue-900' : 'text-black', 'cursor-default select-none relative py-2 pl-3 pr-9']">
<span :class="[state.dropdownSelected ? 'font-semibold' : 'font-normal', 'block truncate']"> <span :class="[state.dropdownSelected ? 'font-semibold' : 'font-normal', 'block truncate']">
{{ person.name }} {{ person.name }}
</span> </span>

View File

@ -21,8 +21,9 @@ module.exports = {
transparent: 'transparent', transparent: 'transparent',
current: 'currentColor', current: 'currentColor',
'white': '#ffffff', 'white': '#ffffff',
'black': '#000000',
'blue': { 'blue': {
700: '#1A5197', 700: '#2957A6',
900: '#00224D', 900: '#00224D',
}, },
'sky': { 'sky': {
@ -31,21 +32,21 @@ module.exports = {
}, },
'orange': { 'orange': {
500: '#FE955A', 500: '#FE955A',
600: '#F37F3E', 600: '#E68B4E',
}, },
'green': { 'green': {
500: '#3EDF9C', 500: '#54CE8B',
600: '#17D29A', 600: '#5BB782',
}, },
'red': { 'red': {
500: '#DE3618', 500: '#EF7D68',
}, },
'gray': { 'gray': {
100: '#EDF2F6', 200: '#EDF2F6',
300: '#E0E5EC', 300: '#E0E5EC',
500: '#B1C1CA', 500: '#B1C1CA',
700: '#6F787E', 700: '#6F787E',
900: '#0A0A0A', 900: '#585F63',
}, },
} }
}, },

View File

@ -3,7 +3,7 @@
@tailwind utilities; @tailwind utilities;
html { html {
@apply text-gray-900 @apply text-black
} }
svg { svg {
@ -59,7 +59,7 @@ svg {
.btn-secondary { .btn-secondary {
@apply font-bold py-2 px-4 align-middle inline-block @apply font-bold py-2 px-4 align-middle inline-block
bg-white text-blue-900 border-2 border-blue-900 bg-white text-blue-900 border-2 border-blue-900
hover:bg-gray-100 hover:bg-gray-200
disabled:opacity-50 disabled:cursor-not-allowed disabled:opacity-50 disabled:cursor-not-allowed
} }

Binary file not shown.