Skip to content

Commit

Permalink
fix(Sass): Rename icons utlilty file to prevent overriding the variab…
Browse files Browse the repository at this point in the history
…les file on build.
  • Loading branch information
ryanoglesby08 committed Aug 8, 2017
1 parent 8d1085f commit 0816b05
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/scss/settings/_colours.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// THESE COLOURS ARE CURRENTLY COPIED FROM _variables.scss FOR NOW.

$color-accessible-green: #248700;

$color-telus-green: #6c0;
Expand Down
5 changes: 0 additions & 5 deletions src/scss/settings/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,3 @@ $core-icon-codepoints: (
spyglass: "\f111",
times: "\f104"
);

// Get the unicode point for a given icon name
@function core-icon-codepoint($name) {
@return map-get($core-icon-codepoints, $name);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import '../settings/icons';
// Get the unicode point for a given icon name
@function core-icon-codepoint($name) {
@return map-get($core-icon-codepoints, $name);
}

@mixin core-icon($name: null) {
@if $name {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/utility/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
@import 'alt-state';
@import 'clearfix';
@import 'dimple';
@import 'icons';
@import 'icons-utility';
@import 'links';
@import 'responsive';
2 changes: 0 additions & 2 deletions src/scss/utility/_responsive.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '../settings/responsive-grid';

// Mobile-first breakpoint mixin. This is the preferred way to use a
// breakpoint, with larger devices inheriting from smaller ones.
//
Expand Down

0 comments on commit 0816b05

Please sign in to comment.