Skip to content

Commit

Permalink
MDL-55071 theme_boost: fixup bootswatch thirdpartylibs
Browse files Browse the repository at this point in the history
Allow longhand colour codes for asthetics..
  • Loading branch information
danpoltawski committed Sep 23, 2016
1 parent d5d0a80 commit 5cb8ca8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ theme/boost/amd/src/tab.js
theme/boost/amd/src/tooltip.js
theme/boost/amd/src/util.js
theme/boost/amd/src/tether.js
theme/boost/scss/preset-flat.scss
theme/boost/scss/preset-flatly.scss
theme/boost/scss/preset-paper.scss
theme/boost/scss/preset-readable.scss
theme/bootstrapbase/less/bootstrap/
theme/bootstrapbase/javascript/html5shiv.js
theme/bootstrapbase/amd/src/bootstrap.js
4 changes: 2 additions & 2 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by "grunt ignorefiles"
theme/bootstrapbase/style/
theme/boost/scss/preset-*
node_modules/
vendor/
auth/cas/CAS/
Expand Down Expand Up @@ -68,8 +67,9 @@ theme/boost/amd/src/tab.js
theme/boost/amd/src/tooltip.js
theme/boost/amd/src/util.js
theme/boost/amd/src/tether.js
theme/boost/scss/preset-flat.scss
theme/boost/scss/preset-flatly.scss
theme/boost/scss/preset-paper.scss
theme/boost/scss/preset-readable.scss
theme/bootstrapbase/less/bootstrap/
theme/bootstrapbase/javascript/html5shiv.js
theme/bootstrapbase/amd/src/bootstrap.js
6 changes: 1 addition & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,7 @@ module.exports = function(grunt) {
var eslintIgnores = ['# Generated by "grunt ignorefiles"', '*/**/yui/src/*/meta/', '*/**/build/'].concat(thirdPartyPaths);
grunt.file.write('.eslintignore', eslintIgnores.join('\n'));
// Generate .stylelintignore.
var stylelintIgnores = [
'# Generated by "grunt ignorefiles"',
'theme/bootstrapbase/style/',
'theme/boost/scss/preset-*'
].concat(thirdPartyPaths);
var stylelintIgnores = ['# Generated by "grunt ignorefiles"', 'theme/bootstrapbase/style/'].concat(thirdPartyPaths);
grunt.file.write('.stylelintignore', stylelintIgnores.join('\n'));
};

Expand Down
7 changes: 4 additions & 3 deletions theme/boost/scss/preset-default.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable color-hex-length */
/**
* Default preset file.
*
Expand Down Expand Up @@ -41,16 +42,16 @@ $table-border-color: #f4f4f4 !default;

// Dropdowns
$dropdown-border-color: #e2e2e2 !default;
$dropdown-link-color: rgba(0,0,0,.535) !default;
$dropdown-link-color: rgba(0, 0, 0, .535) !default;

// Navbar
$navbar-light-color: rgba(0,0,0,.535) !default;
$navbar-light-color: rgba(0, 0, 0, .535) !default;
$navbar-light-hover-color: $brand-primary !default;
$navbar-light-active-color: $brand-primary !default;

// Cards
$card-border-radius: 0 !default;
$card-border-color: rgba(238,238,238,1) !default;
$card-border-color: rgba(238, 238, 238, 1) !default;

// Breadcrumbs
$breadcrumb-bg: transparent !default;
Expand Down
9 changes: 8 additions & 1 deletion theme/boost/thirdpartylibs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<licenseversion></licenseversion>
</library>
<library>
<location>scss/preset-flat.scss</location>
<location>scss/preset-flatly.scss</location>
<name>Flatly Bootswatch</name>
<license>(MIT)</license>
<version>3.3.7</version>
Expand All @@ -112,4 +112,11 @@
<version>3.3.7</version>
<licenseversion></licenseversion>
</library>
<library>
<location>scss/preset-readable.scss</location>
<name>Readable Bootswatch</name>
<license>(MIT)</license>
<version>3.3.7</version>
<licenseversion></licenseversion>
</library>
</libraries>

0 comments on commit 5cb8ca8

Please sign in to comment.