aboutsummaryrefslogtreecommitdiff
path: root/src/tools/git-memo/git-memo.vue
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-04-12 13:24:14 +0200
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-04-12 13:24:14 +0200
commit5cd9997a845f6d5f82d3ae74d3ec12603224517d (patch)
tree24566dfa56e496fb2cd37614ed25ffedc7fb5e4e /src/tools/git-memo/git-memo.vue
parent889d59499212a449ee460c68c480648e337a7ecb (diff)
downloadit-tools-5cd9997a845f6d5f82d3ae74d3ec12603224517d.tar.gz
it-tools-5cd9997a845f6d5f82d3ae74d3ec12603224517d.tar.zst
it-tools-5cd9997a845f6d5f82d3ae74d3ec12603224517d.zip
feat(tool): git memo
Diffstat (limited to 'src/tools/git-memo/git-memo.vue')
-rw-r--r--src/tools/git-memo/git-memo.vue21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/git-memo/git-memo.vue b/src/tools/git-memo/git-memo.vue
new file mode 100644
index 0000000..5848ac4
--- /dev/null
+++ b/src/tools/git-memo/git-memo.vue
@@ -0,0 +1,21 @@
+<template>
+ <div>
+ <memo />
+ </div>
+</template>
+
+<script setup lang="ts">
+import Memo from './git-memo.md'
+import { useThemeVars } from 'naive-ui'
+
+const themeVars = useThemeVars()
+</script>
+
+<style lang="less" scoped>
+::v-deep(pre) {
+ margin: 0;
+ padding: 15px 22px;
+ background-color: v-bind('themeVars.cardColor');
+ border-radius: 4px;
+}
+</style> \ No newline at end of file