Skip to content

Commit

Permalink
chore(color): comment system primary color button
Browse files Browse the repository at this point in the history
  • Loading branch information
lotusk08 committed May 18, 2024
1 parent e523ce4 commit 54de54c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

deploy:
environment:
name: Preview version
name: Preview
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
Expand Down
4 changes: 2 additions & 2 deletions _includes/comments/waline.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@

document.addEventListener('DOMContentLoaded', () => {
const setColors = (theme) => {
const activeColor = theme === 'dark' ? '#fd7e14' : '#0d6efd';
const themeColor = theme === 'dark' ? '#d28445' : '#0550ae';
const activeColor = theme === 'dark' ? '#fd7e14' : '#0550ae';
const themeColor = theme === 'dark' ? '#d28445' : '#0d6efd';
document.documentElement.style.setProperty('--waline-active-color', activeColor);
document.documentElement.style.setProperty('--waline-theme-color', themeColor);
};
Expand Down

0 comments on commit 54de54c

Please sign in to comment.