Giter Club home page Giter Club logo

Comments (7)

mischah avatar mischah commented on August 23, 2024

from baumeister.

mischah avatar mischah commented on August 23, 2024

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.

reneviering avatar reneviering commented on August 23, 2024

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.

mischah avatar mischah commented on August 23, 2024

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.

mischah avatar mischah commented on August 23, 2024

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.

mischah avatar mischah commented on August 23, 2024

Going to reopen this just in case someone finds time to investigate those gulp plugins ⬆️

from baumeister.

mischah avatar mischah commented on August 23, 2024

Closing this.
Issue might be recreated in the upcoming Baumeister Repo.

from baumeister.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.