1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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>