Comments (7)
from baumeister.
I wonder how the default setup of this task should look like.
Because something like the following is too generic:
sprite: {
all: {
src: 'path/to/your/sprites/*.png',
dest: 'destination/of/spritesheet.png',
destCss: 'destination/of/sprites.css'
}
}
I guess settings for sprite generation are very project specific. So I guess we should use the following as default:
sprite: {
/*
* Generating CSS sprites is very project specific. Please take your time and
* configure one ore more subtasks according to your needs.
*/
// subTaskName: {
// src: 'path/to/your/images/*.png',
// dest: 'destination/of/spritesheet.png',
// destCss: 'destination/of/sprites.less'
// }
}
Any thoughts on that @revrng?
from baumeister.
That's a good point. Maybe we should write a few more lines how to use the sprite plugin. Especially how to integrate the generated sprites.less into the existing less files and how to use the generated sprite mixins.
from baumeister.
Good catch. Makes sense to point out to https://github.com/Ensighten/grunt-spritesmith or add some own documentation about how to set up this thing.
I guess that belongs to the readme and we could add another sentence like »See readme for further information« or just »See https://github.com/Ensighten/grunt-spritesmith for further information«.
from baumeister.
Going to close this (for now).
If we have a project using SVGs intensively we should consider using either gulp-svg-sprite, gulp-svgstore or gulp-svg-sprites and check if it makes sense to integrate one or another in Bootstrap Kickstart by default.
from baumeister.
Going to reopen this just in case someone finds time to investigate those gulp plugins ⬆️
from baumeister.
Closing this.
Issue might be recreated in the upcoming Baumeister Repo.
from baumeister.
Related Issues (20)
- Additional enhancements for the final v3 release HOT 1
- Add `font-loader`
- feat: add automated accessibility tests HOT 1
- Bring back Browsersync? HOT 10
- Feature: Make it possible to configure Baumeister via package.json
- Replace metalsmith with handlebars-loader HOT 1
- Bring back validating HTML HOT 1
- Proof read docs HOT 2
- Nested pages - feature request? HOT 1
- Error during build HOT 3
- Let Webpack load images from SASS HOT 1
- ESLint rule `linebreak-style` should be configured as warning HOT 1
- Need support for relative url's in handlebar templates HOT 1
- Templating using markdown and handlebars not working HOT 3
- Saving pages as {folderName}/index.html HOT 1
- Fails to build after fresh install HOT 1
- Instantly fails build after install HOT 1
- npm scripts throwing errors HOT 4
- Resolving background-image path in SASS HOT 2
- Adding CSS to the vendor bundle via `bundleCSS` is broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baumeister.