Skip to content

Commit

Permalink
apply typography
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin committed Mar 13, 2024
1 parent afbbe9a commit 024c9d0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion apps/web/app/components/FormPageSection.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script setup lang="ts">
import { useColor, useTypography } from '@vuejs-jp/composable'
import { useForm } from '~/composables/useForm'
const {
Expand All @@ -15,6 +16,8 @@ const {
validateDetail,
onSubmit,
} = useForm()
const { fontWeight, fontSize } = useTypography()
const { color } = useColor()
const updateName = (e: any) => {
name.value = e.target.value
Expand All @@ -35,7 +38,14 @@ const updateDetail = (e: any) => {
{{ $t('form.title') }}
</VFTypography>
</div>
<div class="subtitle">
<div
class="subtitle"
:style="{
fontWeight: fontWeight('body/300'),
fontSize: fontSize('body/300'),
color: color('vue-blue'),
}"
>
<MarkDownText path="form" />
</div>
<div class="form">
Expand Down

0 comments on commit 024c9d0

Please sign in to comment.