Rebrand files names Spectral -> NeoChat
This commit is contained in:
14
imports/NeoChat/Setting/Palette.qml
Normal file
14
imports/NeoChat/Setting/Palette.qml
Normal file
@@ -0,0 +1,14 @@
|
||||
pragma Singleton
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls.Material 2.12
|
||||
|
||||
QtObject {
|
||||
readonly property int theme: MSettings.darkTheme ? Material.Dark : Material.Light
|
||||
|
||||
readonly property color primary: "#344955"
|
||||
readonly property color accent: "#4286F5"
|
||||
readonly property color foreground: MSettings.darkTheme ? "#FFFFFF" : "#1D333E"
|
||||
readonly property color background: MSettings.darkTheme ? "#303030" : "#FFFFFF"
|
||||
readonly property color lighter: MSettings.darkTheme ? "#FFFFFF" : "#5B7480"
|
||||
readonly property color banner: MSettings.darkTheme ? "#404040" : "#F2F3F4"
|
||||
}
|
||||
13
imports/NeoChat/Setting/Setting.qml
Normal file
13
imports/NeoChat/Setting/Setting.qml
Normal file
@@ -0,0 +1,13 @@
|
||||
pragma Singleton
|
||||
import QtQuick 2.12
|
||||
import Qt.labs.settings 1.0
|
||||
|
||||
Settings {
|
||||
property bool showNotification: true
|
||||
|
||||
property bool showTray: true
|
||||
|
||||
property bool darkTheme
|
||||
|
||||
property string fontFamily: "Roboto,Noto Sans,Noto Color Emoji"
|
||||
}
|
||||
3
imports/NeoChat/Setting/qmldir
Normal file
3
imports/NeoChat/Setting/qmldir
Normal file
@@ -0,0 +1,3 @@
|
||||
module NeoChat.Setting
|
||||
singleton MSettings 0.1 Setting.qml
|
||||
singleton MPalette 0.1 Palette.qml
|
||||
Reference in New Issue
Block a user