aboutsummaryrefslogtreecommitdiff
path: root/src/tools/git-memo/git-memo.vue
blob: 12bf9fc0bfacabecab76db26f58a1b1a11c5ef22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<script setup lang="ts">
import { useThemeVars } from 'naive-ui';
import Memo from './git-memo.content.md';

const themeVars = useThemeVars();
</script>

<template>
  <div>
    <Memo />
  </div>
</template>

<style lang="less" scoped>
::v-deep(pre) {
  margin: 0;
  padding: 15px 22px;
  background-color: v-bind('themeVars.cardColor');
  border-radius: 4px;
  overflow: auto;
}
</style>