about summary refs log tree commit diff
path: root/app/lib/themes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/themes.rb')
-rw-r--r--app/lib/themes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/lib/themes.rb b/app/lib/themes.rb
index 55824a5c4..2147904e4 100644
--- a/app/lib/themes.rb
+++ b/app/lib/themes.rb
@@ -80,4 +80,10 @@ class Themes
   def skins_for(name)
     @conf[name]['skin'].keys
   end
+
+  def flavours_and_skins
+    flavours.map do |flavour|
+      [flavour, skins_for(flavour).map{ |skin| [flavour, skin] }]
+    end
+  end
 end