Skip to content

Commit

Permalink
[Doc & msi] Update promptflow icon (#1583)
Browse files Browse the repository at this point in the history
# Description
- doc
    - remove background in index

![image](https://github.com/microsoft/promptflow/assets/17938940/32224f34-9986-4261-8352-6c2e7f648574)
    - update icon

![image](https://github.com/microsoft/promptflow/assets/17938940/19354e7a-408b-4b46-8182-a53aba12a9f9)
- msi

![image](https://github.com/microsoft/promptflow/assets/17938940/2622a633-1de8-442f-8830-a2f7f9392a3b)

Please add an informative description that covers that changes made by
the pull request and link all relevant issues.

# All Promptflow Contribution checklist:
- [ ] **The pull request does not introduce [breaking changes].**
- [ ] **CHANGELOG is updated for new features, bug fixes or other
significant changes.**
- [ ] **I have read the [contribution guidelines](../CONTRIBUTING.md).**
- [ ] **Create an issue and link to the pull request to get dedicated
review from promptflow team. Learn more: [suggested
workflow](../CONTRIBUTING.md#suggested-workflow).**

## General Guidelines and Best Practices
- [ ] Title of the pull request is clear and informative.
- [ ] There are a small number of commits, each of which have an
informative message. This means that previously merged commits do not
appear in the history of the PR. For more information on cleaning up the
commits in your PR, [see this
page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### Testing Guidelines
- [ ] Pull request includes test coverage for the included changes.
  • Loading branch information
lalala123123 authored Dec 25, 2023
1 parent 15b4576 commit 3ecbec6
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 60 deletions.
Binary file removed scripts/docs/_static/bg_dark_large.png
Binary file not shown.
Binary file removed scripts/docs/_static/bg_dark_small.png
Binary file not shown.
Binary file removed scripts/docs/_static/bg_light_large.png
Binary file not shown.
Binary file removed scripts/docs/_static/bg_light_small.png
Binary file not shown.
13 changes: 0 additions & 13 deletions scripts/docs/_static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,6 @@ if (window.location.pathname === "/promptflow/" || window.location.pathname ===
document.body.style.backgroundSize = "100%";
document.body.style.backgroundPositionY = "bottom";
document.body.style.backgroundRepeat = "no-repeat"
if (dark) {
if (window.screen.width <= 1280){
document.body.style.backgroundImage = "url('_static/bg_dark_small.png')"
} else {
document.body.style.backgroundImage = "url('_static/bg_dark_large.png')"
}
} else {
if (window.screen.width <= 1280){
document.body.style.backgroundImage = "url('_static/bg_light_small.png')"
} else {
document.body.style.backgroundImage = "url('_static/bg_light_large.png')"
}
}
})
observer.observe(document.documentElement, {attributes: true, attributeFilter: ['data-theme']});
}
90 changes: 43 additions & 47 deletions scripts/docs/_static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/docs/_static/logo32.ico
Binary file not shown.
Binary file modified scripts/installer/windows/resources/logo32.ico
Binary file not shown.

0 comments on commit 3ecbec6

Please sign in to comment.