Skip to content

Commit 41df4ce

Browse files
authored
Merge pull request #19 from BernardXiong/dev
Refactor styles to use theme-aware tokens and consolidate LESS files
2 parents 0a8d7ed + 92f5df9 commit 41df4ce

File tree

27 files changed

+1691
-2121
lines changed

27 files changed

+1691
-2121
lines changed

src/vue/about/App.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
2-
<div class="container">
2+
<div class="rt-page about-page container">
33
<Banner sub-title="关于" />
44

5-
<div class="content_area">
5+
<div class="rt-page__content content_area">
66
<div v-html="readmeMarkdown"></div>
77

88
<el-button type="primary" @click="openRTThreadGitHub">Open RT-Thread/Github</el-button>
@@ -12,13 +12,16 @@
1212

1313
<script setup lang="ts">
1414
import { onMounted, ref } from 'vue';
15+
import { useTheme } from '../composables/useTheme';
1516
import { imgUrl } from '../assets/img';
1617
import { sendCommand } from '../api/vscode';
1718
import { extensionInfo } from '../setting/data';
1819
import Banner from '../components/Banner.vue';
1920
2021
let readmeMarkdown = ref('');
2122
23+
useTheme();
24+
2225
const openRTThreadGitHub = () => {
2326
sendCommand('openURL', ['https://github.com/RT-Thread/rt-thread']);
2427
};

0 commit comments

Comments
 (0)