mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
ColorSchemeTab: rename Rosepine to Rose Pine
This commit is contained in:
@@ -49,7 +49,7 @@ Singleton {
|
||||
readonly property color white: "#ffffff"
|
||||
|
||||
// --------------------------------
|
||||
// Default colors: RosePine
|
||||
// Default colors: Rose Pine
|
||||
QtObject {
|
||||
id: defaultColors
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ ColumnLayout {
|
||||
schemeName = "Noctalia (legacy)";
|
||||
} else if (schemeName === "Tokyo-Night") {
|
||||
schemeName = "Tokyo Night";
|
||||
} else if (schemeName === "Rosepine") {
|
||||
schemeName = "Rose Pine";
|
||||
}
|
||||
|
||||
return schemeName;
|
||||
|
||||
@@ -66,6 +66,8 @@ Singleton {
|
||||
return "Noctalia (legacy)";
|
||||
} else if (schemeName === "Tokyo-Night") {
|
||||
return "Tokyo Night";
|
||||
} else if (schemeName === "Rosepine") {
|
||||
return "Rose Pine";
|
||||
}
|
||||
return schemeName;
|
||||
}
|
||||
@@ -84,6 +86,8 @@ Singleton {
|
||||
schemeName = "Noctalia-legacy";
|
||||
} else if (schemeName === "Tokyo Night") {
|
||||
schemeName = "Tokyo-Night";
|
||||
} else if (schemeName === "Rose Pine") {
|
||||
schemeName = "Rosepine";
|
||||
}
|
||||
// Check preinstalled directory first, then downloaded directory
|
||||
var preinstalledPath = schemesDirectory + "/" + schemeName + "/" + schemeName + ".json";
|
||||
|
||||
@@ -16,7 +16,8 @@ Singleton {
|
||||
readonly property var schemeNameMap: ({
|
||||
"Noctalia (default)": "Noctalia-default",
|
||||
"Noctalia (legacy)": "Noctalia-legacy",
|
||||
"Tokyo Night": "Tokyo-Night"
|
||||
"Tokyo Night": "Tokyo-Night",
|
||||
"Rose Pine": "Rosepine"
|
||||
})
|
||||
|
||||
readonly property var terminalPaths: ({
|
||||
|
||||
Reference in New Issue
Block a user