1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Merge pull request #17942 from Chocobo1/icons

Update icon guidelines
This commit is contained in:
Chocobo1 2022-10-28 11:54:26 +08:00 committed by GitHub
commit 07bb1df74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 50 deletions

View File

@ -1,4 +1,6 @@
# qBittorrent Icons
## 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

View File

@ -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']);
}

View File

@ -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"
}

View File

@ -1,14 +0,0 @@
Convert SVG icons to PNG
------------------------
install npm
Execute:
```
npm install
```
Convert icons by running:
```
grunt
```