296 lines
9.5 KiB
Plaintext
296 lines
9.5 KiB
Plaintext
// Vector icons (32x32 viewbox). Brand marks are simplified, original drawings.
|
|
|
|
export component AppIcon inherits Rectangle {
|
|
in property <string> icon;
|
|
in property <color> ink: #ffffff;
|
|
|
|
if root.icon == "netflex": Rectangle {
|
|
// Netflex mark: mirrored "N" in three ribbons (from netflex/apps/web/public/favicon.svg).
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M7 3h6v26H7z";
|
|
fill: @linear-gradient(180deg, #b20710 0%, #831010 100%);
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M19 3h6v26h-6z";
|
|
fill: @linear-gradient(0deg, #b20710 0%, #831010 100%);
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M18.4 3h6.6L13.6 29H7z";
|
|
fill: #00000059;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M19 3h6L13 29H7z";
|
|
fill: @linear-gradient(35deg, #e50914 0%, #f6303a 100%);
|
|
}
|
|
}
|
|
|
|
if root.icon == "youtube": Rectangle {
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M3 11.2C3 8.4 5 6.6 7.8 6.4 11.4 6.1 20.6 6.1 24.2 6.4 27 6.6 29 8.4 29 11.2v9.6c0 2.8-2 4.6-4.8 4.8-3.6.3-12.8.3-16.4 0C5 25.4 3 23.6 3 20.8z";
|
|
fill: @linear-gradient(160deg, #ff3b30 0%, #d90d1d 100%);
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M13.2 11.6v8.8l7.6-4.4z";
|
|
fill: #ffffff;
|
|
}
|
|
}
|
|
|
|
if root.icon == "airplay": Rectangle {
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M9.5 22.5H6.5a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3h19a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3h-3";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M16 18.5l7 9.5H9z";
|
|
fill: @linear-gradient(180deg, #8fd0ff 0%, #3d8bff 100%);
|
|
}
|
|
}
|
|
|
|
if root.icon == "miracast": Rectangle {
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M6.5 5h19a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3h-19a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3zM11 28h10";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M10.5 13.2a8 8 0 0 1 11 0M13.3 16.3a4 4 0 0 1 5.4 0";
|
|
stroke: #5ff0d4;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M14.4 19.4a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0z";
|
|
fill: #5ff0d4;
|
|
}
|
|
}
|
|
|
|
if root.icon == "settings": Rectangle {
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M5 10h22M5 22h22";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M8.2 10a3.8 3.8 0 1 0 7.6 0a3.8 3.8 0 1 0-7.6 0zM16.2 22a3.8 3.8 0 1 0 7.6 0a3.8 3.8 0 1 0-7.6 0z";
|
|
fill: @linear-gradient(180deg, #ffffff 0%, #b9c4d4 100%);
|
|
}
|
|
}
|
|
}
|
|
|
|
// SmartFox brand mark: a geometric fox head.
|
|
export component FoxMark inherits Rectangle {
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M3 5l8 6h10l8-6-2.2 13.5L16 28 5.2 18.5z";
|
|
fill: @linear-gradient(150deg, #ffb14a 0%, #ff6a2b 55%, #ff3d6e 100%);
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M5.2 18.5L16 15l10.8 3.5L16 28z";
|
|
fill: #ffffff2e;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M14 21.5h4L16 24z";
|
|
fill: #1b0d08;
|
|
}
|
|
}
|
|
|
|
export component WifiIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M4.5 12.5a16.5 16.5 0 0 1 23 0M8.8 16.8a10.4 10.4 0 0 1 14.4 0M13 21a4.3 4.3 0 0 1 6 0";
|
|
stroke: root.ink;
|
|
stroke-width: 2.2px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M14.4 25.4a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0z";
|
|
fill: root.ink;
|
|
}
|
|
}
|
|
|
|
export component BluetoothIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M9.5 10.5l13 11-6.5 5.5V5l6.5 5.5-13 11";
|
|
stroke: root.ink;
|
|
stroke-width: 2.2px;
|
|
stroke-line-cap: round;
|
|
stroke-line-join: round;
|
|
}
|
|
}
|
|
|
|
export component PlayIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M9 5.5v21c0 1.2 1.3 1.9 2.3 1.3l16.5-10.5a1.5 1.5 0 0 0 0-2.6L11.3 4.2C10.3 3.6 9 4.3 9 5.5z";
|
|
fill: root.ink;
|
|
}
|
|
}
|
|
|
|
export component InfoIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M4 16a12 12 0 1 0 24 0a12 12 0 1 0-24 0zM16 14.5v8";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M14.4 10a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0z";
|
|
fill: root.ink;
|
|
}
|
|
}
|
|
|
|
export component DisplayIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M6.5 6h19a2.5 2.5 0 0 1 2.5 2.5v11a2.5 2.5 0 0 1-2.5 2.5h-19A2.5 2.5 0 0 1 4 19.5v-11A2.5 2.5 0 0 1 6.5 6zM11 27h10";
|
|
stroke: root.ink;
|
|
stroke-width: 2.2px;
|
|
stroke-line-cap: round;
|
|
stroke-line-join: round;
|
|
}
|
|
}
|
|
|
|
// Wi-Fi strength: `level` arcs (1-4) lit, the rest dimmed.
|
|
export component SignalIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
in property <int> level: 4;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M4.5 12.5a16.5 16.5 0 0 1 23 0";
|
|
stroke: root.level >= 4 ? root.ink : root.ink.transparentize(0.75);
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M8.8 16.8a10.4 10.4 0 0 1 14.4 0";
|
|
stroke: root.level >= 3 ? root.ink : root.ink.transparentize(0.75);
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M13 21a4.3 4.3 0 0 1 6 0";
|
|
stroke: root.level >= 2 ? root.ink : root.ink.transparentize(0.75);
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M14.4 25.4a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0z";
|
|
fill: root.ink;
|
|
}
|
|
}
|
|
|
|
export component LockIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M10.5 14.5v-3.5a5.5 5.5 0 0 1 11 0v3.5";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M9 14.5h14a2 2 0 0 1 2 2v8.5a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2v-8.5a2 2 0 0 1 2-2z";
|
|
fill: root.ink;
|
|
}
|
|
}
|
|
|
|
// Keyboard keys.
|
|
export component SpaceIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M5 13.5v5h22v-5";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
stroke-line-join: round;
|
|
}
|
|
}
|
|
|
|
export component DeleteIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M12.5 7.5h13a2.5 2.5 0 0 1 2.5 2.5v12a2.5 2.5 0 0 1-2.5 2.5h-13L4 16zM15.5 12.5l7 7M22.5 12.5l-7 7";
|
|
stroke: root.ink;
|
|
stroke-width: 2.2px;
|
|
stroke-line-cap: round;
|
|
stroke-line-join: round;
|
|
}
|
|
}
|
|
|
|
export component PowerIcon inherits Rectangle {
|
|
in property <color> ink: #ffffff;
|
|
Path {
|
|
width: 100%; height: 100%;
|
|
viewbox-width: 32; viewbox-height: 32;
|
|
commands: "M10.3 8.6a10.5 10.5 0 1 0 11.4 0M16 4.5v11";
|
|
stroke: root.ink;
|
|
stroke-width: 2.4px;
|
|
stroke-line-cap: round;
|
|
}
|
|
}
|