Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fab2a81aee | ||
|
|
4daff26747 |
No files matched your search
@@ -163,6 +163,23 @@ Kirigami.Page {
|
||||
Kirigami.Theme.colorSet: Kirigami.Theme.View
|
||||
Kirigami.Theme.inherit: false
|
||||
color: NeoChatConfig.compactLayout ? Kirigami.Theme.backgroundColor : "transparent"
|
||||
|
||||
Image {
|
||||
visible: !NeoChatConfig.compactLayout && !NeoChatConfig.blur
|
||||
source: "qrc:/qt/qml/org/kde/neochat/timeline/images/chat-page-background.svg"
|
||||
anchors.fill: parent
|
||||
fillMode: Image.Tile
|
||||
horizontalAlignment: Image.AlignLeft
|
||||
verticalAlignment: Image.AlignTop
|
||||
|
||||
function isDarkColor(background: color): bool {
|
||||
const temp = Qt.darker(background, 1);
|
||||
const darkness = 1 - (0.299 * temp.r + 0.587 * temp.g + 0.114 * temp.b);
|
||||
return temp.a > 0 && darkness >= 0.4;
|
||||
}
|
||||
|
||||
opacity: isDarkColor(Kirigami.Theme.backgroundColor) ? 0.2 : 1
|
||||
}
|
||||
}
|
||||
|
||||
footer: Loader {
|
||||
|
||||
@@ -79,6 +79,7 @@ ecm_add_qml_module(timeline GENERATE_PLUGIN_SOURCE
|
||||
images/transfer.svg
|
||||
images/wait.svg
|
||||
images/walk.svg
|
||||
images/chat-page-background.svg
|
||||
DEPENDENCIES
|
||||
QtQuick
|
||||
)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg width="412" height="412" xmlns="http://www.w3.org/2000/svg"><g opacity=".2" fill="none" stroke="#c7c7c7" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m43.5 42-4.3-7-8-.2 5.2-6.1L34 21l7.5 3 6.6-4.5-.6 8 6.5 5-7.9 1.8zm352 88.3c1 6.1-1 13.7-11.6 17 .5 5.2-4.4 10.2-6 6l-1.4-4.2c-5.8 1-8.5.8-11.7.8-.2 4.7-1.7 7.5-3.5 9.6-2.2-3.4-2.3-6.3-3.1-7.7-.9-1.4-3.3-3-5.1-6.6 2.7-.5 5.9-.4 10 1.8 1.6-2.8 2.8-5.3 6.6-9.8l-2.9-3.3c-3-3.4 3.8-5.2 8-2.1 8.2-7.5 15.9-5.5 20.7-1.5"/><circle cx="271.7" cy="310.2" r="1.5" transform="rotate(-30)" fill="#c7c7c7" stroke="none"/><path d="m378.4 127.6-4.3 2.9c-1 .6-1 2 0 2.6 4.8 3.2 7.6 8.9 8.3 14.1.2 1.4 1 1.6 2.1 1.5l5-2.5c.6-.3 1-1 .8-1.6-1.5-6.6-4.7-13.4-10-16.9-.5-.3-1.4-.2-1.9-.1zm-10 8.7-3 4c-.7.9-.2 1.9.8 2.4 2.5 1.3 3.5 4 3.8 6.8 0 1 .8 1.6 1.7 1.5l5-.4c.8-.1 1.4-.8 1.3-1.6a24 24 0 0 0-7.5-13c-1-.5-1.5-.4-2.1.3z" color="#000" fill="#c7c7c7" stroke="none"/><circle cx="134.3" cy="160.1" r="13.5" transform="rotate(-30)"/><circle cx="140.2" cy="156.2" r="1.7" transform="rotate(-30)" fill="#c7c7c7" stroke="none"/><circle cx="128.5" cy="156.2" r="1.7" transform="rotate(-30)" fill="#c7c7c7" stroke="none"/><path d="M192.7 76.8c3.6 4.1 11.6-.1 10.2-6zM118 299c2 4 7 11 3.4 14.6l18.7-10.8c-5.3 1.4-8.4-6.4-10.9-10.2a6.5 6.5 0 0 0-8.7-2.1c-3 1.7-4 5.5-2.5 8.5z"/><path d="M131.5 312.6a1.7 1.7 0 0 0 .2.4 1.7 1.7 0 0 0 2.3.6 1.7 1.7 0 0 0 .6-2.3 1.7 1.7 0 0 0-.2-.3z" fill="#c7c7c7"/><path d="M111.7 303a12.4 12.4 0 0 1 1-12.4m23-1.4a12.4 12.4 0 0 0-11.3-5.4m-10-170.1 1.6-6m-5.9 22 1.6-5.9m5-1.4 4.5 4.4M105 110.7l4.4 4.3m-1.4 5.1-6 1.6m22.1-6-6 1.7m84.4 44.6a3.3 3.3 0 0 1 0 4.7L184 185.2l-4.7-4.6L198 162a3.3 3.3 0 0 1 4.6 0zm-23.2 18.5 4.7 4.7-7 2.3zm21.3-12.3-4.3-4.3m-73-140.6a9.7 9.7 0 0 0-2.1 13.5 9.6 9.6 0 0 0 2.8 2.6l1.6 1.2c.4.4.6.8.7 1.2.2.3.2.7.3 1 .1.3.2.6.6.7.3 0 1-.1 1.9-.6a25 25 0 0 0 3.4-2 22.9 22.9 0 0 0 3.7-3.5v0a9.7 9.7 0 0 0 .5-12 9.6 9.6 0 0 0-13.4-2zM124 34l9.1-6.7m-9.2 1.6 4.4-3.2m.5 10 4.4-3.3M79.3 207.1l10.4 15.2-6-2c-3-.9-4.3.8-1 3.9a34 34 0 0 0 12.6 8.6c6.2 1.4 11.9-1.2 14.2-7.2 2.3-5.7-.2-9.9-2-14.4-1.7-4.3-3.2-14-3.2-14-1-2.7-4.6-1.4-3.6 1.3l1.4 12c.3.8-.8 1.2-1.1.4l-6.4-17.3c-1-2.8-4.6-1.5-3.6 1.3l5.5 16.9c.3.8-.8 1.2-1.1.4L88 197.9c-1-2.8-4.5-1.5-3.6 1.3l6.9 15.2c.2.8-.9 1.2-1.2.4l-7.3-9c-1-2.7-4.6-1.5-3.6 1.3zm35.6.3c1 4.8 1.6 9.6 1.5 13.7m-40.8 3.4C79 229 83.2 233 87 235.8m279.2-212L390 37.3l-13.4 23.3L352.8 47Z"/><path d="m368.6 29.7 15 8.7-6.8 12-15-8.7z"/><path d="m369.4 37.7-6.8 2.5c-1.2.4-1.4 2-.3 2.7l13.4 7.7c1.1.8 2.6-.3 2.3-1.6l-1.5-5.9c-.2-.6-.8-1-1.5-1h-2.7l-.8-3.2c-.3-1.2-1.3-1.5-2.1-1.2z" color="#000" fill="#c7c7c7" stroke="none"/><path d="m376.1 39.1.1.1m-38 353.1-.3-7.9-6.8-4.1 7.5-2.7 1.8-7.8 4.9 6.3 8-.6-4.6 6.5 3.1 7.4-7.6-2.3zM29 310.1l-2.2-7.5-7.6-2.2 6.5-4.5-.3-7.8 6.3 4.7 7.3-2.6-2.5 7.4 4.8 6.2-7.9-.2zm236.2-111 8-.3 4-6.7 2.7 7.4 7.7 1.8-6.3 4.9.7 7.9-6.5-4.5-7.3 3 2.2-7.5z"/><circle cx="-331.5" cy="200.5" r="13.5" transform="scale(-1 1) rotate(-15)"/><circle cx="-325.6" cy="196.6" r="1.7" transform="scale(-1 1) rotate(-15)" fill="#c7c7c7" stroke="none"/><circle cx="-337.4" cy="196.6" r="1.7" transform="scale(-1 1) rotate(-15)" fill="#c7c7c7" stroke="none"/><path d="M273.3 283.6c-2.5 5-11.3 3-11.4-3zm3.7 62 1.6-5.9m-6 22.1 1.7-6m-3.7-3.7-6 1.6m22-5.9-5.9 1.6m-1.4 5 4.4 4.4m-16.2-16.1 4.4 4.4M27 156.9a8.4 8.4 0 0 0-8.3 8.4c0 8.8 8.3 18.6 8.3 18.6s8.3-9.8 8.3-18.6c0-4.6-3.7-8.4-8.3-8.4zm0 5.9a3 3 0 0 1 3 3 3 3 0 0 1-3 2.9 3 3 0 0 1-3-3c0-2 1.7-3 3-2.9zm165 83.6c-7.4 1-11.6 9-8 15.6l.8 2c.3.9 0 1.8-.2 2.7-.1.3-.3.8.1 1 2 1 4.1.5 6.5.4 1.9-.2 3.7-.6 5.5-1.2v0a10.6 10.6 0 0 0-4.5-20.6Zm-5.1 10.4 12.3-1.3m-9.6-3.6 6-.6m-5 9.7 6-.6"/><path d="M70.8 366a1.5 1.5 0 0 0-.6 0l-10 2.7a1.5 1.5 0 0 0-1 1.9l2.6 10a1.5 1.5 0 0 0 .1.3l4 7.2a1.5 1.5 0 0 0 1.6.8l4.2-1.1a1.5 1.5 0 0 0 1-2.2l-3-5.6 4-1a1.5 1.5 0 0 0 1-1.9l-2.7-10a1.5 1.5 0 0 0-1.2-1.1Zm19.1 12.6a1.5 1.5 0 0 0-.6 0l-10 2.8a1.5 1.5 0 0 0-1 1.8l2.6 10a1.5 1.5 0 0 0 1.9 1l4-1 .1 6.3a1.5 1.5 0 0 0 2 1.4l4.1-1a1.5 1.5 0 0 0 1.1-1.6l-.2-8.2a1.5 1.5 0 0 0 0-.3l-2.7-10a1.5 1.5 0 0 0-1.3-1.2z" color="#000" fill="#c7c7c7" stroke="none"/><path d="m187.6 370.8-7.7-17.7 12.2-5.4 10.6 24.3"/><path d="M32.6 81.8a7.2 7.2 0 0 0-2.1 5c0 .2 0 .2-.2.2a7.2 7.2 0 1 0 0 14.4h13c.9.1 1.6-.5 1.7-1.4V87c0-6.5-7.7-9.9-12.4-5.2zm278.3 4.6a4.3 4.3 0 0 0 0 3.7 4.6 4.6 0 0 0 8.2-4c-.5-1-1.4-1.7-2.4-2.1-2.4-1-4.8 0-5.8 2.4zm12.4 9c-2.5.9-3.5 4-2.5 6.2.5 1 1.4 1.8 2.5 2.2a4 4 0 0 0 3.2 0 3.7 3.7 0 0 0 2.6-2.6c.3-1.2.3-2.6-.2-3.5-1.3-2.3-3.5-3-5.6-2.3zm27.2 125.3c-3.8.9-6.1 5-5.1 8.8 1 4.2 2.3 8.4 3.4 12.6.2.8 1 1.3 1.8 1.1l12.6-3.4a7.2 7.2 0 0 0-3.7-13.9h-.2a7.2 7.2 0 0 0-3.3-4.5 7 7 0 0 0-5.5-.7zM184.7 367.5a4.8 4.8 0 0 0-3.9 2.7c-1 2.5.3 5.3 2.6 6.1 2.2.8 4.6-.3 5.6-2.4.5-1 .5-2.6 0-3.7-.9-1.8-2.4-2.8-4.3-2.7zm13.5 1.7a4.5 4.5 0 0 0-2.3 5.8c1.2 2.3 3.7 3.3 5.9 2.3 2.5-1 3.4-3.8 2.3-5.9-1.4-2.6-3.5-3.1-5.9-2.2z" color="#000" fill="#c7c7c7" stroke="none"/><path d="m263 104.7-28.8 16.6 16.3 28.3 Line truncated
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2022 Raghavendra Kamath <raghu@raghukamath.com>
|
||||
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0
|
||||
Reference in new issue
Block a user