Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit fbfa0c9

Browse files
committed
fix(sprite): put Retina *Display*
1 parent 7f6b160 commit fbfa0c9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This stack core is to be included in your main project and sets up many Gulp tas
2020
- SVG => Font Icons compiling with support for adding mixins and classes to SCSS along with a demo page
2121
- Drupal file watching to trigger Drush cache clears
2222
- Copy any files to an other location
23-
- Sprite generator
23+
- Sprite generator (with Retina Display support)
2424

2525
All is easily configurable by changing values in your `gulpfile.yml` file in your project. These values are merged into the `gulpfile.default.yml` file - look there for the available options and defaults.
2626

docs/features/sprite.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ Or this HTML class:
1616
<span class="sprite-facebook"></span>
1717
```
1818

19-
### Retina support
19+
### Retina Display support
2020

21-
You can generate a second sprite for Retina.
22-
First, you need to duplicates all your images for Retina, and append "@2x" in the filename. For example: "facebook.png" and "[email protected]".
21+
You can generate a second sprite for Retina Display.
22+
First, you need to duplicates all your images and append "@2x" in the filename. For example: "facebook.png" and "[email protected]".
2323

2424
After enabled it, you can now use the mixin:
2525

2626
```scss
2727
@include retina-sprite('sprite-facebook');
2828
```
2929

30-
It will automatically take sprite@2x for Retina devices, and normal sprite for others.
30+
It will automatically take sprite@2x for Retina Display, and normal sprite for others.
3131

3232

3333
## Commands

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This stack core is to be included in your main project and sets up many Gulp tas
1515
- SVG => Font Icons compiling with support for adding mixins and classes to SCSS along with a demo page
1616
- Drupal file watching to trigger Drush cache clears
1717
- Copy any files to an other location
18-
- Sprite generator
18+
- Sprite generator (with Retina Display support)
1919

2020
All is easily configurable by changing values in your `gulpfile.yml` file in your project. These values are merged into the `gulpfile.default.yml` file - look there for the available options and defaults.
2121

0 commit comments

Comments
 (0)