Skip to content

Commit

Permalink
Move outline to secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelzahn committed Jul 18, 2024
1 parent ef6b895 commit 02e80e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
15 changes: 2 additions & 13 deletions loama/src/components/LoButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ const props = withDefaults(defineProps<{
/**
* The variant of the button; defaults to primary.
*/
variant?: "primary" | "secondary" | "outlined"
variant?: "primary" | "secondary"
}>(), {
variant: "primary"
})
const classList = computed(() => {
return {
primary: props.variant === "primary",
secondary: props.variant === "secondary",
outlined: props.variant === "outlined"
secondary: props.variant === "secondary"
}
})
</script>
Expand Down Expand Up @@ -77,14 +76,4 @@ button:hover:not([disabled]) {
color: var(--off-black);
border-color: var(--solid-purple);
}
.outlined {
border-color: var(--solid-purple);
background-color: var(--solid-white);
color: var(--off-black);
}
.outlined:hover {
color: var(--solid-white);
}
</style>
2 changes: 1 addition & 1 deletion loama/src/components/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<p v-if="showWarning" class="warning">Invalid Solid Pod URL. Please check and try again.</p>
</fieldset>
<fieldset>
<LoButton @click.prevent="noPod" :disabled="isLoading" class="outlined" :left-icon="PhQuestion">
<LoButton @click.prevent="noPod" :disabled="isLoading" class="secondary" :left-icon="PhQuestion">
No Pod?
</LoButton>
<LoButton type="submit" :disabled="isLoading" :right-icon="PhArrowRight">
Expand Down
3 changes: 2 additions & 1 deletion loama/src/components/SidePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{ pod.name }}
</LoButton>
</div>
<LoButton :left-icon="PhX" class="outlined" @click="emit('toggleProvider')">Close Panel</LoButton>
<LoButton :left-icon="PhX" class="secondary" @click="emit('toggleProvider')">Close Panel</LoButton>
</div>
</template>

Expand Down Expand Up @@ -40,6 +40,7 @@ const openPodUrl = (pod: { name: string; url: string }) => {
.extra-panel {
width: 100%;
margin-top: 10px;
border-right: .2em solid var(--solid-purple);
}
h2 {
Expand Down

0 comments on commit 02e80e3

Please sign in to comment.