[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-framework] /: a breeze-dark theme
From:       Marco Martin <notmart () gmail ! com>
Date:       2014-03-31 18:37:40
Message-ID: E1WUh5Y-0001Xx-Dw () scm ! kde ! org
[Download RAW message or body]

Git commit a326f85cd8f1f3e90156e83a33a34ecafc413e73 by Marco Martin.
Committed on 31/03/2014 at 18:36.
Pushed by mart into branch 'master'.

a breeze-dark theme

this theme won't have any graphics, just colors that get applied with css on the default svgs

M  +1    -0    desktoptheme/CMakeLists.txt
A  +2    -0    desktoptheme/breeze-dark/CMakeLists.txt
A  +105  -0    desktoptheme/breeze-dark/colors
A  +25   -0    desktoptheme/breeze-dark/metadata.desktop
M  +2    -2    src/plasma/private/theme_p.cpp

http://commits.kde.org/plasma-framework/a326f85cd8f1f3e90156e83a33a34ecafc413e73

diff --git a/desktoptheme/CMakeLists.txt b/desktoptheme/CMakeLists.txt
index ef2d80c..3087c17 100644
--- a/desktoptheme/CMakeLists.txt
+++ b/desktoptheme/CMakeLists.txt
@@ -1,3 +1,4 @@
 add_subdirectory( oxygen )
 add_subdirectory( air )
 add_subdirectory( breeze )
+add_subdirectory( breeze-dark )
diff --git a/desktoptheme/breeze-dark/CMakeLists.txt b/desktoptheme/breeze-dark/CMakeLists.txt
new file mode 100644
index 0000000..7f63739
--- /dev/null
+++ b/desktoptheme/breeze-dark/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+install(FILES colors metadata.desktop DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/breeze-dark/)
diff --git a/desktoptheme/breeze-dark/colors b/desktoptheme/breeze-dark/colors
new file mode 100644
index 0000000..f0c3e69
--- /dev/null
+++ b/desktoptheme/breeze-dark/colors
@@ -0,0 +1,105 @@
+[ColorEffects:Disabled]
+Color=56,56,56
+ColorAmount=0
+ColorEffect=0
+ContrastAmount=0.65
+ContrastEffect=1
+IntensityAmount=0.1
+IntensityEffect=2
+
+[ColorEffects:Inactive]
+ChangeSelectionColor=true
+Color=112,111,110
+ColorAmount=0.025
+ColorEffect=2
+ContrastAmount=0.1
+ContrastEffect=2
+Enable=false
+IntensityAmount=0
+IntensityEffect=0
+
+[Colors:Button]
+BackgroundAlternate=224,223,222
+BackgroundNormal=239,240,241
+DecorationFocus=30,146,255
+DecorationHover=61,174,230
+ForegroundActive=246,116,0
+ForegroundInactive=175,176,179
+ForegroundLink=61,174,230
+ForegroundNegative=237,21,21
+ForegroundNeutral=201,206,59
+ForegroundNormal=49,54,59
+ForegroundPositive=17,209,22
+ForegroundVisited=61,174,230
+
+[Colors:Selection]
+BackgroundAlternate=48,138,183
+BackgroundNormal=61,174,230
+DecorationFocus=30,146,255
+DecorationHover=61,174,230
+ForegroundActive=246,116,0
+ForegroundInactive=146,204,230
+ForegroundLink=252,252,252
+ForegroundNegative=237,21,21
+ForegroundNeutral=201,206,59
+ForegroundNormal=252,252,252
+ForegroundPositive=17,209,22
+ForegroundVisited=252,252,252
+
+[Colors:Tooltip]
+BackgroundAlternate=59,64,69
+BackgroundNormal=49,54,59
+DecorationFocus=30,146,255
+DecorationHover=61,174,230
+ForegroundActive=246,116,0
+ForegroundInactive=175,176,179
+ForegroundLink=61,174,230
+ForegroundNegative=237,21,21
+ForegroundNeutral=201,206,59
+ForegroundNormal=239,240,241
+ForegroundPositive=17,209,22
+ForegroundVisited=61,174,230
+
+[Colors:View]
+BackgroundAlternate=248,247,246
+BackgroundNormal=252,252,252
+DecorationFocus=30,146,255
+DecorationHover=61,174,230
+ForegroundActive=246,116,0
+ForegroundInactive=175,176,179
+ForegroundLink=61,174,230
+ForegroundNegative=237,21,21
+ForegroundNeutral=201,206,59
+ForegroundNormal=49,54,59
+ForegroundPositive=17,209,22
+ForegroundVisited=61,174,230
+
+[Colors:Window]
+BackgroundAlternate=59,64,69
+BackgroundNormal=49,54,59
+DecorationFocus=30,146,255
+DecorationHover=61,174,230
+ForegroundActive=246,116,0
+ForegroundInactive=175,176,179
+ForegroundLink=61,174,230
+ForegroundNegative=237,21,21
+ForegroundNeutral=201,206,59
+ForegroundNormal=239,240,241
+ForegroundPositive=17,209,22
+ForegroundVisited=61,174,230
+
+[General]
+ColorScheme=Plasma Next
+Name=Plasma Next
+shadeSortColumn=true
+
+[KDE]
+contrast=7
+
+[WM]
+activeBackground=61,174,230
+activeBlend=252,252,252
+activeForeground=252,252,252
+inactiveBackground=123,124,126
+inactiveBlend=123,124,126
+inactiveForeground=252,252,252
diff --git a/desktoptheme/breeze-dark/metadata.desktop b/desktoptheme/breeze-dark/metadata.desktop
new file mode 100644
index 0000000..df3385f
--- /dev/null
+++ b/desktoptheme/breeze-dark/metadata.desktop
@@ -0,0 +1,25 @@
+[Desktop Entry]
+Name=Breeze Dark
+
+
+X-KDE-PluginInfo-Author=KDE Visual Design Group
+X-KDE-PluginInfo-Email=kde-artists@kde.org
+X-KDE-PluginInfo-Name=breeze-dark
+X-KDE-PluginInfo-Version=0.1
+X-KDE-PluginInfo-Website=http://plasma.kde.org
+X-KDE-PluginInfo-Category=
+X-KDE-PluginInfo-Depends=
+X-KDE-PluginInfo-License=LGPL
+X-KDE-PluginInfo-EnabledByDefault=true
+
+[Wallpaper]
+defaultWallpaperTheme=Elarun
+defaultFileSuffix=.png
+defaultWidth=2560
+defaultHeight=1600
+
+[ContrastEffect]
+enabled=true
+contrast=0.3
+intensity=1.9
+saturation=1.7
diff --git a/src/plasma/private/theme_p.cpp b/src/plasma/private/theme_p.cpp
index c407c8e..e1290d2 100644
--- a/src/plasma/private/theme_p.cpp
+++ b/src/plasma/private/theme_p.cpp
@@ -642,9 +642,9 @@ void ThemePrivate::setThemeName(const QString &tempThemeName, bool writeSettings
             fallback = cg.readEntry("FallbackTheme", QString());
         }
 
-        if (!fallbackThemes.contains("oxygen")) {
+       /* if (!fallbackThemes.contains("oxygen")) {
             fallbackThemes.append("oxygen");
-        }
+        }*/
 
         if (!fallbackThemes.contains(ThemePrivate::defaultTheme)) {
             fallbackThemes.append(ThemePrivate::defaultTheme);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic