Skip to content

Commit

Permalink
deploy: c7d4da3
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoXiCheng committed Nov 15, 2024
1 parent d46c0bf commit 99b07d5
Show file tree
Hide file tree
Showing 397 changed files with 622 additions and 581 deletions.
6 changes: 3 additions & 3 deletions 404.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions article/android-compose-toggle-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</script>
<meta property="og:url" content="https://guoxicheng.top/article/android-compose-toggle-theme.html"><meta property="og:site_name" content="Guo's Page"><meta property="og:title" content="Android Compose 切换应用主题"><meta property="og:description" content="Android Compose 切换应用主题 实现思路 Android 中常见的切换深色主题和浅色主题的方式:在使用 Compose 绘制的界面中,可以使用一个状态来标识当前的主题。当用户切换主题时,使用 DataStore 保存并更新主题状态,UI 会自动刷新。 MaterialTheme 在 ui.theme. Theme.kt 文件中,定义好了深..."><meta property="og:type" content="article"><meta property="og:locale" content="zh-CN"><meta property="og:updated_time" content="2024-03-01T05:30:25.000Z"><meta property="article:modified_time" content="2024-03-01T05:30:25.000Z"><script type="application/ld+json">{"@context":"https://schema.org","@type":"Article","headline":"Android Compose 切换应用主题","image":[""],"dateModified":"2024-03-01T05:30:25.000Z","author":[]}</script><script src="/js/baidu-analytics.js" async></script><title>Android Compose 切换应用主题 | Guo's Page</title><meta name="description" content="Android Compose 切换应用主题 实现思路 Android 中常见的切换深色主题和浅色主题的方式:在使用 Compose 绘制的界面中,可以使用一个状态来标识当前的主题。当用户切换主题时,使用 DataStore 保存并更新主题状态,UI 会自动刷新。 MaterialTheme 在 ui.theme. Theme.kt 文件中,定义好了深...">
<link rel="preload" href="/assets/style-lPu_ZMub.css" as="style"><link rel="stylesheet" href="/assets/style-lPu_ZMub.css">
<link rel="modulepreload" href="/assets/app-BnPqhJ-P.js"><link rel="modulepreload" href="/assets/android-compose-toggle-theme.html-sUguQazz.js"><link rel="modulepreload" href="/assets/plugin-vue_export-helper-DlAUqK2U.js">
<link rel="modulepreload" href="/assets/app-Wfbs7eOa.js"><link rel="modulepreload" href="/assets/android-compose-toggle-theme.html-BPyoWaMI.js"><link rel="modulepreload" href="/assets/plugin-vue_export-helper-DlAUqK2U.js">

</head>
<body>
Expand Down Expand Up @@ -354,6 +354,6 @@
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;"> themeTypeState.</span><span style="--shiki-light:#D73A49;--shiki-dark:#C678DD;">value</span><span style="--shiki-light:#D73A49;--shiki-dark:#56B6C2;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;"> newTheme</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;"> DataStoreUtils.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#61AFEF;">putSyncData</span><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#98C379;">&quot;APP_THEME&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;">, newTheme)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div><!----><footer class="vp-page-meta"><!----><div class="vp-meta-item git-info"><div class="update-time"><span class="vp-meta-label">上次编辑于: </span><!----></div><!----></div></footer><nav class="vp-page-nav"><!----><a class="route-link auto-link next" href="/article/app-deployment-evolution.html" aria-label="应用部署的演变"><div class="hint">下一页<span class="arrow end"></span></div><div class="link">应用部署的演变<!----></div></a></nav><div id="vp-comment" class="giscus-wrapper input-top" style="display:block;"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" preserveAspectRatio="xMidYMid" viewBox="0 0 100 100"><circle cx="28" cy="75" r="11" fill="currentColor"><animate attributeName="fill-opacity" begin="0s" dur="1s" keyTimes="0;0.2;1" repeatCount="indefinite" values="0;1;1"></animate></circle><path fill="none" stroke="#88baf0" stroke-width="10" d="M28 47a28 28 0 0 1 28 28"><animate attributeName="stroke-opacity" begin="0.1s" dur="1s" keyTimes="0;0.2;1" repeatCount="indefinite" values="0;1;1"></animate></path><path fill="none" stroke="#88baf0" stroke-width="10" d="M28 25a50 50 0 0 1 50 50"><animate attributeName="stroke-opacity" begin="0.2s" dur="1s" keyTimes="0;0.2;1" repeatCount="indefinite" values="0;1;1"></animate></path></svg></div><!----><!--]--></main><!--]--><footer class="vp-footer-wrapper"><div class="vp-footer">Made With <a href='https://github.com/vuepress-theme-hope/vuepress-theme-hope' target='_blank'>vuepress-theme-hope</a> Theme <br/> Copyright © 2023-present GuoXiCheng</div><!----></footer></div><!--]--><!--[--><!----><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-BnPqhJ-P.js" defer></script>
<script type="module" src="/assets/app-Wfbs7eOa.js" defer></script>
</body>
</html>
4 changes: 2 additions & 2 deletions article/app-deployment-evolution.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions article/cross-domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</script>
<meta property="og:url" content="https://guoxicheng.top/article/cross-domain.html"><meta property="og:site_name" content="Guo's Page"><meta property="og:title" content="跨域问题"><meta property="og:description" content="跨域问题 问题产生原因 跨域问题主要源于浏览器的同源策略,同源策略是浏览器的一种安全策略,它用于限制一个源的文档或者它加载的脚本如何能与另一个源的资源进行交互。这里的源指的是协议、域名和端口号的组合,只有当两个URL的协议、域名和端口号都相同的时候,这两个URL就是同源。 同源策略的目的是为了保证用户信息的安全,防止恶意的网站窃取或操作另一个源的文档或..."><meta property="og:type" content="article"><meta property="og:locale" content="zh-CN"><meta property="og:updated_time" content="2024-03-01T05:30:25.000Z"><meta property="article:modified_time" content="2024-03-01T05:30:25.000Z"><script type="application/ld+json">{"@context":"https://schema.org","@type":"Article","headline":"跨域问题","image":[""],"dateModified":"2024-03-01T05:30:25.000Z","author":[]}</script><script src="/js/baidu-analytics.js" async></script><title>跨域问题 | Guo's Page</title><meta name="description" content="跨域问题 问题产生原因 跨域问题主要源于浏览器的同源策略,同源策略是浏览器的一种安全策略,它用于限制一个源的文档或者它加载的脚本如何能与另一个源的资源进行交互。这里的源指的是协议、域名和端口号的组合,只有当两个URL的协议、域名和端口号都相同的时候,这两个URL就是同源。 同源策略的目的是为了保证用户信息的安全,防止恶意的网站窃取或操作另一个源的文档或...">
<link rel="preload" href="/assets/style-lPu_ZMub.css" as="style"><link rel="stylesheet" href="/assets/style-lPu_ZMub.css">
<link rel="modulepreload" href="/assets/app-BnPqhJ-P.js"><link rel="modulepreload" href="/assets/cross-domain.html-BpcdFyQ8.js"><link rel="modulepreload" href="/assets/plugin-vue_export-helper-DlAUqK2U.js">
<link rel="modulepreload" href="/assets/app-Wfbs7eOa.js"><link rel="modulepreload" href="/assets/cross-domain.html-CwEvnk67.js"><link rel="modulepreload" href="/assets/plugin-vue_export-helper-DlAUqK2U.js">

</head>
<body>
Expand Down Expand Up @@ -109,6 +109,6 @@
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;"> };</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#ABB2BF;">}</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></div><!----><footer class="vp-page-meta"><!----><div class="vp-meta-item git-info"><div class="update-time"><span class="vp-meta-label">上次编辑于: </span><!----></div><!----></div></footer><nav class="vp-page-nav"><a class="route-link auto-link prev" href="/article/app-deployment-evolution.html" aria-label="应用部署的演变"><div class="hint"><span class="arrow start"></span>上一页</div><div class="link"><!---->应用部署的演变</div></a><a class="route-link auto-link next" href="/article/debounce-throttle.html" aria-label="防抖和节流"><div class="hint">下一页<span class="arrow end"></span></div><div class="link">防抖和节流<!----></div></a></nav><div id="vp-comment" class="giscus-wrapper input-top" style="display:block;"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" preserveAspectRatio="xMidYMid" viewBox="0 0 100 100"><circle cx="28" cy="75" r="11" fill="currentColor"><animate attributeName="fill-opacity" begin="0s" dur="1s" keyTimes="0;0.2;1" repeatCount="indefinite" values="0;1;1"></animate></circle><path fill="none" stroke="#88baf0" stroke-width="10" d="M28 47a28 28 0 0 1 28 28"><animate attributeName="stroke-opacity" begin="0.1s" dur="1s" keyTimes="0;0.2;1" repeatCount="indefinite" values="0;1;1"></animate></path><path fill="none" stroke="#88baf0" stroke-width="10" d="M28 25a50 50 0 0 1 50 50"><animate attributeName="stroke-opacity" begin="0.2s" dur="1s" keyTimes="0;0.2;1" repeatCount="indefinite" values="0;1;1"></animate></path></svg></div><!----><!--]--></main><!--]--><footer class="vp-footer-wrapper"><div class="vp-footer">Made With <a href='https://github.com/vuepress-theme-hope/vuepress-theme-hope' target='_blank'>vuepress-theme-hope</a> Theme <br/> Copyright © 2023-present GuoXiCheng</div><!----></footer></div><!--]--><!--[--><!----><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-BnPqhJ-P.js" defer></script>
<script type="module" src="/assets/app-Wfbs7eOa.js" defer></script>
</body>
</html>
Loading

0 comments on commit 99b07d5

Please sign in to comment.