mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add support for colouring tab icon in settings.js
``` editorTheme: { page: { tabicon: { icon: "full/path/of/tabicon.svg", colour: "#008f00" } } ``` The old way still works also (but doesn't allow the tabicon to be coloured: ``` editorTheme: { page: { tabicon: "full/path/of/tabicon.svg" } } ```
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
-->
|
||||
<title>{{ page.title }}</title>
|
||||
<link rel="icon" type="image/png" href="{{ page.favicon }}">
|
||||
<link rel="mask-icon" href="{{ page.tabicon }}" color="#8f0000">
|
||||
<link rel="mask-icon" href="{{ page.tabicon.icon }}" color="{{ page.tabicon.colour }}">
|
||||
<link rel="stylesheet" href="vendor/jquery/css/base/jquery-ui.min.css">
|
||||
<link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="red/style.min.css">
|
||||
|
Reference in New Issue
Block a user