Update design

This commit is contained in:
Pranav
2024-11-20 18:31:24 -08:00
parent 82c73f18d9
commit 226d0db11c
30 changed files with 350 additions and 404 deletions
@@ -23,14 +23,12 @@ const goBack = () => {
}
};
const buttonStyleClass = props.compact
? 'text-sm text-slate-600 dark:text-slate-300'
: 'text-base text-woot-500 dark:text-woot-500';
const buttonStyleClass = props.compact ? 'text-sm' : 'text-base';
</script>
<template>
<button
class="flex items-center p-0 font-normal cursor-pointer"
class="flex items-center p-0 font-normal cursor-pointer text-n-slate-11"
:class="buttonStyleClass"
@click.capture="goBack"
>
@@ -48,7 +48,7 @@ useKeyboardEvents(keyboardEvents);
<template>
<woot-tabs
:index="activeTabIndex"
class="w-full px-4 py-0 tab--chat-type"
class="w-full px-4 py-0 font-medium [&_a]:text-base [&_.tabs]:p-0"
@change="onTabChange"
>
<woot-tabs-item
@@ -60,13 +60,3 @@ useKeyboardEvents(keyboardEvents);
/>
</woot-tabs>
</template>
<style scoped lang="scss">
.tab--chat-type {
::v-deep {
.tabs {
@apply p-0;
}
}
}
</style>