Skip to content

Commit

Permalink
Feature/update image svg patterns (#570)
Browse files Browse the repository at this point in the history
* Refactor SVG and Image patterns

* Fix scss vars

* Disable eslint for backstop examples

* Update placeholder variable names

* Update core handler pattern to elseif

* Update _icons-generated.scss creator

* Remove comment

* Add index check for breakpoint loop

* Update style to prevent component style collision

* Image and svg feedback

* Update key for srcset loop
  • Loading branch information
jryanconklin authored and illepic committed Jun 26, 2019
1 parent b835bc7 commit 242083e
Show file tree
Hide file tree
Showing 66 changed files with 684 additions and 368 deletions.
2 changes: 1 addition & 1 deletion apps/drupal/particle.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ component-libraries:
- ../../dist/app-drupal/assets/atomic/_patterns/01-atoms/grid
- ../../dist/app-drupal/assets/atomic/_patterns/01-atoms/image
- ../../dist/app-drupal/assets/atomic/_patterns/01-atoms/list-group
- ../../dist/app-drupal/assets/atomic/_patterns/01-atoms/svgicon
- ../../dist/app-drupal/assets/atomic/_patterns/01-atoms/svg
molecules:
paths:
- ../../dist/app-drupal/assets/atomic/_patterns/02-molecules
Expand Down
2 changes: 1 addition & 1 deletion apps/pl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const settings = {
// BUILD_TARGET is either 'pl' or 'drupal', and comes from webpack
enableHolder: BUILD_TARGET === APP_NAME,
// a random drupalSetting
color: 'orange',
color: '#ce8500',
};

// Just execute everything in the design system and pass in $(document), settings
Expand Down
2 changes: 1 addition & 1 deletion apps/pl/pattern-lab/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ plugins:
- ../../../source/default/_patterns/01-atoms/grid
- ../../../source/default/_patterns/01-atoms/image
- ../../../source/default/_patterns/01-atoms/list-group
- ../../../source/default/_patterns/01-atoms/svgicon
- ../../../source/default/_patterns/01-atoms/svg
molecules:
paths:
- ../../../source/default/_patterns/02-molecules
Expand Down
2 changes: 1 addition & 1 deletion apps/pl/scss/_scss2json.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $spacing-demo: $spacers;
// Import your Customized Variables here, example:
//@import '../_patterns/01-atoms/button/_button.scss';

// Return an array of the SVG filenames located within svgicon/svg/
// Return an array of the SVG filenames located within svg/svg/
$svgicons: map-keys($sprites);

// Exports Data to source/_data/scssVariables.json
Expand Down
Loading

0 comments on commit 242083e

Please sign in to comment.