mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
commit
07bb1df74f
4 changed files with 3 additions and 50 deletions
|
@ -1,4 +1,6 @@
|
||||||
# qBittorrent Icons
|
# qBittorrent Icons
|
||||||
|
|
||||||
## Color Reference
|
## Color Reference
|
||||||
Colors have been selected from Qt documented [SVG Colors](https://doc.qt.io/qt-6/qcolorconstants.html#svg-colors). It is recommended to use color Hex from the given source.
|
It is recommended to use color from the following source: [Primer primitives colors](https://primer.style/primitives/colors).
|
||||||
|
|
||||||
|
More information: https://primer.style/design/foundations/color
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
module.exports = function(grunt) {
|
|
||||||
|
|
||||||
grunt.initConfig({
|
|
||||||
svg2png: {
|
|
||||||
all: {
|
|
||||||
options:{
|
|
||||||
size: 256
|
|
||||||
},
|
|
||||||
files: [
|
|
||||||
{
|
|
||||||
src: ['icons/*.svg']
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-svg2png');
|
|
||||||
|
|
||||||
grunt.registerTask('default', ['svg2png']);
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"name": "build-icons",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "Convert svg icons to png",
|
|
||||||
"main": "index.js",
|
|
||||||
"dependencies": {},
|
|
||||||
"devDependencies": {
|
|
||||||
"grunt": "*",
|
|
||||||
"grunt-svg2png": "git+https://git@github.com/bertyhell/grunt-svg2png.git"
|
|
||||||
},
|
|
||||||
"author": "Bert Verhelst",
|
|
||||||
"license": "ISC"
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
Convert SVG icons to PNG
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
install npm
|
|
||||||
|
|
||||||
Execute:
|
|
||||||
```
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
Convert icons by running:
|
|
||||||
```
|
|
||||||
grunt
|
|
||||||
```
|
|
Loading…
Add table
Add a link
Reference in a new issue