Commit Graph

54 Commits

Author SHA1 Message Date
XhmikosR
73490430d0 Disable sourcemaps 2020-09-15 23:22:54 +03:00
XhmikosR
234251b9e7 Disable sourcemaps for the unminified files. 2020-09-15 08:45:09 +03:00
XhmikosR
e042345a85 Specify sourceMapInlineSources for clean-css 2020-09-15 08:42:32 +03:00
XhmikosR
11b0263451 Autoprefixer: disable cascade 2020-09-14 18:38:17 +03:00
Thomas Park
70a09368ba Merge pull request #1009 from XhmikosR/patch-1
Gruntfile.js: further cleanup
2020-09-12 13:37:14 -04:00
XhmikosR
17a56d2075 Gruntfile.js: further cleanup
Also add a `docs-css` task
2020-09-12 17:35:49 +03:00
XhmikosR
060a8f441a Enable sourcemaps. 2020-09-11 23:51:09 +03:00
XhmikosR
8ed5115e78 Tweak Gruntfile.js
* ES6-ify
* Use an array for the swatches
* Use `path`'s methods when dealing with paths
* Fix watch task livereload/open
* Copy only the theme's files and not everything
* Remove compress task since we use clean-css now
2020-09-11 08:02:10 +03:00
XhmikosR
887d05ce06 Gruntfile.js: enforce LF 2020-09-10 17:56:51 +03:00
XhmikosR
e1a799c890 Remove the now unused popper.js. 2020-09-10 09:10:06 +03:00
XhmikosR
7ca2d94cdd Update all devDependencies and assorted fixes
* Add @lodder/grunt-postcss
* Specify `precision: 6` for node-sass like upstream
* Add clean-css
* Update browserslistc config from upstream
* Remove engines version since the consumers of the package are not affected by the Node.js version
* Switch to explicitly using `grunt.config`'s methods
2020-09-09 16:50:40 +03:00
Thomas Park
a6b361cb76 update grunt-sass 2019-06-17 15:03:40 -04:00
Thomas Park
517bddd115 fix unchanged themes generating changed css 2018-01-17 15:08:37 -05:00
Thomas Park
8e6d2e8305 grunt tasks for building docs 2017-11-04 01:48:23 -04:00
Thomas Park
d76f141e79 remove custom 2017-11-03 11:20:08 -04:00
Thomas Park
b66d4dc211 update v4.0.0-beta.2, closes #499 2017-11-03 02:48:10 -04:00
Thomas Park
d86df536f8 add solarized to v3, closes #612 2017-02-22 22:27:55 -05:00
Thomas Park
101ffa49e8 add optional theme argument to convert_less task 2017-02-10 11:29:12 -05:00
Corey Sewell
f6e602e4ea Fix google font import issue with scss 2015-09-24 13:27:42 +12:00
Thomas Park
913f54b948 set web font path as variable that can be overridden, closes #507 2015-09-03 16:39:50 -04:00
Thomas Park
ceefe110c1 set default $bootstrap-sass-asset-helper value 2015-07-07 14:03:38 -04:00
Thomas Park
0e31fc2700 for sass, give $icon-font-path conditional value, fixes #453 2015-07-02 16:47:52 -04:00
Jay Williams
95f3901beb Add !default flag to each sass variable 2015-05-14 20:44:45 -05:00
nielslbeck
2987fd14a2 Using strictMath
Using strictMath to prevent Less from trying to calculate stuff it's shouldn't calculate.

Example:
The following Less:
.small {
  width: calc(~"100% / 12 * 6 - 40px");
}
will output the following CSS:
.small {
  width: -webkit-calc(100% / 12 * 7 - 40px);
  width: calc(100% / 12 * 7 - 40px);
}
which is as expected. The calculation can be performed at runtime.

But the minified version will be:
.small{width:-webkit-calc(18.33333333%);width:calc(18.33333333%)}
and that's something else (the absolute part, 40px, shouldn't be converted to something relative).

By using strictMath: true both the CSS and the minified CSS will contain the entire calculation.
2015-02-19 13:38:30 +01:00
Corey Sewell
28bd7c0707 Add support for SASS/SCSS
Refactored less files to be more scss friendly
 * Ensured no variables are used before assignment
 * Removed interpolated variable usage with similar substitute

Added SCSS Grunt tasks
 * convert_less - Converts theme less files to scss
 * swatch_scss - Same as original swatch task, but using sass
 * compress_scss - Same as original compress task, but using sass

Added dependencies for SCSS

Updated _config.yml so jekyll includes theme _bootswatch.scss and _variables.scss files

Added .sass-cache dir to .gitignore
2014-11-14 20:44:05 +13:00
Thomas Park
3f867ba116 fix src for autoprefixer task 2014-11-13 04:12:47 -05:00
Thomas Park
dc0928d084 add autoprefixer 2014-11-13 03:58:57 -05:00
Thomas Park
e91fb5dad0 add paper and sandstone to composer and gruntfile 2014-08-13 16:20:12 -04:00
Thomas Park
2fe8fed718 add grunt server and grunt watch, closes #284 2014-08-01 11:29:58 -04:00
Thomas Park
b09a03afa2 add grunt watch task, closes #281 2014-07-07 12:38:40 -04:00
Thomas Park
c5e6ed908b remove shamrock 2014-03-24 10:58:00 -04:00
Thomas Park
a2ad1b17fe add darkly to site 2014-03-17 00:36:57 -04:00
Thomas Park
2899869b94 add shamrock 2014-02-28 19:24:48 -05:00
Thomas Park
34785cadb5 remove cupid 2014-02-28 17:41:58 -05:00
XhmikosR
0a7985a310 More tabs to spaces. 2014-02-11 19:06:40 +02:00
Thomas Park
6fc2f688f8 tabs to spaces 2014-02-05 21:05:48 -05:00
Thomas Park
4dc584b1d0 banners in css files, closes #205 2014-02-03 15:39:08 -05:00
Thomas Park
83543b62d8 build with less instead of recess 2014-02-02 22:43:24 -05:00
Graham Campbell
36634280a9 Tweaks 2013-12-26 15:55:26 +00:00
Thomas Park
fe9a9c1cf1 yeti: new theme 2013-11-21 22:11:37 -05:00
Thomas Park
c80fdb566b remove superhero 2013-08-17 12:33:34 -07:00
Thomas Park
7821cd04a9 added custom starter template 2013-08-06 23:11:24 -04:00
Thomas Park
20e2d90874 first commit for 3.0.0-rc1 2013-08-06 15:16:13 -04:00
Thomas Park
55f9c2cec0 moves v2.3.2 to /2/ 2013-08-06 15:15:37 -04:00
Francesco Pontillo
6f8b9c8d22 Added default grunt task 2013-05-16 10:25:33 +02:00
Thomas Park
5a8fb4bf1b add new theme flatly to site 2013-05-15 16:41:43 -04:00
Thomas Park
61d34cf75a remove shamrock 2013-03-17 12:02:07 -04:00
Thomas Park
0e6ba185eb Added build configuration for shamrock, closes #81 2013-03-01 21:09:45 -05:00
Thomas Park
48ddd31857 whitespace tweaks in gruntfile 2013-02-28 20:53:53 -05:00
Thomas Park
6d330a83ae remove shamrock from gruntfile 2013-02-27 19:20:33 -05:00