Skip to content

Commit

Permalink
✨ Feat(CGIDivider): Remove required e adiciona styles
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonSantin committed Jun 3, 2024
1 parent 38b6362 commit 7830e73
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions cids/lib/components/CgiDivider.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<template>
<v-card
class="my-6"
class="my-6 custom-divider-light custom-divider-dark"
variant="outlined"
>
<div class="d-flex justify-center">
<v-sheet
position="fixed"
style="margin-top: -12px;"
>
<v-sheet position="fixed" style="margin-top: -12px">
<div class="mx-2">{{ titulo }}</div>
</v-sheet>
</div>
Expand All @@ -22,7 +19,24 @@
defineProps({
titulo: {
type: String,
required: true,
},
});
</script>
</script>

<style scoped>
.v-theme--cgi .custom-divider-light {
color: #ababab;
}
.v-theme--cgi .custom-divider-light ::v-deep * {
color: initial;
}
.v-theme--dark .custom-divider-dark {
color: #757575;
}
.v-theme--dark .custom-divider-dark ::v-deep * {
color: initial;
}
</style>

0 comments on commit 7830e73

Please sign in to comment.