forked from Shinonome/dots-hyprland
adjust transparency
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import "root:/"
|
import "root:/"
|
||||||
import "root:/modules/common"
|
|
||||||
import "root:/modules/common/widgets"
|
|
||||||
import "root:/services"
|
import "root:/services"
|
||||||
|
import "root:/modules/common/"
|
||||||
|
import "root:/modules/common/widgets"
|
||||||
import "root:/modules/common/functions/color_utils.js" as ColorUtils
|
import "root:/modules/common/functions/color_utils.js" as ColorUtils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ Singleton {
|
|||||||
property string syntaxHighlightingTheme
|
property string syntaxHighlightingTheme
|
||||||
|
|
||||||
// Extremely conservative transparency values for consistency and readability
|
// Extremely conservative transparency values for consistency and readability
|
||||||
property real transparency: ConfigOptions?.appearance.transparency ? (m3colors.darkmode ? 0.1 : 0) : 0
|
property real transparency: ConfigOptions?.appearance.transparency ? (m3colors.darkmode ? 0.14 : 0.07) : 0
|
||||||
property real contentTransparency: ConfigOptions?.appearance.transparency ? (m3colors.darkmode ? 0.55 : 0) : 0
|
property real contentTransparency: ConfigOptions?.appearance.transparency ? (m3colors.darkmode ? 0.55 : 0.55) : 0
|
||||||
|
|
||||||
m3colors: QtObject {
|
m3colors: QtObject {
|
||||||
property bool darkmode: false
|
property bool darkmode: false
|
||||||
|
|||||||
Reference in New Issue
Block a user