version 1.4
|
@ -6,3 +6,4 @@
|
|||
.Trash-*
|
||||
.nfs*
|
||||
*.tar.gz
|
||||
build-tar.gz.sh
|
||||
|
|
11
CHANGELOG.md
|
@ -14,3 +14,14 @@
|
|||
- Update few colors
|
||||
- Fix look-and-feel (Window theme apply now automatically)
|
||||
- Update readme
|
||||
|
||||
#### Version 1.4 - 30 March 2018
|
||||
- Update readme (new one-line sed command for Papirus iconpack colors change)
|
||||
- Kvantum : Update slidercursor-disabled control svg
|
||||
- Kvantum : Update dial control svg
|
||||
- Kvantum : reduct tooltip delay 250 to 180
|
||||
- Plasma theme : Update button.svg
|
||||
- SDDM : Textbox, PasswordBox and Button colors no longer appear with the default white theme. Colors schemes are now directly integrated into the SDDM theme. This requires a slight visual change.
|
||||
- SDDM : New icons, they are now directly integrated into the SDDM theme.
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -13,7 +13,7 @@ spread_progressbar=true
|
|||
composite=true
|
||||
menu_shadow_depth=5
|
||||
tooltip_shadow_depth=2
|
||||
splitter_width=4
|
||||
splitter_width=7
|
||||
scroll_width=9
|
||||
scroll_arrows=false
|
||||
scroll_min_extent=60
|
||||
|
@ -60,7 +60,7 @@ opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidem
|
|||
reduce_window_opacity=0
|
||||
respect_DE=true
|
||||
scrollable_menu=false
|
||||
submenu_delay=250
|
||||
submenu_delay=180
|
||||
|
||||
[GeneralColors]
|
||||
window.color=#1d1d1d
|
||||
|
@ -89,7 +89,7 @@ transparent_dolphin_view=false
|
|||
transparent_pcmanfm_sidepane=true
|
||||
blur_translucent=false
|
||||
transparent_menutitle=true
|
||||
respect_darkness=false
|
||||
respect_darkness=true
|
||||
kcapacitybar_as_progressbar=true
|
||||
force_size_grip=true
|
||||
iconless_pushbutton=true
|
||||
|
|
|
@ -38,9 +38,9 @@
|
|||
inkscape:window-height="737"
|
||||
id="namedview984"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.787825"
|
||||
inkscape:cx="406.71551"
|
||||
inkscape:cy="363.9634"
|
||||
inkscape:zoom="2.0463052"
|
||||
inkscape:cx="97.993055"
|
||||
inkscape:cy="161.27088"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
|
@ -679,11 +679,11 @@
|
|||
y="730"
|
||||
rx="22.5"
|
||||
ry="22.5"
|
||||
style="fill:#cfd8dc;fill-rule:evenodd;stroke:none;fill-opacity:1;opacity:0.1" />
|
||||
style="fill:#5e5f5e;fill-rule:evenodd;stroke:none;fill-opacity:1;opacity:0.1" />
|
||||
<g
|
||||
id="dial-notches"
|
||||
transform="translate(-76.5,66.75012)"
|
||||
style="fill:#ffffff;fill-opacity:0.39200003;fill-rule:evenodd;stroke:none">
|
||||
style="fill:#ffffff;fill-opacity:0.39200003;fill-rule:evenodd;stroke:none;opacity:0.5">
|
||||
<rect
|
||||
id="rect6567"
|
||||
width="45"
|
||||
|
@ -692,7 +692,8 @@
|
|||
y="667.5"
|
||||
style="opacity:0" />
|
||||
<g
|
||||
id="g189">
|
||||
id="g189"
|
||||
style="">
|
||||
<path
|
||||
id="dial-notches0"
|
||||
d="m 214.625,670 -1.75,1 2.25,3.9063 1.75,-1 -2.25,-3.9063 z m 20.75,0 -2.25,3.9063 1.75,1 2.25,-3.9063 -1.75,-1 z m -32.875,19 0,2 4.5,0 0,-2 -4.5,0 z m 40.5,0 0,2 4.5,0 0,-2 -4.5,0 z m -27.875,16.0938 -2.25,3.9062 1.75,1 2.25,-3.9062 -1.75,-1 z m 19.75,0 -1.75,1 2.25,3.9062 1.75,-1 -2.25,-3.9062 z"
|
||||
|
@ -5446,11 +5447,11 @@
|
|||
<path
|
||||
id="path5211"
|
||||
d="m 338,402 c -4.76536,0.004 -9,3.02646 -9,9.10156 0,6.07512 6.35292,9.66314 9,12.89844 2.64707,-3.23527 9,-6.82329 9,-12.89844 0,-6.0751 -4.23538,-9.10566 -9,-9.10156 z"
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#3d494f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#282828;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
|
||||
<path
|
||||
id="path5214"
|
||||
d="m 338.00391,406 c -1.538,10e-4 -2.7786,0.47948 -3.58985,1.22266 -0.81125,0.74317 -1.41406,1.77075 -1.41406,3.8789 0,1.64326 0.82865,3.06372 2.43555,4.78906 0.72809,0.78187 1.68049,1.72709 2.56445,2.52735 0.88396,-0.80026 1.83636,-1.74549 2.56445,-2.52735 1.60672,-1.72534 2.43555,-3.14578 2.43555,-4.78906 0,-2.10799 -0.60473,-3.1372 -1.41602,-3.88086 -0.81128,-0.74365 -2.04686,-1.2217 -3.58007,-1.2207 z"
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#263238;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#404040;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
|
||||
</g>
|
||||
<rect
|
||||
id="tbutton-normal-bottom"
|
||||
|
|
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 214 KiB |
14
README.md
|
@ -101,24 +101,22 @@ make distclean
|
|||
|
||||
After installation of Papirus :
|
||||
|
||||
- If the icons are installed at ROOT directory :
|
||||
- If the icons are installed at ROOT directory* :
|
||||
```
|
||||
sudo find -L /usr/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i 's/#00bcd4/#5d3263/g' {} \;
|
||||
sudo find -L /usr/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i 's/#0096aa/#351c39/g' {} \;
|
||||
sudo find -L /usr/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i 's/#00424A/#1a1a1a/g' {} \;
|
||||
sudo find -L /usr/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i -e 's/#00bcd4/#5d3263/g' -e 's/#0096aa/#351c39/g' -e 's/#00424A/#1a1a1a/g' {} \;
|
||||
```
|
||||
|
||||
- If the icons are installed at HOME directory for KDE :
|
||||
- If the icons are installed at HOME directory for KDE* :
|
||||
```
|
||||
find -L $HOME/.local/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i 's/#00bcd4/#5d3263/g' {} \;
|
||||
find -L $HOME/.local/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i 's/#0096aa/#351c39/g' {} \;
|
||||
find -L $HOME/.local/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i 's/#00424A/#1a1a1a/g' {} \;
|
||||
find -L $HOME/.local/share/icons/Papirus-Adapta-Nokto -name "*.svg" -exec sed -i -e 's/#00bcd4/#5d3263/g' -e 's/#0096aa/#351c39/g' -e 's/#00424A/#1a1a1a/g' {} \;
|
||||
```
|
||||
|
||||
<sup><sub>*Command execution take ~2 min with a Intel quad core</sub></sup>
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/Rokin05/darkine-kde/master/INFO/screenshots/thumbs/mini.changecolor.png" alt="Darkine-KDE changecolor"/></p>
|
||||
<p align="center"><sup><sub>1. The main color : #00bcd4 | 2. The backend color : #0096aa | 3. The logo color : #00424A</sub></sup></p>
|
||||
|
||||
|
||||
## License
|
||||
|
||||
GNU GPL v3
|
||||
|
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 62 KiB |
|
@ -28,6 +28,7 @@ FocusScope {
|
|||
|
||||
Rectangle {
|
||||
id: sceneColorBackground
|
||||
color: "#ff0000"
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@ import "components"
|
|||
import QtQuick 2.0
|
||||
import QtQuick.Layouts 1.2
|
||||
|
||||
import QtQuick.Controls 1.4 //ROKIN : for label
|
||||
import QtQuick.Controls.Styles 1.4 //ROKIN : for style textbox,button,label
|
||||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
|
||||
|
@ -43,6 +46,21 @@ SessionManagementScreen {
|
|||
id: userNameInput
|
||||
Layout.fillWidth: true
|
||||
|
||||
//ROKIN (https://doc.qt.io/qt-5/qml-qtquick-controls-styles-textfieldstyle.html)
|
||||
style: TextFieldStyle {
|
||||
textColor: "#5e5f5e"
|
||||
selectedTextColor: "#2e2f2f" // The highlighted text color
|
||||
selectionColor: "#8f86ba" // The text highlight color
|
||||
placeholderTextColor:"#5e5f5e" // When the text field is empty
|
||||
background: Rectangle {
|
||||
color: "#1a1a1a"
|
||||
radius: 2
|
||||
border.color: "#1a1a1a"
|
||||
border.width: 1
|
||||
//implicitWidth: 100
|
||||
//implicitHeight: 24
|
||||
}
|
||||
}
|
||||
text: lastUserName
|
||||
visible: showUsernamePrompt
|
||||
focus: showUsernamePrompt && !lastUserName //if there's a username prompt it gets focus first, otherwise password does
|
||||
|
@ -53,6 +71,21 @@ SessionManagementScreen {
|
|||
id: passwordBox
|
||||
Layout.fillWidth: true
|
||||
|
||||
//ROKIN (https://doc.qt.io/qt-5/qml-qtquick-controls-styles-textfieldstyle.html)
|
||||
style: TextFieldStyle {
|
||||
textColor: "#5e5f5e"
|
||||
selectedTextColor: "#2e2f2f" // The highlighted text color
|
||||
selectionColor: "#8f86ba" // The text highlight color
|
||||
placeholderTextColor:"#5e5f5e" // When the text field is empty
|
||||
background: Rectangle {
|
||||
color: "#1a1a1a"
|
||||
radius: 2
|
||||
border.color: "#1a1a1a"
|
||||
border.width: 1
|
||||
//implicitWidth: 100
|
||||
//implicitHeight: 24
|
||||
}
|
||||
}
|
||||
placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Password")
|
||||
focus: !showUsernamePrompt || lastUserName
|
||||
echoMode: TextInput.Password
|
||||
|
@ -67,11 +100,11 @@ SessionManagementScreen {
|
|||
//if empty and left or right is pressed change selection in user switch
|
||||
//this cannot be in keys.onLeftPressed as then it doesn't reach the password box
|
||||
Keys.onPressed: {
|
||||
if (event.key == Qt.Key_Left && !text) {
|
||||
if (event.key === Qt.Key_Left && !text) {
|
||||
userList.decrementCurrentIndex();
|
||||
event.accepted = true
|
||||
}
|
||||
if (event.key == Qt.Key_Right && !text) {
|
||||
if (event.key === Qt.Key_Right && !text) {
|
||||
userList.incrementCurrentIndex();
|
||||
event.accepted = true
|
||||
}
|
||||
|
@ -89,8 +122,42 @@ SessionManagementScreen {
|
|||
id: loginButton
|
||||
Layout.fillWidth: true
|
||||
|
||||
//ROKIN (https://doc.qt.io/qt-5/qml-qtquick-controls-styles-buttonstyle.html)
|
||||
style: ButtonStyle {
|
||||
background: Rectangle {
|
||||
border.width: control.activeFocus ? 2 : 1
|
||||
border.color: "#1a1a1a"
|
||||
radius: 2
|
||||
gradient: Gradient {
|
||||
GradientStop { position: 0 ; color: control.pressed ? "#282828" : "#292929" }
|
||||
GradientStop { position: 1 ; color: control.pressed ? "#212121" : "#212121" }
|
||||
}
|
||||
//implicitWidth: 100
|
||||
implicitHeight: 25
|
||||
}
|
||||
label: Component{
|
||||
id:labelLogin
|
||||
Row{
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: (parent.width - (textlogin.width + image.width))/2
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 2
|
||||
spacing: 0
|
||||
Image{ id:image ;source: control.iconSource}
|
||||
Label{
|
||||
id:textlogin
|
||||
height: 25
|
||||
width:100
|
||||
horizontalAlignment:Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: "#5e5f5e"
|
||||
text: control.text
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login")
|
||||
onClicked: startLogin();
|
||||
}
|
||||
} //=> END PlasmaComponents.Button
|
||||
|
||||
}
|
||||
|
|
|
@ -71,7 +71,6 @@ PlasmaCore.ColorScope {
|
|||
right: parent.right
|
||||
}
|
||||
height: root.height
|
||||
|
||||
focus: true //StackView is an implicit focus scope, so we need to give this focus so the item inside will have it
|
||||
|
||||
Timer {
|
||||
|
@ -95,7 +94,7 @@ PlasmaCore.ColorScope {
|
|||
|| !userListModel.hasOwnProperty("disableAvatarsThreshold"))
|
||||
return (userList.y + mainStack.y) > 0
|
||||
|
||||
if ( userListModel.count == 0 ) return false
|
||||
if ( userListModel.count === 0 ) return false
|
||||
|
||||
return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + mainStack.y) > 0
|
||||
}
|
||||
|
@ -114,28 +113,32 @@ PlasmaCore.ColorScope {
|
|||
|
||||
actionItems: [
|
||||
ActionButton {
|
||||
iconSource: "system-suspend"
|
||||
//iconSource: "system-suspend"
|
||||
iconSource: "/usr/share/sddm/themes/Darkine/components/artwork/suspend.svgz"
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Suspend")
|
||||
onClicked: sddm.suspend()
|
||||
enabled: sddm.canSuspend
|
||||
visible: !inputPanel.keyboardActive
|
||||
},
|
||||
ActionButton {
|
||||
iconSource: "system-reboot"
|
||||
//iconSource: "system-reboot"
|
||||
iconSource: "/usr/share/sddm/themes/Darkine/components/artwork/reboot.svgz"
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Restart")
|
||||
onClicked: sddm.reboot()
|
||||
enabled: sddm.canReboot
|
||||
visible: !inputPanel.keyboardActive
|
||||
},
|
||||
ActionButton {
|
||||
iconSource: "system-shutdown"
|
||||
//iconSource: "system-shutdown"
|
||||
iconSource: "/usr/share/sddm/themes/Darkine/components/artwork/shutdown.svgz"
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shutdown")
|
||||
onClicked: sddm.powerOff()
|
||||
enabled: sddm.canPowerOff
|
||||
visible: !inputPanel.keyboardActive
|
||||
},
|
||||
ActionButton {
|
||||
iconSource: "system-search"
|
||||
//iconSource: "system-search"
|
||||
iconSource: "/usr/share/sddm/themes/Darkine/components/artwork/switch-user.svgz"
|
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Different User")
|
||||
onClicked: mainStack.push(userPromptComponent)
|
||||
enabled: true
|
||||
|
|
|
@ -25,12 +25,14 @@ import org.kde.plasma.components 2.0
|
|||
|
||||
ColumnLayout {
|
||||
Label {
|
||||
color: "#878787"
|
||||
text: Qt.formatTime(timeSource.data["Local"]["DateTime"])
|
||||
font.pointSize: 32 //Mockup says this, I'm not sure what to do?
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
renderType: Text.QtRendering
|
||||
}
|
||||
Label {
|
||||
color: "#878787"
|
||||
text: Qt.formatDate(timeSource.data["Local"]["DateTime"], Qt.DefaultLocaleLongDate)
|
||||
font.pointSize: 18
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
|
|
@ -85,7 +85,7 @@ Item {
|
|||
live: false
|
||||
}
|
||||
|
||||
property var colorBorder: PlasmaCore.ColorScope.textColor
|
||||
property color colorBorder: "#5e5f5e"
|
||||
|
||||
//draw a circle with an antialised border
|
||||
//innerRadius = size of the inner circle with contents
|
||||
|
|
|
@ -12,5 +12,5 @@ MainScript=Main.qml
|
|||
ConfigFile=theme.conf
|
||||
TranslationsDirectory=translations
|
||||
Email=
|
||||
Theme-Id=darkine
|
||||
Theme-Id=Darkine
|
||||
Theme-API=2.0
|
||||
|
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 34 KiB |
|
@ -0,0 +1,4 @@
|
|||
[General]
|
||||
type=color
|
||||
color=#1d1d1d
|
||||
background=
|