Title.vue 481 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <LayoutContainer>
  3. <div>
  4. <h2 class="title" :style="{ color: titleColor }">{{ title }}</h2>
  5. </div>
  6. </LayoutContainer>
  7. </template>
  8. <script setup>
  9. const props = defineProps({
  10. title: String,
  11. titleColor: {
  12. type: String,
  13. default: "#0E2D32",
  14. },
  15. });
  16. </script>
  17. <style scoped>
  18. .title {
  19. font-weight: 600;
  20. font-size: 3rem;
  21. line-height: 3rem;
  22. color: inherit;
  23. margin-left: 1rem;
  24. color: var(--Vert-90, #0E2D32);
  25. width: 35rem;
  26. }
  27. </style>