Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): [watermark] adjusting the text color in dark mode #14871

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

btea
Copy link
Collaborator

@btea btea commented Nov 19, 2023

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

Description

🤖[deprecated] Generated by Copilot at e91387c

Added new features and examples to the el-watermark component. The component can now adjust the font color based on dark mode, accept a font object as a prop, and display multi-line content. The documentation was also updated to reflect these changes.

Related Issue

Fixes #14860.

Explanation of Changes

🤖[deprecated] Generated by Copilot at e91387c

  • Add script setup section to use isDark composable and font prop for el-watermark component (link)
  • Add content prop to show multi-line watermark with "Element+" and "Element Plus" (link)
  • Move multi-line watermark code from multi-line.vue to basic.vue to simplify documentation (link,link)

Copy link

github-actions bot commented Nov 19, 2023

@github-actions github-actions bot added the CommitMessage::Qualified Qualified commit message label Nov 19, 2023
Copy link

🧪 Playground Preview: https://element-plus.run/?pr=14871
Please comment the example via this playground if needed.

@btea btea merged commit 92df6df into dev Nov 19, 2023
13 checks passed
@btea btea deleted the fix/docs-watermark branch November 19, 2023 05:31
@element-bot element-bot mentioned this pull request Nov 27, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CommitMessage::Qualified Qualified commit message
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Style] [watermark] 水印组件文章 暗黑模式下 文字比较模糊
2 participants