Commits

Panayiotis Lipiridis committed 23fb03c

Added Bootswatch

Comments (0)

Files changed (3)

   "name": "gae-init",
   "dependencies": {
     "bootstrap": "~3",
+    "bootswatch": "~3",
     "font-awesome": "~4",
     "jquery": "~2",
     "momentjs": "~2",
       "less": "less/*.less",
       "font": "fonts/*"
     },
+    "bootswatch": {
+      "less/amelia": "amelia/*.less",
+      "less/cerulean": "cerulean/*.less",
+      "less/cosmo": "cosmo/*.less",
+      "less/cupid": "cupid/*.less",
+      "less/cyborg": "cyborg/*.less",
+      "less/flatly": "flatly/*.less",
+      "less/fonts": "fonts/*.less",
  1. mdxs

    This might be duplicating Bootstrap fonts? It appears to be used inside their variables.less files: @icon-font-path: "../fonts/" which I assume are then overruled by our variables.less file.

+      "less/journal": "journal/*.less",
+      "less/lumen": "lumen/*.less",
+      "less/readable": "readable/*.less",
+      "less/simplex": "simplex/*.less",
+      "less/slate": "slate/*.less",
+      "less/spacelab": "spacelab/*.less",
+      "less/superhero": "superhero/*.less",
+      "less/united": "united/*.less",
+      "less/yeti": "yeti/*.less"
+    },
     "font-awesome": {
       "less": "less/*.less",
       "font": "fonts/*"

main/static/src/style/base.less

 body {
   padding-top: @navbar-height;
   > .container {
-    padding-top: (@line-height-computed / 2);
+    padding-top: floor(@line-height-computed / 2);
     padding-bottom: (@line-height-computed * 2);
   }
 }

main/static/src/style/style.less

 @import "../../ext/less/font-awesome/font-awesome";
 @import "../../ext/less/nprogress/nprogress";
 
+@import "../../ext/less/bootswatch/yeti/bootswatch";
+@import "../../ext/less/bootswatch/yeti/variables";
+
 @import "base";
 @import "variables";
 @import "mixins";