summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-11-21 11:46:24 +0100
committerGitHub <noreply@github.com>2021-11-21 11:46:24 +0100
commitd51298177aa9917fc862d44f56dc0249752dc8d9 (patch)
tree2861cbc84d744c0d4842e06261c319b14d985c9a /searx
parent1c8b731791f1ca82887e776fefed86618a775b36 (diff)
parent4330d7cf5d5bc9617bc778e9a7e8a469274125ee (diff)
Merge pull request #528 from return42/brand
[brand] initial - folder src/brand for searxng-wordmark
Diffstat (limited to 'searx')
-rw-r--r--searx/static/themes/simple/gruntfile.js6
-rw-r--r--searx/static/themes/simple/src/svg/searxng-wordmark.svg56
2 files changed, 5 insertions, 57 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js
index 3d72a9270..006d64417 100644
--- a/searx/static/themes/simple/gruntfile.js
+++ b/searx/static/themes/simple/gruntfile.js
@@ -5,6 +5,10 @@ module.exports = function(grunt) {
const path = require('path');
grunt.initConfig({
+
+ _brand: '../../../../src/brand',
+ _templates: '../../../templates',
+
pkg: grunt.file.readJSON('package.json'),
watch: {
scripts: {
@@ -102,7 +106,7 @@ module.exports = function(grunt) {
svgo: ['--config', 'svg4web.svgo.js']
},
files: {
- '../../../templates/__common__/searxng-wordmark.min.svg': 'src/svg/searxng-wordmark.svg'
+ '<%= _templates %>/__common__/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg'
}
}
},
diff --git a/searx/static/themes/simple/src/svg/searxng-wordmark.svg b/searx/static/themes/simple/src/svg/searxng-wordmark.svg
deleted file mode 100644
index b94fe3728..000000000
--- a/searx/static/themes/simple/src/svg/searxng-wordmark.svg
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- id="svg8"
- version="1.1"
- viewBox="0 0 92 92"
- height="92mm"
- width="92mm">
- <defs
- id="defs2" />
- <metadata
- id="metadata5">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- transform="translate(-40.921303,-17.416526)"
- id="layer1">
- <circle
- r="0"
- style="fill:none;stroke:#000000;stroke-width:12;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- cy="92"
- cx="75"
- id="path3713" />
- <circle
- r="30"
- cy="53.902557"
- cx="75.921303"
- id="path834"
- style="fill:none;fill-opacity:1;stroke:#3050ff;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- d="m 67.514849,37.91524 a 18,18 0 0 1 21.051475,3.312407 18,18 0 0 1 3.137312,21.078282"
- id="path852"
- style="fill:none;fill-opacity:1;stroke:#3050ff;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <rect
- transform="rotate(-46.234709)"
- ry="1.8669105e-13"
- y="122.08995"
- x="3.7063529"
- height="39.963303"
- width="18.846331"
- id="rect912"
- style="opacity:1;fill:#3050ff;fill-opacity:1;stroke:none;stroke-width:8;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- </g>
-</svg>