#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
Switch every icon rule on (#8274)
EthanHealy01646eb43716a6
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex 6bb6848ec4..292828c796 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -107,6 +107,9 @@ updates:- "i18next"- "i18next-*"- "react-i18next"+ lucide:+ patterns:+ - "lucide-static"stripe:patterns:- "@stripe/*"diff --git a/app/core/src/main/resources/static/css/home-legacy.css b/app/core/src/main/resources/static/css/home-legacy.cssdeleted file mode 100644index 3539edd1fa..0000000000--- a/app/core/src/main/resources/static/css/home-legacy.css+++ /dev/null@@ -1,229 +0,0 @@-#searchBar {- color: var(--md-sys-color-on-surface);- background-color: var(--md-sys-color-surface-container-low);- width: 100%;- font-size: 16px;- margin-bottom: 0.5rem;- padding: 0.75rem 3.5rem;- border: 1px solid var(--md-sys-color-outline-variant);- border-radius: 3rem;- outline-color: var(--md-sys-color-outline-variant);- }-- #filtersContainer {- display: flex;- width: 100%;- align-items: center;- justify-content: center;- gap: 10px;- }-- .filter-button {- color: var(--md-sys-color-secondary);- user-select: none;- cursor: pointer;- transition: transform 0.3s;- transform-origin: center center;- }-- .filter-button:hover {- transform: scale(1.08);- }-- .search-icon {- position: absolute;- margin: 0.75rem 1rem;- border: 0.1rem solid transparent;- }-- .features-container {- display: flex;- flex-direction: column;- gap: 30px;- }-- .feature-group-legacy {- display: flex;- flex-direction: column;- }-- .feature-group-header {- display: flex;- align-items: center;- justify-content: flex-start;- color: var(--md-sys-color-on-surface);- margin-bottom: 15px;- user-select: none;- cursor: pointer;- gap: 10px;- }-- .feature-group-container {- display: grid;- grid-template-columns: repeat(auto-fill, minmax(15rem, 3fr));- gap: 30px 30px;- overflow: hidden;- margin: -20px;- padding: 20px;- box-sizing:content-box;- }-- .feature-group-container.animated-group {- transition: 0.5s all;- }-- .feature-group-legacy.collapsed>.feature-group-container {- max-height: 0 !important;- margin: 0;- padding: 0;- }-- .header-expand-button {- transition: 0.5s all;- transform: rotate(90deg);- }-- .header-expand-button.collapsed {- transform: rotate(0deg);- }-- .feature-card {- border: 1px solid var(--md-sys-color-surface-5);- border-radius: 1.75rem;- padding: 1.25rem;- display: flex;- flex-direction: column;- align-items: flex-start;- background: var(--md-sys-color-surface-5);- transition:- transform 0.3s,- border 0.3s;- transform-origin: center center;- outline: 0px solid transparent;- position:relative;- }-- .feature-card a {- text-decoration: none;- color: var(--md-sys-color-on-surface);- display: flex;- flex-direction: column;- width: 100%;- height: 100%;- }-- .feature-card .card-text {- font-size: .875rem;- }-- .feature-card:hover {- cursor: pointer;- transform: scale(1.08);- box-shadow: var(--md-sys-elevation-2);- }-- .card-title.text-primary {- color: #000;- }-- .home-card-icon {- width: 3rem;- height: 3rem;- transform: translateY(-5px);- }-- .favorite-icon {- display: none !important;- position: absolute;- top: 10px;- right: 10px;- color: var(--md-sys-color-secondary);- }-- #tool-icon {- height: 100%;- }-- #tool-text {- margin: 0.0rem 0 0 1.25rem;- }-- .card-title {- margin-bottom: 1rem;- font-size: 1.1rem;- }-- /* Only show the favorite icons when the parent card is being hovered over */- .feature-card:hover .favorite-icon {- display: block !important;- }-- .favorite-icon img {- filter: brightness(0) invert(var(--md-theme-filter-color));- }-- .favorite-icon:hover .material-symbols-rounded {- transform: scale(1.2);- }-- .favorite-icon .material-symbols-rounded.fill{- color: #f5c000;- }-- .jumbotron {- padding: 3rem 3rem;- /* Reduce vertical padding */- }-- .lookatme {- opacity: 1;- position: relative;- display: inline-block;- }-- .lookatme::after {- color: #e33100;- text-shadow: 0 0 5px #e33100;- /* in the html, the data-lookatme-text attribute must */- /* contain the same text as the .lookatme element */- content: attr(data-lookatme-text);- padding: inherit;- position: absolute;- inset: 0 0 0 0;- z-index: 1;- /* 20 steps / 2 seconds = 10fps */- -webkit-animation: 2s infinite Pulse steps(20);- animation: 2s infinite Pulse steps(20);- }-- @keyframes Pulse {- from {- opacity: 0;- }-- 50% {- opacity: 1;- }-- to {- opacity: 0;- }- }-- .update-notice {- animation: scale 1s infinite alternate;- }-- @keyframes scale {- 0% {- transform: scale(0.96);- }-- 100% {- transform: scale(1);- }- }-- .hidden {- visibility: hidden;- }diff --git a/app/core/src/main/resources/static/css/usage.css b/app/core/src/main/resources/static/css/usage.cssdeleted file mode 100644index e4e7c1c327..0000000000--- a/app/core/src/main/resources/static/css/usage.css+++ /dev/null@@ -1,83 +0,0 @@-.active-user {- color: green;- text-shadow: 0 0 5px green;-}--.text-overflow {- max-width: 100px;- white-space: nowrap;- overflow: hidden;- text-overflow: ellipsis;-}--.chart-container {- position: relative;- height: 400px;- width: 100%;- margin-bottom: 20px;-}--.stats-box {- background: var(--md-sys-color-outline-variant);- padding: .8rem;- margin: 10px 0;- border-radius: 2rem;- text-align: center;-}--.chart-controls {- display: flex;- justify-content: center;- gap: 10px;- margin-bottom: 15px;- flex-wrap: wrap;-}--.filter-controls {- display: flex;- justify-content: center;- gap: 15px;- margin-top: 15px;- flex-wrap: wrap;-}--.filter-checkbox {- display: flex;- align-items: center;- cursor: pointer;- user-select: none;-}--.filter-checkbox input {- margin-right: 5px;-}--.loading {- position: absolute;- top: 0;- left: 0;- width: 100%;- height: 100%;- display: flex;- justify-content: center;- align-items: center;- z-index: 1000;-}--html[data-bs-theme="light"] .loading {- background-color: rgba(255, 255, 255, 0.7);-}--html[data-bs-theme="dark"] .loading {- background-color: rgba(15, 20, 26, 0.7);-}--/* Add some animation to the refresh button */-@keyframes spin {- 0% { transform: rotate(0deg); }- 100% { transform: rotate(360deg); }-}--.refreshing .material-symbols-rounded {- animation: spin 1s linear infinite;-}\ No newline at end of filediff --git a/app/proprietary/src/main/java/stirling/software/proprietary/classification/model/ClassificationLabel.java b/app/proprietary/src/main/java/stirling/software/proprietary/classification/model/ClassificationLabel.javaindex 6601cba7e5..c9206fc9b6 100644--- a/app/proprietary/src/main/java/stirling/software/proprietary/classification/model/ClassificationLabel.java+++ b/app/proprietary/src/main/java/stirling/software/proprietary/classification/model/ClassificationLabel.java@@ -4,6 +4,6 @@ package stirling.software.proprietary.classification.model;* One entry in the classification vocabulary. {@code id} is the label's stable identity (a slug,* unique within a set): it is what the engine returns and what is stored on the document. {@code* name} is the human display text the classifier model reasons over. {@code icon} is an optional- * presentational key (a Material Symbols name shown in the file sidebar); the engine never sees it.+ * presentational key (an icon registry name shown in the file sidebar); the engine never sees it.*/public record ClassificationLabel(String id, String name, String icon) {}diff --git a/frontend/editor/scripts/lint/icon-lint.mts b/frontend/editor/scripts/lint/icon-lint.mtsindex 208328dbf9..64cedd1193 100644--- a/frontend/editor/scripts/lint/icon-lint.mts+++ b/frontend/editor/scripts/lint/icon-lint.mts@@ -9,9 +9,6 @@ const EDITOR = path.join(import.meta.dirname, "..", "..");const SRC = path.join(EDITOR, "src");const ICONS_DIR = path.join(SRC, "core/icons");-// The four rules it gates only hold once every call site renders through <Icon>, so the last migration PR flips it.-const MIGRATION_COMPLETE = false;-const BANNED_IMPORTS = ["@mui/icons-material","@iconify/react",@@ -22,6 +19,7 @@ const BANNED_IMPORTS = [];const ICON_SVG_DIR = path.join(ICONS_DIR, "svg");+const REGISTRY = path.join(ICONS_DIR, "icons.ts");/** The frame every icon is drawn on, so one `size` renders them all alike. */const ICON_FRAME = "0 0 24 24";@@ -34,7 +32,29 @@ const SVG_ALLOWED = [path.join(SRC, "core/tests"),];-const OPT_OUT = /icon-lint-disable/;+/**+ * The only exceptions icon-lint grants, each lifting the inline-svg rule alone for an `<svg`+ * within ALLOW_REACH lines below it. Every other rule has none: a finding there is a bug in+ * the rule, so fix the rule.+ */+const ALLOWANCES: Record<string, { why: string; storiesOnly: boolean }> = {+ "runtime-generated-svg": {+ why: "geometry computed from props or state at runtime: rulers, rings, charts",+ storiesOnly: false,+ },+ "storybook-fixture": {+ why: "svg text built into a fake image for a story, never rendered by the app",+ storiesOnly: true,+ },+};+const ALLOW =+ /icon-lint-allow:\s*([a-z-]+)(?:\s+--\s+(\S.*?))?\s*(?:\*\/\}?)?$/;+const ALLOW_REACH = 6;++/** Inside `dir` itself, not merely a sibling that shares its prefix (`core/icons-old`). */+function isWithin(file: string, dir: string): boolean {+ return file === dir || file.startsWith(dir + path.sep);+}const mode = process.argv[2];const problems: string[] = [];@@ -126,13 +146,13 @@ for (const file of files) {const isCode = /\.tsx?$/.test(file);if (file.endsWith(".svg")) {- if (!SVG_ALLOWED.some((dir) => file.startsWith(dir))) {+ if (!SVG_ALLOWED.some((dir) => isWithin(file, dir))) {problems.push(`${rel(file)}: .svg outside src/core/icons/svg/. Icons belong there so ` +`icons.ts can map them; other artwork belongs under assets/.`,);}- if (file.startsWith(ICON_SVG_DIR)) {+ if (isWithin(file, ICON_SVG_DIR)) {const viewBox = fs.readFileSync(file, "utf8").match(/<svg\b[^>]*\bviewBox="([^"]*)"/)?.[1]@@ -153,15 +173,11 @@ for (const file of files) {}// A stylesheet fill beats <Icon>'s fill="none" attribute and solidifies every stroke icon in scope.- if (- MIGRATION_COMPLETE &&- file.endsWith(".css") &&- !file.startsWith(ICONS_DIR)- ) {+ if (file.endsWith(".css") && !isWithin(file, ICONS_DIR)) {const css = fs.readFileSync(file, "utf8");for (const m of css.matchAll(/([^{}]*svg[^{}]*)\{([^}]*)\}/g)) {const decl = /(^|[;\s])fill\s*:\s*(?!none|transparent)/.test(m[2]);- if (decl && !OPT_OUT.test(m[0])) {+ if (decl) {const line = css.slice(0, m.index).split("\n").length;problems.push(`${rel(file)}:${line}: sets fill on an svg. Icons are strokes with ` +@@ -176,47 +192,92 @@ for (const file of files) {if (!isCode) continue;const text = fs.readFileSync(file, "utf8");const lines = text.split("\n");- const inIconsDir = file.startsWith(ICONS_DIR);+ const inIconsDir = isWithin(file, ICONS_DIR);+ const isStory = /\.stories\.tsx?$/.test(file);+ const svgLines = new Set<number>();lines.forEach((line, i) => {- // No inline svg outside core/icons- if (MIGRATION_COMPLETE && /<svg[\s>]/.test(line) && !inIconsDir) {- const context = lines.slice(Math.max(0, i - 6), i + 1).join("\n");- if (!OPT_OUT.test(context)) {+ if (/<svg(?:[\s>]|$)/.test(line)) svgLines.add(i);+ });+ const allowed = new Set<number>();++ lines.forEach((line, i) => {+ if (/icon-lint-disable/.test(line)) {+ problems.push(+ `${rel(file)}:${i + 1}: icon-lint-disable is gone. Use "icon-lint-allow: <category> -- <reason>" ` ++ `with one of: ${Object.keys(ALLOWANCES).join(", ")}.`,+ );+ }+ if (!line.includes("icon-lint-allow")) return;+ const m = ALLOW.exec(line);+ const category = m?.[1];+ const allowance = category ? ALLOWANCES[category] : undefined;+ if (!m || !allowance) {+ problems.push(+ `${rel(file)}:${i + 1}: unknown icon-lint-allow. The categories are ` ++ Object.entries(ALLOWANCES)+ .map(([name, a]) => `${name} (${a.why})`)+ .join("; ") ++ ".",+ );+ } else if (!m[2]) {+ problems.push(+ `${rel(file)}:${i + 1}: icon-lint-allow: ${category} needs " -- <reason>".`,+ );+ } else if (allowance.storiesOnly && !isStory) {+ problems.push(+ `${rel(file)}:${i + 1}: icon-lint-allow: ${category} is only for .stories.tsx files.`,+ );+ } else {+ const covered = [...svgLines].filter(+ (n) => n > i && n <= i + ALLOW_REACH,+ );+ if (!covered.length) {problems.push(- `${rel(file)}:${i + 1}: inline <svg>. Move it to src/core/icons/svg/ and render ` +- `via <Icon>, or add "// icon-lint-disable -- <reason>" if the geometry is ` +- `computed at runtime.`,+ `${rel(file)}:${i + 1}: icon-lint-allow: ${category} has no <svg in the ${ALLOW_REACH} lines below it.`,);}+ for (const n of covered) allowed.add(n);+ }+ });++ lines.forEach((line, i) => {+ // No inline svg outside core/icons+ if (svgLines.has(i) && !inIconsDir && !allowed.has(i)) {+ problems.push(+ `${rel(file)}:${i + 1}: inline <svg>. Move it to src/core/icons/svg/ and render ` ++ `via <Icon>. If the geometry is computed at runtime, or it is svg text for a story's ` ++ `fake image, mark it "icon-lint-allow: <category> -- <reason>" with one of: ` ++ `${Object.keys(ALLOWANCES).join(", ")}.`,+ );}// Leftovers the type system cannot see: ReactNode admits any string, and an unchecked `?? fallback`.for (const m of line.matchAll(/"([a-z0-9]+(?:-[a-z0-9]+)+)"/g)) {- if (!MIGRATION_COMPLETE) break;const name = m[1];const isLegacy = /-(?:rounded|outlined|sharp|twotone)$/.test(name);if (!isLegacy || known.has(name)) continue;if (NOT_AN_ICON_POSITION.test(line.slice(0, m.index))) continue;- if (OPT_OUT.test(line)) continue;problems.push(`${rel(file)}:${i + 1}: "${name}" is a Material Symbols name, not a registry ` +- `icon; <Icon> would draw the placeholder. Use the lucide equivalent, or ` +- `add "// icon-lint-disable -- <reason>" if it is not an icon name.`,+ `icon; <Icon> would draw the placeholder. Use the lucide equivalent.`,+ );+ }++ // Only the registry turns an svg into a component: one made anywhere else skips the name+ // check, the frame and the gallery, which is how a second icon system starts. No opt-out.+ if (/\.svg\?react\b/.test(line) && file !== REGISTRY) {+ problems.push(+ `${rel(file)}:${i + 1}: imports an svg as a component. Add it to ` ++ `src/core/icons/icons.ts and render <Icon name="…" />, or import the file as a ` ++ `URL for an <img> if it is a picture rather than an icon.`,);}// No retired icon library- if (- MIGRATION_COMPLETE &&- (/^\s*(import|export)\b/.test(line) || /\brequire\(/.test(line))- ) {+ if (/^\s*(import|export)\b/.test(line) || /\brequire\(/.test(line)) {for (const banned of BANNED_IMPORTS) {- if (- line.includes(banned) &&- !inIconsDir &&- !OPT_OUT.test(lines[i - 1] ?? "")- ) {+ if (line.includes(banned) && !inIconsDir) {problems.push(`${rel(file)}:${i + 1}: imports ${banned}. Use <Icon name="…" /> from @app/ui/Icon.`,);@@ -262,8 +323,4 @@ if (problems.length) {process.exit(1);}-console.log(- MIGRATION_COMPLETE- ? `✅ icon-lint: ${known.size} icons, one system, no inline svg`- : `✅ icon-lint: ${known.size} icons; migration in progress, so the retired-library, inline-svg, legacy-name and css-fill rules are still off`,-);+console.log(`✅ icon-lint: ${known.size} icons, one system, no inline svg`);diff --git a/frontend/editor/src/core/assets/brand/branding-logo/logo-mark.svg b/frontend/editor/src/core/assets/brand/branding-logo/logo-mark.svgdeleted file mode 100644index de7d337f91..0000000000--- a/frontend/editor/src/core/assets/brand/branding-logo/logo-mark.svg+++ /dev/null@@ -1,4 +0,0 @@-<svg width="71" height="79" viewBox="0 0 71 79" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M0 39L46.5 0V35.5L0 74.5V39Z" fill="#AD7373"/>-<path d="M24 43L70.5 4V39.5L24 78.5V43Z" fill="#8E3131"/>-</svg>diff --git a/frontend/editor/src/core/assets/login/apple.svg b/frontend/editor/src/core/assets/login/apple.svgdeleted file mode 100644index b947f4b6bc..0000000000--- a/frontend/editor/src/core/assets/login/apple.svg+++ /dev/null@@ -1,3 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">- <path d="M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"/>-</svg>diff --git a/frontend/editor/src/core/assets/login/authentik.svg b/frontend/editor/src/core/assets/login/authentik.svgdeleted file mode 100644index 4ed18d49b4..0000000000--- a/frontend/editor/src/core/assets/login/authentik.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="300" height="230" version="1.1"><path fill="#FD4A2C" d="M0 0 C1.31903824 -0.0071553 2.63807648 -0.01431061 3.99708557 -0.02168274 C5.457443 -0.02452288 6.91780069 -0.02723462 8.37815857 -0.02983093 C9.91753288 -0.03609819 11.45690569 -0.04274523 12.99627686 -0.04974365 C18.05121309 -0.07076093 23.10614953 -0.08114609 28.16111755 -0.09111023 C29.9042964 -0.09515911 31.64747509 -0.09927607 33.39065361 -0.10346031 C41.5839072 -0.12250942 49.77715181 -0.13673921 57.97042328 -0.14507228 C67.41159376 -0.1548342 76.85252914 -0.18112751 86.29361683 -0.22157317 C93.60081727 -0.25179687 100.90795058 -0.2665472 108.21521229 -0.26985329 C112.57457636 -0.27219728 116.9336892 -0.28107194 121.29298592 -0.30631447 C125.39953639 -0.32970901 129.50567225 -0.33378312 133.61227226 -0.32355309 C135.11218526 -0.32306031 136.61211945 -0.32930375 138.11196899 -0.34310913 C152.84247827 -0.47101164 163.97724403 3.01349139 174.8212738 13.24873352 C182.88515893 21.79584771 187.82015779 31.98003153 187.86886597 43.86180115 C187.87884109 45.17365891 187.88881622 46.48551666 187.89909363 47.83712769 C187.89998926 49.27397144 187.90065292 50.71081534 187.90110779 52.1476593 C187.90873693 53.67438153 187.91716572 55.20109994 187.92633057 56.72781372 C187.94821238 60.86244525 187.95706633 64.99700285 187.96215701 69.13168573 C187.96580911 71.7203613 187.97205369 74.30901776 187.9791584 76.897686 C188.00363429 85.94472345 188.01670005 94.99170374 188.02024841 104.03877258 C188.0238787 112.4452023 188.05374235 120.85126581 188.095653 129.25758374 C188.13046003 136.49524804 188.14579867 143.73279163 188.14649445 150.97053897 C188.14728394 155.28413849 188.1558702 159.59736489 188.18449211 163.91087723 C188.21085103 167.97406106 188.21278 172.0365672 188.19683647 176.0997982 C188.19503583 177.58113661 188.20158585 179.06251559 188.21765518 180.54376793 C188.36450998 194.97434252 184.85316963 206.66730712 174.5947113 217.14717102 C165.79646466 225.14557706 156.08057815 230.43905796 144.0087738 230.34248352 C142.72438416 230.3374884 141.43999451 230.33249329 140.11668396 230.3273468 C138.50068298 230.30913879 136.88468201 230.29093079 135.2197113 230.27217102 C130.0634613 230.23092102 124.9072113 230.18967102 119.5947113 230.14717102 C119.5947113 215.29717102 119.5947113 200.44717102 119.5947113 185.14717102 C88.5747113 185.14717102 57.5547113 185.14717102 25.5947113 185.14717102 C25.5947113 199.99717102 25.5947113 214.84717102 25.5947113 230.14717102 C20.7065863 230.22967102 15.8184613 230.31217102 10.7822113 230.39717102 C9.26393738 230.43358704 7.74566345 230.47000305 6.18138123 230.50752258 C-5.50898103 230.60237339 -14.889398 228.09279021 -24.4052887 221.14717102 C-25.06142151 220.6908429 -25.71755432 220.23451477 -26.39356995 219.76435852 C-35.6417653 212.61720949 -41.52201418 200.44681809 -43.4052887 189.14717102 C-43.0752887 172.64717102 -42.7452887 156.14717102 -42.4052887 139.14717102 C7.4247113 139.14717102 57.2547113 139.14717102 108.5947113 139.14717102 C108.2647113 113.07717102 107.9347113 87.00717102 107.5947113 60.14717102 C102.3147113 60.14717102 97.0347113 60.14717102 91.5947113 60.14717102 C91.4090863 62.59123352 91.4090863 62.59123352 91.2197113 65.08467102 C91.0087738 67.86201477 91.0087738 67.86201477 90.5947113 70.14717102 C87.97156099 71.45874618 86.36437695 71.0436709 83.4697113 70.70967102 C82.55963318 70.60783508 81.64955505 70.50599915 80.7118988 70.40107727 C79.66389099 70.27539368 79.66389099 70.27539368 78.5947113 70.14717102 C77.92804464 66.81383769 77.26137797 63.48050435 76.5947113 60.14717102 C72.3047113 60.14717102 68.0147113 60.14717102 63.5947113 60.14717102 C63.2647113 66.08717102 62.9347113 72.02717102 62.5947113 78.14717102 C58.6347113 78.14717102 54.6747113 78.14717102 50.5947113 78.14717102 C50.5947113 71.87717102 50.5947113 65.60717102 50.5947113 59.14717102 C47.6247113 59.64217102 47.6247113 59.64217102 44.5947113 60.14717102 C39.02328273 60.36145673 39.02328273 60.36145673 36.5947113 59.14717102 C36.5947113 74.32717102 36.5947113 89.50717102 36.5947113 105.14717102 C11.8447113 105.47717102 -12.9052887 105.80717102 -38.4052887 106.14717102 C-36.7552887 109.44717102 -35.1052887 112.74717102 -33.4052887 116.14717102 C-32.23385964 123.93483139 -37.28666971 130.77501339 -41.6552887 136.89961243 C-50.19263554 148.19063476 -59.91392466 156.85995926 -74.4052887 159.14717102 C-80.88854532 158.9467374 -86.88378649 157.62811807 -92.4052887 154.14717102 C-93.17485901 153.69728821 -93.94442932 153.2474054 -94.73731995 152.78388977 C-103.86805755 147.04808909 -109.56723535 138.52333432 -112.4052887 128.14717102 C-112.8723603 124.88590617 -112.97726751 121.68916403 -112.9677887 118.39717102 C-112.9653717 117.51972229 -112.96295471 116.64227356 -112.96046448 115.73823547 C-112.65422767 104.8768365 -108.0027269 96.74460922 -100.4052887 89.14717102 C-99.7452887 89.14717102 -99.0852887 89.14717102 -98.4052887 89.14717102 C-98.4052887 88.48717102 -98.4052887 87.82717102 -98.4052887 87.14717102 C-96.32399765 86.16367077 -94.2401751 85.18552644 -92.1552887 84.20967102 C-90.99513245 83.66439758 -89.8349762 83.11912415 -88.6396637 82.55732727 C-81.50461728 79.44651597 -73.41946171 78.81361437 -65.8349762 80.83076477 C-57.72956403 84.23390821 -47.43007285 91.09760271 -43.4052887 99.14717102 C-43.40972992 98.49730225 -43.41417114 97.84743347 -43.41874695 97.1778717 C-43.46327723 90.36362424 -43.49327744 83.54941867 -43.51515198 76.73506165 C-43.52515846 74.19793517 -43.53876781 71.66082007 -43.5561676 69.12373352 C-43.58065249 65.4596423 -43.5918257 61.79570464 -43.6006012 58.13154602 C-43.61608505 56.45267303 -43.61608505 56.45267303 -43.63188171 54.73988342 C-43.63410813 38.81921683 -40.45768984 24.97343548 -29.44044495 13.01435852 C-21.16029185 5.13848053 -11.47412704 0.04274377 0 0 Z M-91.67481995 103.06123352 C-95.82753716 108.06699197 -98.20306218 114.54098751 -97.7802887 121.08076477 C-96.40229746 128.67407064 -93.51648925 134.04027941 -87.4052887 138.80342102 C-82.34135894 142.20574882 -77.91601901 142.59060055 -71.98731995 141.79951477 C-63.04973823 139.54145706 -57.43450233 132.43487412 -52.4052887 125.14717102 C-51.9515387 124.5258429 -51.4977887 123.90451477 -51.0302887 123.26435852 C-49.79068763 121.40487039 -49.79068763 121.40487039 -49.4052887 118.14717102 C-50.947176 114.76439926 -53.06912635 112.02038218 -55.4052887 109.14717102 C-56.1477887 108.13654602 -56.8902887 107.12592102 -57.6552887 106.08467102 C-58.2327887 105.44529602 -58.8102887 104.80592102 -59.4052887 104.14717102 C-60.0652887 104.14717102 -60.7252887 104.14717102 -61.4052887 104.14717102 C-61.6115387 103.56967102 -61.8177887 102.99217102 -62.0302887 102.39717102 C-64.57009959 98.24111683 -68.12585168 96.50927584 -72.7177887 95.20967102 C-80.35763288 95.08018214 -86.15491527 97.83880873 -91.67481995 103.06123352 Z" transform="translate(112.40528869628906,-0.1471710205078125)"/><path fill="#FD4A2C" transform="translate(0,0)"/></svg>\ No newline at end of filediff --git a/frontend/editor/src/core/assets/login/github.svg b/frontend/editor/src/core/assets/login/github.svgdeleted file mode 100644index 41c82d53fe..0000000000--- a/frontend/editor/src/core/assets/login/github.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="37" height="36" fill="none" viewBox="0 0 37 36"><path fill="currentColor" d="M18.5 3.3125C16.5712 3.3125 14.6613 3.6924 12.8793 4.43052C11.0974 5.16864 9.47823 6.25051 8.11437 7.61437C5.35993 10.3688 3.8125 14.1046 3.8125 18C3.8125 24.4919 8.02781 29.9997 13.8588 31.9531C14.5931 32.0706 14.8281 31.6153 14.8281 31.2187V28.7366C10.7597 29.6178 9.89312 26.7684 9.89312 26.7684C9.2175 25.0647 8.26281 24.6094 8.26281 24.6094C6.92625 23.6987 8.36562 23.7281 8.36562 23.7281C9.83437 23.8309 10.6128 25.2409 10.6128 25.2409C11.8906 27.4734 14.0497 26.8125 14.8869 26.46C15.0191 25.5053 15.4009 24.8591 15.8122 24.4919C12.5516 24.1247 9.12937 22.8616 9.12937 17.2656C9.12937 15.6353 9.6875 14.3281 10.6422 13.2853C10.4953 12.9181 9.98125 11.3906 10.7891 9.40781C10.7891 9.40781 12.0228 9.01125 14.8281 10.9059C15.9884 10.5828 17.2516 10.4212 18.5 10.4212C19.7484 10.4212 21.0116 10.5828 22.1719 10.9059C24.9772 9.01125 26.2109 9.40781 26.2109 9.40781C27.0188 11.3906 26.5047 12.9181 26.3578 13.2853C27.3125 14.3281 27.8706 15.6353 27.8706 17.2656C27.8706 22.8762 24.4338 24.11 21.1584 24.4772C21.6872 24.9325 22.1719 25.8284 22.1719 27.1944V31.2187C22.1719 31.6153 22.4069 32.0853 23.1559 31.9531C28.9869 29.985 33.1875 24.4919 33.1875 18C33.1875 16.0712 32.8076 14.1613 32.0695 12.3793C31.3314 10.5974 30.2495 8.97823 28.8856 7.61437C27.5218 6.25051 25.9026 5.16864 24.1207 4.43052C22.3387 3.6924 20.4288 3.3125 18.5 3.3125Z"/></svg>\ No newline at end of filediff --git a/frontend/editor/src/core/assets/login/keycloak.svg b/frontend/editor/src/core/assets/login/keycloak.svgdeleted file mode 100644index 30628c7b2d..0000000000--- a/frontend/editor/src/core/assets/login/keycloak.svg+++ /dev/null@@ -1 +0,0 @@-<svg viewBox="0 0 44.39828 40.248" xmlns="http://www.w3.org/2000/svg" style="max-height: 500px" width="300" height="300"><path d="M5.795 9.869 11.511.003 34.53 0l5.685 9.964.007 19.932-5.691 9.958-23.012.008-5.782-9.965z" fill="#4d4d4d"/><path d="M5.738 29.894h10.374l-5.698-10.041 4.634-9.982-9.252-.002L0 19.934" fill="#ededed"/><path d="M19.258 29.894h7.583l6.705-9.773-6.588-10.156h-8.92l-5.373 9.814z" fill="#e0e0e0"/><path d="m0 19.933 5.738 9.964h10.375l-5.636-9.93z" fill="#acacac"/><path d="m12.774 19.935 6.485 9.962h7.582l6.6-9.958z" fill="#9e9e9e"/><path d="m15.342 19.94-1.957.57-1.878-.571 7.667-13.29 1.918 3.318" fill="#00b8e3"/><path d="m21.084 29.894-1.908 3.332-5.093-5.487-2.58-7.797v-.004h3.838" fill="#33c6e9"/><path d="M11.508 19.939h-.004v.003l-1.917 3.322-1.925-3.307 1.952-3.386 5.728-9.92h3.834" fill="#008aaa"/><path d="M32.604 29.894h11.612l-.007-19.93H32.604Z" fill="#d4d4d4"/><path d="M32.604 19.966v9.93h11.591v-9.93z" fill="#919191"/><path d="M19.178 33.23h-3.837l-5.754-9.967 1.917-3.32z" fill="#00b8e3"/><path d="M34.519 19.939 26.85 33.227c-.705-1.036-1.913-3.33-1.913-3.33l5.753-9.96z" fill="#008aaa"/><path d="m30.68 33.227-3.83-.001 7.67-13.288 1.916-3.318 1.922 3.34m-3.839-.021h-3.828l-5.755-9.973 1.905-3.314 4.658 5.922z" fill="#00b8e3"/><path d="M36.436 16.618v.003l-1.917 3.318-7.677-13.286 3.841.002z" fill="#33c6e9"/><path d="M175.972 9.98a.193.193 0 0 0-.195.196v19.503c0 .106.086.195.195.195h4.049c.106 0 .195-.09.195-.195V24.31c0-.046.016-.093.05-.13l.181-.204 1.6-1.782a.196.196 0 0 1 .302.016l1.528 2.06 2.735 3.68 1.002 1.347.367.497c.04.05.096.08.159.08h4.7a.2.2 0 0 0 .162-.312l-.973-1.356-1.389-1.954c-.413-.576-.856-1.198-1.333-1.866l-.215-.304-1.76-2.48a1565.7 1565.7 0 0 0-1.934-2.706.19.19 0 0 1 .016-.241l1.551-1.724 3.725-4.14 2.239-2.487a.218.218 0 0 0 .05-.123.195.195 0 0 0-.196-.201h-4.97a.195.195 0 0 0-.143.062l-1.558 1.694-3.324 3.614-2.235 2.428a.194.194 0 0 1-.338-.132v-7.471a.195.195 0 0 0-.195-.195Z" fill="#626262"/><path d="M161.562 9.98a.198.198 0 0 0-.178.12l-5.213 12.065-.003.003-.007.013-.003.01-.674 1.565-.04.096-.087.195h.001l-.073.166v.003l-2.027 4.693-.298.69a.196.196 0 0 0 .178.275h4.3a.196.196 0 0 0 .175-.112c0-.004.004-.004.004-.007l1.498-3.485.248-.576a.199.199 0 0 1 .182-.12h8.08a.19.19 0 0 1 .178.12l1.664 3.866 1.865-6.618-1.499-3.47-1.339-3.098-2.712-6.273a.191.191 0 0 0-.179-.12h-2.526zm7.905 19.58v.003l.086.192c.03.073.099.12.178.12h4.3a.197.197 0 0 0 .179-.276l-.04-.09-2.838-6.567zm-5.87-13.362c.074 0 .147.04.181.117l.943 2.2.952 2.225.285.664a.194.194 0 0 1-.179.272h-4.389a.194.194 0 0 1-.178-.272l.516-1.19 1.69-3.9a.195.195 0 0 1 .18-.116z" fill="#6f6f6f"/><path d="M143.452 9.524c-.826 0-1.617.076-2.368.235v.004-.004h-.003a9.78 9.78 0 0 0-3.556 1.488 10.59 10.59 0 0 0-1.497 1.224c-1.486 1.453-2.428 3.197-2.815 5.176l-.002.003-.014.076-.005.023-.042.225v-.001l-.003.012v.006l-.01.085v.009a11.29 11.29 0 0 0-.126 1.715c0 2.63.816 4.872 2.45 6.727.175.206.367.404.565.599.506.496 1.043.93 1.608 1.3 1.68 1.098 3.619 1.647 5.818 1.647.245 0 .486-.006.724-.023 2.13-.12 4.001-.784 5.615-1.991a10.44 10.44 0 0 0 1.089-.933l.01-.01a9.983 9.983 0 0 0 1.922-2.583c.148-.288.28-.582.396-.887.46-1.174.688-2.457.688-3.845 0-.374-.016-.742-.05-1.1v-.006a9.841 9.841 0 0 0-.783-3.1c-.5-1.15-1.227-2.191-2.183-3.124-.397-.39-.814-.74-1.25-1.052-1.76-1.263-3.817-1.895-6.178-1.895zm.017 3.873c1.66 0 3.059.625 4.197 1.875.062.067.122.136.175.205 1.022 1.214 1.531 2.66 1.531 4.336 0 1.17-.248 2.223-.744 3.162a6.456 6.456 0 0 1-1.138 1.545 5.658 5.658 0 0 1-1.382 1.048c-.79.423-1.67.635-2.64.635a5.57 5.57 0 0 1-2.56-.592 5.46 5.46 0 0 1-1.12-.77 5.668 5.668 0 0 1-.516-.503c-1.14-1.243-1.71-2.751-1.71-4.524 0-.053 0-.103.003-.156.03-1.707.599-3.168 1.707-4.386.83-.912 1.802-1.495 2.913-1.74a6.03 6.03 0 0 1 1.284-.135z" fill="#7d7d7d"/><path d="M120.252 9.98a.193.193 0 0 0-.195.196v19.503c0 .106.086.195.195.195h12.528c.11 0 .196-.09.196-.195v-3.57a.195.195 0 0 0-.196-.194h-8.09a.192.192 0 0 1-.194-.191V10.176a.19.19 0 0 0-.113-.176.174.174 0 0 0-.083-.02h-2.242z" fill="#888"/><path d="M109.792 9.525c-2.923 0-5.394.989-7.415 2.96-.367.36-.7.738-1.002 1.13v.004c-1.352 1.756-2.027 3.84-2.027 6.25 0 1.377.215 2.64.649 3.794l.006-.002-.005.003c.254.695.592 1.336.999 1.948v.003c.003 0 .003.003.003.003a9.828 9.828 0 0 0 1.323 1.58 10.01 10.01 0 0 0 1.984 1.512h.003a9.831 9.831 0 0 0 .953.484h.007l.003.003h.003c1.37.602 2.907.903 4.617.903.503 0 .996-.037 1.475-.106h.01c.308-.043.612-.102.913-.175 1.683-.404 3.225-1.257 4.63-2.557v-.002l.001.002c.281-.258.559-.54.83-.837a.199.199 0 0 0-.007-.27l-2.566-2.643a.19.19 0 0 0-.172-.057.212.212 0 0 0-.116.07c-.685.81-1.465 1.419-2.338 1.822-.867.4-1.826.6-2.874.6-.718 0-1.39-.113-2.011-.341a5.641 5.641 0 0 1-2.057-1.34 5.433 5.433 0 0 1-1.3-2.066h-.007l.007-.001c-.255-.715-.38-1.508-.38-2.385 0-1.723.512-3.118 1.544-4.183.076-.076.152-.153.235-.23 1.184-1.09 2.612-1.636 4.283-1.636.611 0 1.197.076 1.75.229v-.001c1.27.344 2.384 1.085 3.343 2.216.076.09.215.096.29.007l2.498-2.832a.201.201 0 0 0-.003-.264c-1.955-2.147-4.323-3.334-7.1-3.556-.322-.025-.646-.04-.977-.04z" fill="#949494"/><path d="M82.588 9.98a.195.195 0 0 0-.17.29l1.892 3.309 3.423 5.983 1.38 2.41a.2.2 0 0 1 .026.097v7.61c0 .106.086.195.195.195h4.049c.109 0 .194-.09.194-.195v-7.61c0-.033.01-.066.027-.096l.976-1.706 3.704-6.476.757-1.32.503-.88h-.007l.007-.003.754-1.316a.194.194 0 0 0-.168-.29h-4.363a.196.196 0 0 0-.168.095l-3.953 6.803-.003.003v.003l-.212.156-.159.122a.203.203 0 0 1-.082-.076l-.067-.112-.099-.17-3.905-6.73a.196.196 0 0 0-.169-.095zm15.537 2.04v.002l-.004.002z" fill="#aaa"/><path d="M66.598 9.98a.193.193 0 0 0-.196.196v19.503c0 .106.086.195.195.195h14.264c.11 0 .196-.09.196-.195v-3.54a.196.196 0 0 0-.196-.194h-9.825a.195.195 0 0 1-.196-.195v-3.737c0-.106.09-.196.196-.196h8.519a.195.195 0 0 0 .195-.194v-3.394c0-.11-.09-.195-.195-.195h-8.52a.196.196 0 0 1-.195-.195V14.13c0-.11.09-.195.196-.195h9.515a.195.195 0 0 0 .195-.195v-3.565a.195.195 0 0 0-.195-.195h-7.829z" fill="#bcbcbc"/><path d="M47.256 9.98a.193.193 0 0 0-.195.196v19.503c0 .106.086.195.195.195h4.048c.11 0 .196-.09.196-.195V24.31c0-.046.016-.093.05-.13l.842-.942.94-1.044a.196.196 0 0 1 .3.016l2.808 3.777.002.002 2.016 2.713.81 1.09a.19.19 0 0 0 .156.08h4.703a.197.197 0 0 0 .158-.31l-.171-.241a693.927 693.927 0 0 1-1.846-2.587c-.566-.79-1.194-1.673-1.888-2.652l-.07-.1v.002-.002a1569.226 1569.226 0 0 0-3.628-5.086.195.195 0 0 1 .017-.241l1.772-1.968h-.006l.006-.001v-.003l1.459-1.62 1.402-1.558 2.88-3.202a.194.194 0 0 0-.145-.324H59.1a.196.196 0 0 0-.146.063l-3.079 3.345-4.038 4.39a.194.194 0 0 1-.338-.132V10.17a.193.193 0 0 0-.195-.192h-2.11zm.091 9.823v.01h-.001zm12.27 8.34v.002h-.001z" fill="#b8b8b8"/><path d="M89.222 29.806c-.024-.025-.045-1.79-.045-3.92V22.01l-3.38-5.904c-1.996-3.487-3.364-5.945-3.342-6.003.032-.084.357-.098 2.278-.098 2.052 0 2.25.01 2.342.115.055.064.986 1.649 2.069 3.523 1.082 1.873 2.003 3.443 2.045 3.488.194.21.46-.181 2.48-3.662l2.01-3.465h2.275c1.894 0 2.28.016 2.31.094.02.05-1.477 2.737-3.326 5.969l-3.362 5.876-.066 7.872-2.121.018c-1.167.01-2.142-.003-2.167-.028z" fill="#a0a0a0"/><path d="M66.456 29.767c-.017-.045-.023-4.503-.014-9.905l.017-9.823h14.22v3.837l-4.855.017c-3.453.012-4.88.038-4.944.09-.13.109-.13 3.91 0 4.018.063.052 1.362.079 4.448.09l4.36.018v3.638l-4.36.017c-3.086.012-4.385.039-4.448.09-.07.06-.089.465-.089 1.98 0 1.047.018 1.95.04 2.009.036.094.538.104 4.999.104 3.29 0 5 .023 5.086.069.122.065.128.156.128 1.872 0 1.314-.022 1.825-.08 1.883-.118.118-14.463.115-14.508-.003z" fill="#acacac"/></svg>diff --git a/frontend/editor/src/core/assets/login/microsoft.svg b/frontend/editor/src/core/assets/login/microsoft.svgdeleted file mode 100644index 691300857f..0000000000--- a/frontend/editor/src/core/assets/login/microsoft.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 23 23"><path fill="#F25022" d="M0 0h10.5v10.5H0V0z"/><path fill="#7FBA00" d="M12.5 0H23v10.5H12.5V0z"/><path fill="#00A4EF" d="M0 12.5h10.5V23H0V12.5z"/><path fill="#FFB900" d="M12.5 12.5H23V23H12.5V12.5z"/></svg>\ No newline at end of filediff --git a/frontend/editor/src/core/auth/ui/ProviderMark.tsx b/frontend/editor/src/core/auth/ui/ProviderMark.tsxindex 34a12a7888..c2e14fc36d 100644--- a/frontend/editor/src/core/auth/ui/ProviderMark.tsx+++ b/frontend/editor/src/core/auth/ui/ProviderMark.tsx@@ -1,23 +1,35 @@import type { CSSProperties } from "react";import { Icon } from "@app/ui/Icon";-import { oauthIconUrl, hasProviderArtwork } from "@app/auth/ui/oauthIcons";+import { oauthIconName } from "@app/auth/ui/oauthIcons";interface ProviderMarkProps {/** Provider icon filename, e.g. "google.svg". */file: string;+ /** Accessible name; without one the mark is decorative. */+ label?: string;className?: string;style?: CSSProperties;}/** A sign-in provider's mark: its own artwork where we have it, a neutral glyph otherwise. */-export function ProviderMark({ file, className, style }: ProviderMarkProps) {- if (!hasProviderArtwork(file)) {+export function ProviderMark({+ file,+ label,+ className,+ style,+}: ProviderMarkProps) {+ const name = oauthIconName(file);+ if (!name) {return (- <Icon name="shield-user" className={className} style={style} size="1em" />+ <Icon+ name="shield-user"+ className={className}+ style={style}+ size="1em"+ title={label}+ />);}- return (- <img src={oauthIconUrl(file)} alt="" className={className} style={style} />- );+ return <Icon name={name} className={className} style={style} title={label} />;}diff --git a/frontend/editor/src/core/auth/ui/oauthIcons.ts b/frontend/editor/src/core/auth/ui/oauthIcons.tsindex c4b1fb2d7e..42f7f6c5da 100644--- a/frontend/editor/src/core/auth/ui/oauthIcons.ts+++ b/frontend/editor/src/core/auth/ui/oauthIcons.ts@@ -1,38 +1,25 @@/**- * Bundled OAuth provider icons: the single source for provider brand SVGs.- *- * Importing them as modules (rather than referencing /Login/*.svg under a- * build-time BASE_PATH) lets every consumer (the shared OAuthButtons, the- * editor's saas/desktop login buttons, and the config provider list) share one- * copy that works in both the editor and the portal bundles.+ * Sign-in provider marks, keyed by the icon filename a provider config names+ * (e.g. "google.svg"). The marks themselves are brand icons in the registry,+ * so every consumer renders them through <Icon> and they work in both the+ * editor and the portal bundles.*/-import googleIcon from "@app/assets/login/google.svg";-import githubIcon from "@app/assets/login/github.svg";-import appleIcon from "@app/assets/login/apple.svg";-import microsoftIcon from "@app/assets/login/microsoft.svg";-import keycloakIcon from "@app/assets/login/keycloak.svg";-import cloudronIcon from "@app/assets/login/cloudron.svg";-import authentikIcon from "@app/assets/login/authentik.svg";+import type { IconName } from "@app/ui/Icon";/** Filename used for a provider with no bundled artwork. */export const GENERIC_PROVIDER_ICON = "oidc.svg";-const ICON_BY_FILE: Record<string, string> = {- "google.svg": googleIcon,- "github.svg": githubIcon,- "apple.svg": appleIcon,- "microsoft.svg": microsoftIcon,- "keycloak.svg": keycloakIcon,- "cloudron.svg": cloudronIcon,- "authentik.svg": authentikIcon,+const ICON_BY_FILE: Record<string, IconName> = {+ "google.svg": "google",+ "github.svg": "github",+ "apple.svg": "apple",+ "microsoft.svg": "microsoft",+ "keycloak.svg": "keycloak",+ "cloudron.svg": "cloudron",+ "authentik.svg": "authentik",};-/** Whether a bundled mark exists for this filename. */-export function hasProviderArtwork(file: string): boolean {- return Object.hasOwn(ICON_BY_FILE, file);-}--/** Resolve a provider icon filename (e.g. "google.svg") to its bundled URL. */-export function oauthIconUrl(file: string): string {- return ICON_BY_FILE[file] ?? "";+/** The registry mark for a provider icon filename, or null when none is bundled. */+export function oauthIconName(file: string): IconName | null {+ return Object.hasOwn(ICON_BY_FILE, file) ? ICON_BY_FILE[file] : null;}diff --git a/frontend/editor/src/core/components/filesPage/FolderThumbnail.tsx b/frontend/editor/src/core/components/filesPage/FolderThumbnail.tsxindex 928a75eb3c..fda97df486 100644--- a/frontend/editor/src/core/components/filesPage/FolderThumbnail.tsx+++ b/frontend/editor/src/core/components/filesPage/FolderThumbnail.tsx@@ -51,6 +51,7 @@ export function FolderThumbnail({}}aria-hidden="true">+ {/* icon-lint-allow: runtime-generated-svg -- folder art filled from the folder's colours at runtime */}<svgviewBox="0 0 100 80"preserveAspectRatio="xMidYMid meet"diff --git a/frontend/editor/src/core/components/notifications/NotificationBell.tsx b/frontend/editor/src/core/components/notifications/NotificationBell.tsxindex 06ee62e5c7..aa02182e01 100644--- a/frontend/editor/src/core/components/notifications/NotificationBell.tsx+++ b/frontend/editor/src/core/components/notifications/NotificationBell.tsx@@ -1,6 +1,7 @@import { useLayoutEffect, useRef, useState } from "react";import { useTranslation } from "react-i18next";-import { BellIcon, Button } from "@app/ui";+import { Button } from "@app/ui";+import { Icon } from "@app/ui/Icon";import { useNotifications } from "@app/hooks/useNotifications";import { useNotificationActions } from "@app/components/notifications/notificationActions";import { NotificationPanel } from "@app/components/notifications/NotificationPanel";@@ -61,7 +62,7 @@ function MountedNotificationBell() {aria-expanded={open}onClick={() => setOpen((wasOpen) => !wasOpen)}>- <BellIcon />+ <Icon name="bell" size={18} />{unreadCount > 0 && (<span className="notification-bell__badge" aria-hidden>{unreadCount > 9 ? "9+" : unreadCount}diff --git a/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsx b/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsxindex 81a51b5335..46e01f6aa8 100644--- a/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsx+++ b/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsx@@ -16,18 +16,8 @@ interface DesktopInstallTitleProps {onDownloadUrlChange?: (url: string) => void;}-/** Brand marks (simple-icons paths) so each option shows its real OS logo. */-const OS_ICON_PATHS: Record<string, string> = {- apple:- "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",- windows:- "M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801",- linux:- "M14.62 8.35c-.18.11-.4.28-.66.35-.24.08-.5.16-.72.16-.4 0-.72-.13-.98-.28-.16-.09-.29-.19-.4-.28l-.08-.06a.29.29 0 0 0-.34.02.28.28 0 0 0-.05.4c.02.02.16.16.4.3.24.16.6.32 1.05.32.34 0 .66-.08.94-.18.28-.1.5-.22.68-.34.42-.28.68-.6.68-.6a.28.28 0 0 0-.06-.4.29.29 0 0 0-.4.06s-.2.26-.53.45zM9.36 6.6c.35 0 .63.32.63.72s-.28.72-.63.72c-.35 0-.63-.32-.63-.72s.28-.72.63-.72zm5.3 0c.35 0 .63.32.63.72s-.28.72-.63.72c-.35 0-.63-.32-.63-.72s.28-.72.63-.72zM12 0C6.9 0 4.28 3.98 4.34 7.66c.06 3.68-.9 4.98-1.72 6.28C1.8 15.24.9 16.4.9 18.1c0 .96.4 1.6 1 2 .6.4 1.36.5 2.1.6.74.1 1.46.2 2 .5.54.3.9.8 1.7.9.4.06.86 0 1.3-.2.44-.2.86-.54 1.16-1.06h1.68c.3.52.72.86 1.16 1.06.44.2.9.26 1.3.2.8-.1 1.16-.6 1.7-.9.54-.3 1.26-.4 2-.5.74-.1 1.5-.2 2.1-.6.6-.4 1-1.04 1-2 0-1.7-.9-2.86-1.72-4.16-.82-1.3-1.78-2.6-1.72-6.28C19.72 3.98 17.1 0 12 0z",-};-/** Map an OS option to its brand-icon key from its value/label. */-function osIconKey(option: OSOption): string | null {+function osIconKey(option: OSOption): OsIconName | null {const text = `${option.value} ${option.label}`.toLowerCase();if (/(mac|apple|osx|darwin)/.test(text)) return "apple";if (/win/.test(text)) return "windows";@@ -35,20 +25,10 @@ function osIconKey(option: OSOption): string | null {return null;}-function OsIcon({ os }: { os: string }) {- const d = OS_ICON_PATHS[os];- if (!d) return null;- return (- <svg- width={16}- height={16}- viewBox="0 0 24 24"- fill="currentColor"- aria-hidden="true"- >- <path d={d} />- </svg>- );+type OsIconName = "apple" | "windows" | "linux";++function OsIcon({ os }: { os: OsIconName }) {+ return <Icon name={os} size={16} />;}export const DesktopInstallTitle: React.FC<DesktopInstallTitleProps> = ({diff --git a/frontend/editor/src/core/components/shared/BrandMark.tsx b/frontend/editor/src/core/components/shared/BrandMark.tsxindex f140eddf7f..b87c56d993 100644--- a/frontend/editor/src/core/components/shared/BrandMark.tsx+++ b/frontend/editor/src/core/components/shared/BrandMark.tsx@@ -1,3 +1,4 @@+import { Icon } from "@app/ui/Icon";import "@app/components/shared/BrandMark.css";interface BrandMarkProps {@@ -7,30 +8,20 @@ interface BrandMarkProps {}/**- * The Stirling logo mark as inline SVG so it can morph. At rest it is the- * two-tone red brand mark; when an ancestor marked `[data-brandmark-morph]` is- * hovered / focused / open (`.is-open`), the two parallelograms slide into a- * smaller downward chevron in the primary text colour — a self-explaining- * "this opens a menu" affordance. See BrandMark.css for the morph geometry.+ * The Stirling logo mark, rendered inline (not as an <img>) so its paths can+ * morph. At rest it is the two-tone red brand mark; when an ancestor marked+ * `[data-brandmark-morph]` is hovered / focused / open (`.is-open`), the two+ * parallelograms slide into a smaller downward chevron in the primary text+ * colour — a self-explaining "this opens a menu" affordance. See+ * BrandMark.css for the morph geometry.*/export function BrandMark({ height = "1.6rem", className }: BrandMarkProps) {return (- <svg+ <Icon+ name="stirling-mark"+ size={height}className={`sui-brandmark${className ? ` ${className}` : ""}`}- viewBox="0 0 71 79"- style={{ height }}- role="img"- aria-label="Stirling"- xmlns="http://www.w3.org/2000/svg"- >- <path- className="sui-brandmark__a"- d="M0 39 L46.5 0 L46.5 35.5 L0 74.5 Z"- />- <path- className="sui-brandmark__b"- d="M24 43 L70.5 4 L70.5 39.5 L24 78.5 Z"- />- </svg>+ title="Stirling"+ />);}diff --git a/frontend/editor/src/core/components/shared/BrandTile.tsx b/frontend/editor/src/core/components/shared/BrandTile.tsxindex e8ccba6db8..286a728a02 100644--- a/frontend/editor/src/core/components/shared/BrandTile.tsx+++ b/frontend/editor/src/core/components/shared/BrandTile.tsx@@ -1,3 +1,5 @@+import { Icon } from "@app/ui/Icon";+interface BrandTileProps {/** CSS length. Omit to let the caller's CSS size it. */size?: string;@@ -6,24 +8,5 @@ interface BrandTileProps {/** The mark in a rounded square. Decorative: call sites carry the accessible name. */export function BrandTile({ size, className }: BrandTileProps) {- return (- <svg- className={className}- viewBox="0 0 256 256"- fill="none"- style={size ? { width: size, height: size } : undefined}- aria-hidden- >- <rect width="256" height="256" rx="58" fill="var(--c-brand-mark)" />- <path- d="M39.2638 127.834L155.374 32L155.375 121.499L39.2638 217.333L39.2638 127.834Z"- fill="white"- />- <path- d="M159 124.5L159 88.5L216.728 38.4472L216.728 128.052L100.479 224L100.479 172L159 124.5Z"- fill="white"- fillOpacity="0.6"- />- </svg>- );+ return <Icon name="stirling-tile" size={size} className={className} />;}diff --git a/frontend/editor/src/core/components/shared/FileDocIcon.tsx b/frontend/editor/src/core/components/shared/FileDocIcon.tsxindex aafaf9aabd..fe9ccffa66 100644--- a/frontend/editor/src/core/components/shared/FileDocIcon.tsx+++ b/frontend/editor/src/core/components/shared/FileDocIcon.tsx@@ -1,3 +1,4 @@+import { Icon, type IconName } from "@app/ui/Icon";import { accentColor } from "@app/utils/accentColors";export type FileDocVariant =@@ -20,190 +21,38 @@ export const VARIANT_COLORS: Record<FileDocVariant, string> = {generic: accentColor("gray"),};+const DRAWINGS: Record<FileDocVariant, IconName> = {+ pdf: "file-doc-text",+ spreadsheet: "file-doc-sheet",+ doc: "file-doc-text",+ image: "file-doc-image",+ archive: "file-doc-archive",+ code: "file-doc-code",+ generic: "file-doc-text",+};++/** The page is drawn 16x20 inside the 24x24 frame, so at `size` it matches a lucide glyph's ink height. */export function FileDocIcon({color,variant,+ size,className,style,}: {color?: string;variant: FileDocVariant;+ size?: number | string;className?: string;style?: React.CSSProperties;}) {- color ??= VARIANT_COLORS[variant];- const foldX = 10.5;- const foldY = 5.5;-- let interior: React.ReactNode;- if (variant === "spreadsheet") {- // Outer border of the grid- const gx1 = 3,- gy1 = 8,- gx2 = 13,- gy2 = 17;- // Column divider x, row divider y positions- const colX = 8;- const row1Y = 11,- row2Y = 14;- interior = (- <g opacity="0.7" stroke="currentColor" strokeWidth="1" fill="none">- <rect x={gx1} y={gy1} width={gx2 - gx1} height={gy2 - gy1} rx="0.5" />- <line x1={colX} y1={gy1} x2={colX} y2={gy2} />- <line x1={gx1} y1={row1Y} x2={gx2} y2={row1Y} />- <line x1={gx1} y1={row2Y} x2={gx2} y2={row2Y} />- </g>- );- } else if (variant === "image") {- interior = (- <>- <polyline- points="2.5,16 5.5,11.5 8,14 10,12 13.5,16"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- fill="none"- strokeLinejoin="round"- strokeLinecap="round"- />- <circle- cx="11"- cy="9.5"- r="1.3"- stroke="currentColor"- strokeWidth="1"- opacity="0.6"- fill="none"- />- </>- );- } else if (variant === "code") {- interior = (- <>- <polyline- points="6,9.5 3.5,12.5 6,15.5"- stroke="currentColor"- strokeWidth="1.3"- opacity="0.7"- fill="none"- strokeLinecap="round"- strokeLinejoin="round"- />- <polyline- points="10,9.5 12.5,12.5 10,15.5"- stroke="currentColor"- strokeWidth="1.3"- opacity="0.7"- fill="none"- strokeLinecap="round"- strokeLinejoin="round"- />- </>- );- } else if (variant === "archive") {- interior = (- <>- <line- x1="5"- y1="9.5"- x2="11"- y2="9.5"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- strokeDasharray="2,1.5"- strokeLinecap="round"- />- <line- x1="5"- y1="12"- x2="11"- y2="12"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- strokeDasharray="2,1.5"- strokeLinecap="round"- />- <line- x1="5"- y1="14.5"- x2="11"- y2="14.5"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- strokeDasharray="2,1.5"- strokeLinecap="round"- />- </>- );- } else {- // pdf, doc, generic — text lines- interior = (- <>- <line- x1="3.5"- y1="9.5"- x2="12.5"- y2="9.5"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- strokeLinecap="round"- />- <line- x1="3.5"- y1="12"- x2="12.5"- y2="12"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- strokeLinecap="round"- />- <line- x1="3.5"- y1="14.5"- x2="8.5"- y2="14.5"- stroke="currentColor"- strokeWidth="1.1"- opacity="0.6"- strokeLinecap="round"- />- </>- );- }-return (- <svg+ <Icon+ name={DRAWINGS[variant]}+ size={size}className={className}// The accent flows through `color` (var() resolves in CSS, not in SVG// presentation attributes) and the shapes pick it up via currentColor.- style={{ width: 16, height: 20, color, ...style }}- viewBox="0 0 16 20"- fill="none"- aria-hidden="true"- >- {/* Document outline with top-right page fold */}- <path- d={`M 1.5,1 H ${foldX} L 15,${foldY} V 18.5 Q 15,19 14.5,19 H 1.5 Q 1,19 1,18.5 V 1.5 Q 1,1 1.5,1 Z`}- stroke="currentColor"- strokeWidth="1.3"- fill="none"- strokeLinejoin="round"- />- {/* Fold corner triangle */}- <path- d={`M ${foldX},1 L ${foldX},${foldY} L 15,${foldY} Z`}- stroke="currentColor"- strokeWidth="1.3"- fill="currentColor"- fillOpacity="0.2"- strokeLinejoin="round"- />- {interior}- </svg>+ style={{ color: color ?? VARIANT_COLORS[variant], ...style }}+ />);}diff --git a/frontend/editor/src/core/components/shared/FileSidebarFileItem.css b/frontend/editor/src/core/components/shared/FileSidebarFileItem.cssindex 5369bc5867..e33c148b2f 100644--- a/frontend/editor/src/core/components/shared/FileSidebarFileItem.css+++ b/frontend/editor/src/core/components/shared/FileSidebarFileItem.css@@ -88,9 +88,13 @@display: none;}+/* Centred rather than pinned to the corner: the 24px frame is wider than the+ wrapper, and the page inside it is what has to line up. */.file-sidebar-file-icon {position: absolute;- inset: 0;+ top: 50%;+ left: 50%;+ transform: translate(-50%, -50%);}/* Checked state */diff --git a/frontend/editor/src/core/components/shared/FileSidebarFileItem.tsx b/frontend/editor/src/core/components/shared/FileSidebarFileItem.tsxindex 051a2bf6da..99291f7ce0 100644--- a/frontend/editor/src/core/components/shared/FileSidebarFileItem.tsx+++ b/frontend/editor/src/core/components/shared/FileSidebarFileItem.tsx@@ -94,20 +94,13 @@ function CheckIcon({style?: React.CSSProperties;}) {return (- <svg+ <Icon+ name="check"+ size={14}+ strokeWidth={3}className={className}style={style}- width="14"- height="14"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="3"- strokeLinecap="round"- strokeLinejoin="round"- >- <polyline points="20 6 9 17 4 12" />- </svg>+ />);}diff --git a/frontend/editor/src/core/components/shared/SidebarToggleIcon.tsx b/frontend/editor/src/core/components/shared/SidebarToggleIcon.tsxindex 8df211863e..54d14a9d5e 100644--- a/frontend/editor/src/core/components/shared/SidebarToggleIcon.tsx+++ b/frontend/editor/src/core/components/shared/SidebarToggleIcon.tsx@@ -1,3 +1,5 @@+import { Icon } from "@app/ui/Icon";+interface SidebarToggleIconProps {/** Square size in px. */size?: number;@@ -15,24 +17,12 @@ export function SidebarToggleIcon({mirrored = false,className,}: SidebarToggleIconProps) {- // Mirror by moving the divider, not by flipping the whole glyph, so the- // rounded corners and stroke widths stay identical between the two.- const dividerX = mirrored ? 14.5 : 9.5;return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"+ <Icon+ name={mirrored ? "panel-right" : "panel-left"}+ size={size}strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"className={className}- aria-hidden="true"- >- <rect x="3" y="4" width="18" height="16" rx="2.5" />- <line x1={dividerX} y1="4" x2={dividerX} y2="20" />- </svg>+ />);}diff --git a/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.ts b/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.tsindex 8a8b3acad8..6d8079915e 100644--- a/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.ts+++ b/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.ts@@ -1,6 +1,4 @@import { useTranslation } from "react-i18next";-import { oauthIconUrl } from "@app/auth/ui/oauthIcons";-export type ProviderType = "oauth2" | "saml2" | "telegram" | "googledrive";/** Value of a provider field, keyed by its `type`: text/password/textarea -> string,@@ -39,7 +37,7 @@ const useGoogleProvider = (): Provider => {return {id: "google",name: "Google",- icon: oauthIconUrl("google.svg"),+ icon: "google",type: "oauth2",scope: t("provider.oauth2.google.scope", "Sign-in authentication"),documentationUrl:@@ -97,7 +95,7 @@ const useGitHubProvider = (): Provider => {return {id: "github",name: "GitHub",- icon: oauthIconUrl("github.svg"),+ icon: "github",type: "oauth2",scope: t("provider.oauth2.github.scope", "Sign-in authentication"),documentationUrl:@@ -819,7 +817,7 @@ const useGoogleDriveProvider = (): Provider => {id: "googledrive",category: "integration",name: t("provider.googledrive.name", "Google Drive"),- icon: "/images/google-drive.svg",+ icon: "googledrive",type: "googledrive",scope: t("provider.googledrive.scope", "File Import"),documentationUrl:diff --git a/frontend/editor/src/core/components/shared/filePreview/DocumentThumbnail.stories.tsx b/frontend/editor/src/core/components/shared/filePreview/DocumentThumbnail.stories.tsxindex 8eef37a3a3..81344138f2 100644--- a/frontend/editor/src/core/components/shared/filePreview/DocumentThumbnail.stories.tsx+++ b/frontend/editor/src/core/components/shared/filePreview/DocumentThumbnail.stories.tsx@@ -31,7 +31,7 @@ export const WithThumbnail: Story = {thumbnail:"data:image/svg+xml;utf8," +encodeURIComponent(- // icon-lint-disable -- data-uri stand-in for a rendered page, not an icon+ // icon-lint-allow: storybook-fixture -- data-uri stand-in for a rendered page, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="120" height="160"><rect width="120" height="160" fill="#e0e0e0"/></svg>',),},diff --git a/frontend/editor/src/core/components/shared/filePreview/getFileTypeIcon.tsx b/frontend/editor/src/core/components/shared/filePreview/getFileTypeIcon.tsxindex 6be3d35163..50b363f8e5 100644--- a/frontend/editor/src/core/components/shared/filePreview/getFileTypeIcon.tsx+++ b/frontend/editor/src/core/components/shared/filePreview/getFileTypeIcon.tsx@@ -89,7 +89,8 @@ export function getFileTypeIcon(return (<FileDocIconvariant={getFileDocVariant(ext, mime)}- style={{ width: size, height: "auto" }}+ // `size` is the page's width, and the page spans 16 of the frame's 24 units.+ size={typeof size === "number" ? size * 1.5 : `calc(${size} * 1.5)`}/>);}diff --git a/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsx b/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsxindex 6c59e513ec..ed9d23a13f 100644--- a/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsx+++ b/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsx@@ -75,7 +75,7 @@ export const WithProfilePicture: Story = {profilePictureUrl:"data:image/svg+xml;utf8," +encodeURIComponent(- // icon-lint-disable -- data-uri avatar fixture, not an icon+ // icon-lint-allow: storybook-fixture -- data-uri avatar fixture, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><rect width="64" height="64" fill="black"/><circle cx="32" cy="24" r="12" fill="white"/><ellipse cx="32" cy="56" rx="20" ry="16" fill="white"/></svg>',),},diff --git a/frontend/editor/src/core/components/shared/navFooter/NavFooterCreditsRow.tsx b/frontend/editor/src/core/components/shared/navFooter/NavFooterCreditsRow.tsxindex 94e941d71c..ed7e7178a9 100644--- a/frontend/editor/src/core/components/shared/navFooter/NavFooterCreditsRow.tsx+++ b/frontend/editor/src/core/components/shared/navFooter/NavFooterCreditsRow.tsx@@ -103,6 +103,7 @@ function CreditsRing({const filled = Math.min(1, Math.max(0, fraction)) * circumference;return (+ // icon-lint-allow: runtime-generated-svg -- ring dash length is computed from the credit balance<svgclassName="nav-footer__credits-ring"viewBox="0 0 20 20"diff --git a/frontend/editor/src/core/components/shared/wetSignature/UploadSignatureImage.stories.tsx b/frontend/editor/src/core/components/shared/wetSignature/UploadSignatureImage.stories.tsxindex 5cf95e6fa6..54022f06cb 100644--- a/frontend/editor/src/core/components/shared/wetSignature/UploadSignatureImage.stories.tsx+++ b/frontend/editor/src/core/components/shared/wetSignature/UploadSignatureImage.stories.tsx@@ -21,7 +21,7 @@ export const WithSignature: Story = {signature:"data:image/svg+xml;base64," +btoa(- // icon-lint-disable -- data-uri stand-in for an uploaded image, not an icon+ // icon-lint-allow: storybook-fixture -- data-uri stand-in for an uploaded image, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="200" height="80"><text x="10" y="50" font-family="cursive" font-size="32">Jane Doe</text></svg>',),onChange: () => {},diff --git a/frontend/editor/src/core/components/tools/pageLayout/LayoutPreview.tsx b/frontend/editor/src/core/components/tools/pageLayout/LayoutPreview.tsxindex 76e6f0c899..c1cd6b3ce3 100644--- a/frontend/editor/src/core/components/tools/pageLayout/LayoutPreview.tsx+++ b/frontend/editor/src/core/components/tools/pageLayout/LayoutPreview.tsx@@ -17,6 +17,7 @@ export default function LayoutPreview({const aspectRatio = sheet.width / sheet.height;return (+ // icon-lint-allow: runtime-generated-svg -- page grid is computed from the layout settings<svgviewBox={`${sheet.x} ${sheet.y} ${sheet.width} ${sheet.height}`}preserveAspectRatio="xMidYMid meet"diff --git a/frontend/editor/src/core/components/tools/sign/SavedSignaturesSection.stories.tsx b/frontend/editor/src/core/components/tools/sign/SavedSignaturesSection.stories.tsxindex defa0c96a5..f2666b624c 100644--- a/frontend/editor/src/core/components/tools/sign/SavedSignaturesSection.stories.tsx+++ b/frontend/editor/src/core/components/tools/sign/SavedSignaturesSection.stories.tsx@@ -24,7 +24,7 @@ const mockSignatures: SavedSignature[] = [dataUrl:"data:image/svg+xml;base64," +btoa(- // icon-lint-disable -- data-uri stand-in for a drawn signature, not an icon+ // icon-lint-allow: storybook-fixture -- data-uri stand-in for a drawn signature, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="200" height="80"><rect width="200" height="80" fill="white"/><text x="10" y="45" font-size="20">Approved</text></svg>',),createdAt: Date.now(),@@ -38,7 +38,7 @@ const mockSignatures: SavedSignature[] = [dataUrl:"data:image/svg+xml;base64," +btoa(- // icon-lint-disable -- data-uri stand-in for a drawn signature, not an icon+ // icon-lint-allow: storybook-fixture -- data-uri stand-in for a drawn signature, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="200" height="80"><rect width="200" height="80" fill="white"/><path d="M10 60 Q 50 10 100 60 T 190 60" stroke="black" fill="none" stroke-width="3"/></svg>',),createdAt: Date.now(),diff --git a/frontend/editor/src/core/components/tools/validateSignature/reportView/ThumbnailPreview.stories.tsx b/frontend/editor/src/core/components/tools/validateSignature/reportView/ThumbnailPreview.stories.tsxindex 9fb29c4080..7f5d92fcac 100644--- a/frontend/editor/src/core/components/tools/validateSignature/reportView/ThumbnailPreview.stories.tsx+++ b/frontend/editor/src/core/components/tools/validateSignature/reportView/ThumbnailPreview.stories.tsx@@ -11,7 +11,7 @@ type Story = StoryObj<typeof meta>;const SAMPLE_THUMBNAIL ="data:image/svg+xml;utf8," +encodeURIComponent(- // icon-lint-disable -- data-uri stand-in for a rendered page, not an icon+ // icon-lint-allow: storybook-fixture -- data-uri stand-in for a rendered page, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="120" height="160"><rect width="120" height="160" fill="#f0f0f0"/></svg>',);diff --git a/frontend/editor/src/core/components/viewer/LayerSidebar.tsx b/frontend/editor/src/core/components/viewer/LayerSidebar.tsxindex 6161ed81b6..1291f3b644 100644--- a/frontend/editor/src/core/components/viewer/LayerSidebar.tsx+++ b/frontend/editor/src/core/components/viewer/LayerSidebar.tsx@@ -247,23 +247,9 @@ export function LayerSidebar({}}>{isExpanded ? (- <svg- width="12"- height="12"- viewBox="0 0 12 12"- fill="currentColor"- >- <path d="M2 4l4 4 4-4z" />- </svg>+ <Icon name="chevron-down" size={12} strokeWidth={2.5} />) : (- <svg- width="12"- height="12"- viewBox="0 0 12 12"- fill="currentColor"- >- <path d="M4 2l4 4-4 4z" />- </svg>+ <Icon name="chevron-right" size={12} strokeWidth={2.5} />)}</span>) : (diff --git a/frontend/editor/src/core/components/viewer/LinkLayer.tsx b/frontend/editor/src/core/components/viewer/LinkLayer.tsxindex fbb288dddf..4c8271f08e 100644--- a/frontend/editor/src/core/components/viewer/LinkLayer.tsx+++ b/frontend/editor/src/core/components/viewer/LinkLayer.tsx@@ -6,6 +6,7 @@ import React, {useMemo,useRef,} from "react";+import { Icon } from "@app/ui/Icon";import { createPortal } from "react-dom";import { useTranslation } from "react-i18next";import type { TFunction } from "i18next";@@ -23,71 +24,6 @@ import { ActionIcon } from "@app/ui/ActionIcon";import { openExternalTab } from "@app/platform/openExternalTab";import { getExternalHref } from "@app/utils/externalUrl";-// ----------------------------------------------------------------------------// Inline SVG icons (thin-stroke, modern)-// -----------------------------------------------------------------------------const TrashIcon: React.FC<{ size?: number }> = ({ size = 13 }) => (- <svg- width={size}- height={size}- viewBox="0 0 14 14"- fill="none"- xmlns="http://www.w3.org/2000/svg"- >- <path- d="M3 4h8M5.5 4v-1a0.5 0 0 1 0.5-0.5h2a0.5 0 0 1 0.5 0.5v1M4.5 4l0.4 7a0.8 0 0 0 0.8 0.7h2.6a0.8 0 0 0 0.8-0.7l0.4-7"- stroke="currentColor"- strokeWidth="1.2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>-);--const ExternalLinkIcon: React.FC<{ size?: number }> = ({ size = 12 }) => (- <svg- width={size}- height={size}- viewBox="0 0 12 12"- fill="none"- xmlns="http://www.w3.org/2000/svg"- >- <path- d="M8.5 3.5l-3.5 3.5m3.5-3.5v2.5m0-2.5h-2.5M3.5 3.5h-0.5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-0.5"- stroke="currentColor"- strokeWidth="1.2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>-);--const PageIcon: React.FC<{ size?: number }> = ({ size = 12 }) => (- <svg- width={size}- height={size}- viewBox="0 0 12 12"- fill="none"- xmlns="http://www.w3.org/2000/svg"- >- <path- d="M3 2.5h3l2 2v4.5a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-6.5a1 1 0 0 1 1-1z"- stroke="currentColor"- strokeWidth="1.2"- strokeLinecap="round"- strokeLinejoin="round"- />- <path- d="M6 2.5v2h2"- stroke="currentColor"- strokeWidth="1.2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>-);-// ---------------------------------------------------------------------------// Helpers// ---------------------------------------------------------------------------@@ -224,7 +160,7 @@ const LinkToolbar: React.FC<LinkToolbarProps> = React.memo(aria-label={t("viewer.link.delete", "Delete link")}title={t("viewer.link.delete", "Delete link")}>- <TrashIcon />+ <Icon name="trash" size={13} strokeWidth={1.5} /></ActionIcon><span className="pdf-link-toolbar-sep" />@@ -243,7 +179,11 @@ const LinkToolbar: React.FC<LinkToolbarProps> = React.memo(}title={label}>- {internal ? <PageIcon /> : <ExternalLinkIcon />}+ {internal ? (+ <Icon name="file" size={12} strokeWidth={1.5} />+ ) : (+ <Icon name="external-link" size={12} strokeWidth={1.5} />+ )}<span className="pdf-link-toolbar-label">{label}</span></Button></div>diff --git a/frontend/editor/src/core/components/viewer/RulerOverlay.tsx b/frontend/editor/src/core/components/viewer/RulerOverlay.tsxindex ad8a251ea9..38168a4faa 100644--- a/frontend/editor/src/core/components/viewer/RulerOverlay.tsx+++ b/frontend/editor/src/core/components/viewer/RulerOverlay.tsx@@ -928,6 +928,7 @@ export const RulerOverlay = React.forwardRef<: null;return (+ // icon-lint-allow: runtime-generated-svg -- ruler geometry is computed from the page<svgstyle={{position: "absolute",diff --git a/frontend/editor/src/core/hooks/useSuperSearch.ts b/frontend/editor/src/core/hooks/useSuperSearch.tsindex a8b2b66c36..1cab3a8c5b 100644--- a/frontend/editor/src/core/hooks/useSuperSearch.ts+++ b/frontend/editor/src/core/hooks/useSuperSearch.ts@@ -253,15 +253,13 @@ export function rankFileResults(group: "files",title: item.name,// The file-type doc icon (PDF/image/doc/…) the sidebar and grid use,- // rather than a flat generic file glyph. Sized by height so the portrait- // doc shape sits level with the square tool/settings icons instead of- // overflowing the row.+ // rather than a flat generic file glyph.icon: createElement(FileDocIcon, {variant: getFileDocVariant(detectFileExtension(item.name.toLowerCase()),(item.type ?? "").toLowerCase(),),- style: { height: "1.15rem", width: "auto" },+ size: "1.15rem",}),score,onSelect: () => openFile(item),diff --git a/frontend/editor/src/core/icons/README.md b/frontend/editor/src/core/icons/README.mdindex 3297120d60..3716bdd9b3 100644--- a/frontend/editor/src/core/icons/README.md+++ b/frontend/editor/src/core/icons/README.md@@ -5,7 +5,7 @@ Read this before adding, changing or styling any icon.## TL;DR rules1. **Render every icon with `<Icon name="…" />`** from `@app/ui/Icon`. There is one icon component and one icon set.-2. **Never write an `<svg>` in a `.ts`/`.tsx` file.** Icons are `.svg` files under `svg/stirling/` or `svg/third-party/`. Geometry computed at runtime (charts, overlays, previews) is the only exception and needs a `// icon-lint-disable -- <reason>` comment.+2. **Never write an `<svg>` in a `.ts`/`.tsx` file.** Icons are `.svg` files under `svg/stirling/` or `svg/third-party/`. There are two exceptions, and each needs an `icon-lint-allow: <category> -- <reason>` comment above the `<svg`: `runtime-generated-svg` for geometry computed at runtime (rulers, rings, charts), and `storybook-fixture` for svg text that builds a story's fake image, allowed only in `.stories.tsx`. Nothing else can be silenced.3. **Size with the `size` prop, never `fontSize`.** The old icons were font glyphs; `<Icon>` sizes via `width`/`height`, so `style={{ fontSize }}` does nothing at all.4. **A name has to be in `icons.ts`.** Adding one is two lines: the `?react` import and the map entry. `IconName` comes from that map, so anything missing is a compile error.5. `task frontend:lint:icons` enforces 1–3 (see [Linter](#linter)).@@ -58,7 +58,7 @@ For a prop that takes *either* a name or your own node, narrow with `isIconName(## Linter-`editor/scripts/lint/icon-lint.mts`, run by `task frontend:lint:icons` (part of `task frontend:lint`). Blocking: no inline `<svg>`, no retired icon library, `.svg` only in the icon dirs or `assets/`, every `<Icon name="…">` literal must resolve, and every icon svg must be on the `0 0 24 24` frame.+`editor/scripts/lint/icon-lint.mts`, run by `task frontend:lint:icons` (part of `task frontend:lint`). Blocking: no inline `<svg>`, no `.svg?react` import outside `icons.ts` (an icon goes through the registry; a picture is an `<img>`), no retired icon library, `.svg` only in the icon dirs or `assets/`, every `<Icon name="…">` literal must resolve, and every icon svg must be on the `0 0 24 24` frame.`task frontend:lint:unused-icons` reports svgs in `svg/stirling/` that nothing renders, each of which is a drawing to keep on style for no reason. It deliberately over-counts references, because a false "unused" gets a live icon deleted.diff --git a/frontend/editor/src/core/icons/icons.ts b/frontend/editor/src/core/icons/icons.tsindex 10f5ae9671..1c2f354d2f 100644--- a/frontend/editor/src/core/icons/icons.ts+++ b/frontend/editor/src/core/icons/icons.ts@@ -207,6 +207,8 @@ import Package from "lucide-static/icons/package.svg?react";import Package2 from "lucide-static/icons/package-2.svg?react";import PaintBucket from "lucide-static/icons/paint-bucket.svg?react";import Palette from "lucide-static/icons/palette.svg?react";+import PanelLeft from "lucide-static/icons/panel-left.svg?react";+import PanelRight from "lucide-static/icons/panel-right.svg?react";import Paperclip from "lucide-static/icons/paperclip.svg?react";import PartyPopper from "lucide-static/icons/party-popper.svg?react";import Pause from "lucide-static/icons/pause.svg?react";@@ -348,6 +350,11 @@ import Api from "@app/icons/svg/stirling/api.svg?react";import Cpu from "@app/icons/svg/stirling/cpu.svg?react";import Editor from "@app/icons/svg/stirling/editor.svg?react";import FileConvert from "@app/icons/svg/stirling/file-convert.svg?react";+import FileDocArchive from "@app/icons/svg/stirling/file-doc-archive.svg?react";+import FileDocCode from "@app/icons/svg/stirling/file-doc-code.svg?react";+import FileDocImage from "@app/icons/svg/stirling/file-doc-image.svg?react";+import FileDocSheet from "@app/icons/svg/stirling/file-doc-sheet.svg?react";+import FileDocText from "@app/icons/svg/stirling/file-doc-text.svg?react";import FileHtml from "@app/icons/svg/stirling/file-html.svg?react";import FileLockOpen from "@app/icons/svg/stirling/file-lock-open.svg?react";import FormScan from "@app/icons/svg/stirling/form-scan.svg?react";@@ -365,22 +372,33 @@ import RemoveSelection from "@app/icons/svg/stirling/remove-selection.svg?react"import SelectAll from "@app/icons/svg/stirling/select-all.svg?react";import Sftp from "@app/icons/svg/stirling/sftp.svg?react";import SinglePage from "@app/icons/svg/stirling/single-page.svg?react";+import StirlingMark from "@app/icons/svg/stirling/stirling-mark.svg?react";+import StirlingMarkThinking from "@app/icons/svg/stirling/stirling-mark-thinking.svg?react";+import StirlingTile from "@app/icons/svg/stirling/stirling-tile.svg?react";import UsersPlus from "@app/icons/svg/stirling/users-plus.svg?react";import Watermark from "@app/icons/svg/stirling/watermark.svg?react";+import Apple from "@app/icons/svg/third-party/apple.svg?react";+import Authentik from "@app/icons/svg/third-party/authentik.svg?react";import Box from "@app/icons/svg/third-party/box.svg?react";import Clamav from "@app/icons/svg/third-party/clamav.svg?react";import Cloudmersive from "@app/icons/svg/third-party/cloudmersive.svg?react";import Cloudmersiveadvanced from "@app/icons/svg/third-party/cloudmersiveadvanced.svg?react";+import Cloudron from "@app/icons/svg/third-party/cloudron.svg?react";import Confluence from "@app/icons/svg/third-party/confluence.svg?react";import Consigno from "@app/icons/svg/third-party/consigno.svg?react";import Discord from "@app/icons/svg/third-party/discord.svg?react";import Dropbox from "@app/icons/svg/third-party/dropbox.svg?react";import Elastic from "@app/icons/svg/third-party/elastic.svg?react";+import Github from "@app/icons/svg/third-party/github.svg?react";+import Google from "@app/icons/svg/third-party/google.svg?react";import Googlechat from "@app/icons/svg/third-party/googlechat.svg?react";import Googledrive from "@app/icons/svg/third-party/googledrive.svg?react";import Jira from "@app/icons/svg/third-party/jira.svg?react";+import Keycloak from "@app/icons/svg/third-party/keycloak.svg?react";+import Linux from "@app/icons/svg/third-party/linux.svg?react";import Mailgun from "@app/icons/svg/third-party/mailgun.svg?react";+import Microsoft from "@app/icons/svg/third-party/microsoft.svg?react";import N8n from "@app/icons/svg/third-party/n8n.svg?react";import Nextcloud from "@app/icons/svg/third-party/nextcloud.svg?react";import Onedrive from "@app/icons/svg/third-party/onedrive.svg?react";@@ -393,6 +411,7 @@ import Slack from "@app/icons/svg/third-party/slack.svg?react";import Splunk from "@app/icons/svg/third-party/splunk.svg?react";import Sumologic from "@app/icons/svg/third-party/sumologic.svg?react";import Teams from "@app/icons/svg/third-party/teams.svg?react";+import Windows from "@app/icons/svg/third-party/windows.svg?react";import Zapier from "@app/icons/svg/third-party/zapier.svg?react";type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;@@ -613,6 +632,8 @@ export const ICONS = {"package-2": { Component: Package2, kind: "lucide" },"paint-bucket": { Component: PaintBucket, kind: "lucide" },palette: { Component: Palette, kind: "lucide" },+ "panel-left": { Component: PanelLeft, kind: "lucide" },+ "panel-right": { Component: PanelRight, kind: "lucide" },paperclip: { Component: Paperclip, kind: "lucide" },"party-popper": { Component: PartyPopper, kind: "lucide" },pause: { Component: Pause, kind: "lucide" },@@ -753,6 +774,11 @@ export const ICONS = {cpu: { Component: Cpu, kind: "stirling" },editor: { Component: Editor, kind: "stirling" },"file-convert": { Component: FileConvert, kind: "stirling" },+ "file-doc-archive": { Component: FileDocArchive, kind: "stirling" },+ "file-doc-code": { Component: FileDocCode, kind: "stirling" },+ "file-doc-image": { Component: FileDocImage, kind: "stirling" },+ "file-doc-sheet": { Component: FileDocSheet, kind: "stirling" },+ "file-doc-text": { Component: FileDocText, kind: "stirling" },"file-html": { Component: FileHtml, kind: "stirling" },"file-lock-open": { Component: FileLockOpen, kind: "stirling" },"file-pdf": { Component: FilePdf, kind: "stirling" },@@ -770,21 +796,33 @@ export const ICONS = {"select-all": { Component: SelectAll, kind: "stirling" },sftp: { Component: Sftp, kind: "stirling" },"single-page": { Component: SinglePage, kind: "stirling" },+ // Brand: they paint with their own fills and CSS classes, so <Icon> must not restroke them.+ "stirling-mark": { Component: StirlingMark, kind: "brand" },+ "stirling-mark-thinking": { Component: StirlingMarkThinking, kind: "brand" },+ "stirling-tile": { Component: StirlingTile, kind: "brand" },"users-plus": { Component: UsersPlus, kind: "stirling" },watermark: { Component: Watermark, kind: "stirling" },+ apple: { Component: Apple, kind: "brand" },+ authentik: { Component: Authentik, kind: "brand" },box: { Component: Box, kind: "brand" },clamav: { Component: Clamav, kind: "brand" },cloudmersive: { Component: Cloudmersive, kind: "brand" },cloudmersiveadvanced: { Component: Cloudmersiveadvanced, kind: "brand" },+ cloudron: { Component: Cloudron, kind: "brand" },confluence: { Component: Confluence, kind: "brand" },consigno: { Component: Consigno, kind: "brand" },discord: { Component: Discord, kind: "brand" },dropbox: { Component: Dropbox, kind: "brand" },elastic: { Component: Elastic, kind: "brand" },+ github: { Component: Github, kind: "brand" },+ google: { Component: Google, kind: "brand" },googlechat: { Component: Googlechat, kind: "brand" },googledrive: { Component: Googledrive, kind: "brand" },jira: { Component: Jira, kind: "brand" },+ keycloak: { Component: Keycloak, kind: "brand" },+ linux: { Component: Linux, kind: "brand" },mailgun: { Component: Mailgun, kind: "brand" },+ microsoft: { Component: Microsoft, kind: "brand" },n8n: { Component: N8n, kind: "brand" },nextcloud: { Component: Nextcloud, kind: "brand" },onedrive: { Component: Onedrive, kind: "brand" },@@ -797,6 +835,7 @@ export const ICONS = {splunk: { Component: Splunk, kind: "brand" },sumologic: { Component: Sumologic, kind: "brand" },teams: { Component: Teams, kind: "brand" },+ windows: { Component: Windows, kind: "brand" },zapier: { Component: Zapier, kind: "brand" },} as const satisfies Record<string, IconEntry>;diff --git a/frontend/editor/src/core/icons/svg/stirling/file-doc-archive.svg b/frontend/editor/src/core/icons/svg/stirling/file-doc-archive.svgnew file mode 100644index 0000000000..0668c8c14b--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/file-doc-archive.svg@@ -0,0 +1,12 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">+ <!-- Portrait 16x20 page, centred unscaled: callers size it like any icon and get the same ink height. -->+ <g transform="translate(4 2)">+ <path d="M1.5 1H10.5L15 5.5V18.5Q15 19 14.5 19H1.5Q1 19 1 18.5V1.5Q1 1 1.5 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />+ <path d="M10.5 1V5.5H15Z" stroke="currentColor" stroke-width="1.3" fill="currentColor" fill-opacity="0.2" stroke-linejoin="round" />+ <g stroke="currentColor" stroke-width="1.1" opacity="0.6" stroke-dasharray="2,1.5" stroke-linecap="round">+ <line x1="5" y1="9.5" x2="11" y2="9.5" />+ <line x1="5" y1="12" x2="11" y2="12" />+ <line x1="5" y1="14.5" x2="11" y2="14.5" />+ </g>+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/file-doc-code.svg b/frontend/editor/src/core/icons/svg/stirling/file-doc-code.svgnew file mode 100644index 0000000000..3f2f318686--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/file-doc-code.svg@@ -0,0 +1,11 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">+ <!-- Portrait 16x20 page, centred unscaled: callers size it like any icon and get the same ink height. -->+ <g transform="translate(4 2)">+ <path d="M1.5 1H10.5L15 5.5V18.5Q15 19 14.5 19H1.5Q1 19 1 18.5V1.5Q1 1 1.5 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />+ <path d="M10.5 1V5.5H15Z" stroke="currentColor" stroke-width="1.3" fill="currentColor" fill-opacity="0.2" stroke-linejoin="round" />+ <g stroke="currentColor" stroke-width="1.3" opacity="0.7" stroke-linecap="round" stroke-linejoin="round">+ <polyline points="6,9.5 3.5,12.5 6,15.5" />+ <polyline points="10,9.5 12.5,12.5 10,15.5" />+ </g>+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/file-doc-image.svg b/frontend/editor/src/core/icons/svg/stirling/file-doc-image.svgnew file mode 100644index 0000000000..8aec7512c2--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/file-doc-image.svg@@ -0,0 +1,9 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">+ <!-- Portrait 16x20 page, centred unscaled: callers size it like any icon and get the same ink height. -->+ <g transform="translate(4 2)">+ <path d="M1.5 1H10.5L15 5.5V18.5Q15 19 14.5 19H1.5Q1 19 1 18.5V1.5Q1 1 1.5 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />+ <path d="M10.5 1V5.5H15Z" stroke="currentColor" stroke-width="1.3" fill="currentColor" fill-opacity="0.2" stroke-linejoin="round" />+ <polyline points="2.5,16 5.5,11.5 8,14 10,12 13.5,16" stroke="currentColor" stroke-width="1.1" opacity="0.6" stroke-linejoin="round" stroke-linecap="round" />+ <circle cx="11" cy="9.5" r="1.3" stroke="currentColor" stroke-width="1" opacity="0.6" />+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/file-doc-sheet.svg b/frontend/editor/src/core/icons/svg/stirling/file-doc-sheet.svgnew file mode 100644index 0000000000..27b5f72c77--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/file-doc-sheet.svg@@ -0,0 +1,13 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">+ <!-- Portrait 16x20 page, centred unscaled: callers size it like any icon and get the same ink height. -->+ <g transform="translate(4 2)">+ <path d="M1.5 1H10.5L15 5.5V18.5Q15 19 14.5 19H1.5Q1 19 1 18.5V1.5Q1 1 1.5 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />+ <path d="M10.5 1V5.5H15Z" stroke="currentColor" stroke-width="1.3" fill="currentColor" fill-opacity="0.2" stroke-linejoin="round" />+ <g opacity="0.7" stroke="currentColor" stroke-width="1">+ <rect x="3" y="8" width="10" height="9" rx="0.5" />+ <line x1="8" y1="8" x2="8" y2="17" />+ <line x1="3" y1="11" x2="13" y2="11" />+ <line x1="3" y1="14" x2="13" y2="14" />+ </g>+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/file-doc-text.svg b/frontend/editor/src/core/icons/svg/stirling/file-doc-text.svgnew file mode 100644index 0000000000..482687e42d--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/file-doc-text.svg@@ -0,0 +1,12 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">+ <!-- Portrait 16x20 page, centred unscaled: callers size it like any icon and get the same ink height. -->+ <g transform="translate(4 2)">+ <path d="M1.5 1H10.5L15 5.5V18.5Q15 19 14.5 19H1.5Q1 19 1 18.5V1.5Q1 1 1.5 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" />+ <path d="M10.5 1V5.5H15Z" stroke="currentColor" stroke-width="1.3" fill="currentColor" fill-opacity="0.2" stroke-linejoin="round" />+ <g stroke="currentColor" stroke-width="1.1" opacity="0.6" stroke-linecap="round">+ <line x1="3.5" y1="9.5" x2="12.5" y2="9.5" />+ <line x1="3.5" y1="12" x2="12.5" y2="12" />+ <line x1="3.5" y1="14.5" x2="8.5" y2="14.5" />+ </g>+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/stirling-mark-thinking.svg b/frontend/editor/src/core/icons/svg/stirling/stirling-mark-thinking.svgnew file mode 100644index 0000000000..c831b51572--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/stirling-mark-thinking.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">+ <!-- Scale only, anchored at the origin: ChatPanel.css animates these paths in the mark's own 192x192 units. -->+ <g transform="scale(0.125)">+ <path class="stirling-thinking__path-right" d="M68.48 102.4 L184.73 6.45 L184.73 96.05 L68.48 192 Z" />+ <path class="stirling-thinking__path-left" d="M7.26 95.83 L123.37 0 L123.37 89.5 L7.26 185.33 Z" />+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/stirling-mark.svg b/frontend/editor/src/core/icons/svg/stirling/stirling-mark.svgnew file mode 100644index 0000000000..4315974ce5--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/stirling-mark.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <!-- Scale only, anchored at the origin: BrandMark.css morphs these paths with matrices written in the mark's own 71x79 units. -->+ <g transform="scale(0.303797)">+ <path class="sui-brandmark__a" d="M0 39 L46.5 0 L46.5 35.5 L0 74.5 Z" />+ <path class="sui-brandmark__b" d="M24 43 L70.5 4 L70.5 39.5 L24 78.5 Z" />+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/stirling/stirling-tile.svg b/frontend/editor/src/core/icons/svg/stirling/stirling-tile.svgnew file mode 100644index 0000000000..908f34d6f0--- /dev/null+++ b/frontend/editor/src/core/icons/svg/stirling/stirling-tile.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">+ <g transform="scale(0.09375)">+ <rect width="256" height="256" rx="58" fill="var(--c-brand-mark)" />+ <path d="M39.2638 127.834L155.374 32L155.375 121.499L39.2638 217.333L39.2638 127.834Z" fill="white" />+ <path d="M159 124.5L159 88.5L216.728 38.4472L216.728 128.052L100.479 224L100.479 172L159 124.5Z" fill="white" fill-opacity="0.6" />+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/apple.svg b/frontend/editor/src/core/icons/svg/third-party/apple.svgnew file mode 100644index 0000000000..6695807b0a--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/apple.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">+ <path fill="currentColor" d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701" />+</svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/authentik.svg b/frontend/editor/src/core/icons/svg/third-party/authentik.svgnew file mode 100644index 0000000000..7eb3d127c2--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/authentik.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">+ <g transform="translate(2 4.3333) scale(0.0667)">+<path fill="#FD4A2C" d="M0 0 C1.31903824 -0.0071553 2.63807648 -0.01431061 3.99708557 -0.02168274 C5.457443 -0.02452288 6.91780069 -0.02723462 8.37815857 -0.02983093 C9.91753288 -0.03609819 11.45690569 -0.04274523 12.99627686 -0.04974365 C18.05121309 -0.07076093 23.10614953 -0.08114609 28.16111755 -0.09111023 C29.9042964 -0.09515911 31.64747509 -0.09927607 33.39065361 -0.10346031 C41.5839072 -0.12250942 49.77715181 -0.13673921 57.97042328 -0.14507228 C67.41159376 -0.1548342 76.85252914 -0.18112751 86.29361683 -0.22157317 C93.60081727 -0.25179687 100.90795058 -0.2665472 108.21521229 -0.26985329 C112.57457636 -0.27219728 116.9336892 -0.28107194 121.29298592 -0.30631447 C125.39953639 -0.32970901 129.50567225 -0.33378312 133.61227226 -0.32355309 C135.11218526 -0.32306031 136.61211945 -0.32930375 138.11196899 -0.34310913 C152.84247827 -0.47101164 163.97724403 3.01349139 174.8212738 13.24873352 C182.88515893 21.79584771 187.82015779 31.98003153 187.86886597 43.86180115 C187.87884109 45.17365891 187.88881622 46.48551666 187.89909363 47.83712769 C187.89998926 49.27397144 187.90065292 50.71081534 187.90110779 52.1476593 C187.90873693 53.67438153 187.91716572 55.20109994 187.92633057 56.72781372 C187.94821238 60.86244525 187.95706633 64.99700285 187.96215701 69.13168573 C187.96580911 71.7203613 187.97205369 74.30901776 187.9791584 76.897686 C188.00363429 85.94472345 188.01670005 94.99170374 188.02024841 104.03877258 C188.0238787 112.4452023 188.05374235 120.85126581 188.095653 129.25758374 C188.13046003 136.49524804 188.14579867 143.73279163 188.14649445 150.97053897 C188.14728394 155.28413849 188.1558702 159.59736489 188.18449211 163.91087723 C188.21085103 167.97406106 188.21278 172.0365672 188.19683647 176.0997982 C188.19503583 177.58113661 188.20158585 179.06251559 188.21765518 180.54376793 C188.36450998 194.97434252 184.85316963 206.66730712 174.5947113 217.14717102 C165.79646466 225.14557706 156.08057815 230.43905796 144.0087738 230.34248352 C142.72438416 230.3374884 141.43999451 230.33249329 140.11668396 230.3273468 C138.50068298 230.30913879 136.88468201 230.29093079 135.2197113 230.27217102 C130.0634613 230.23092102 124.9072113 230.18967102 119.5947113 230.14717102 C119.5947113 215.29717102 119.5947113 200.44717102 119.5947113 185.14717102 C88.5747113 185.14717102 57.5547113 185.14717102 25.5947113 185.14717102 C25.5947113 199.99717102 25.5947113 214.84717102 25.5947113 230.14717102 C20.7065863 230.22967102 15.8184613 230.31217102 10.7822113 230.39717102 C9.26393738 230.43358704 7.74566345 230.47000305 6.18138123 230.50752258 C-5.50898103 230.60237339 -14.889398 228.09279021 -24.4052887 221.14717102 C-25.06142151 220.6908429 -25.71755432 220.23451477 -26.39356995 219.76435852 C-35.6417653 212.61720949 -41.52201418 200.44681809 -43.4052887 189.14717102 C-43.0752887 172.64717102 -42.7452887 156.14717102 -42.4052887 139.14717102 C7.4247113 139.14717102 57.2547113 139.14717102 108.5947113 139.14717102 C108.2647113 113.07717102 107.9347113 87.00717102 107.5947113 60.14717102 C102.3147113 60.14717102 97.0347113 60.14717102 91.5947113 60.14717102 C91.4090863 62.59123352 91.4090863 62.59123352 91.2197113 65.08467102 C91.0087738 67.86201477 91.0087738 67.86201477 90.5947113 70.14717102 C87.97156099 71.45874618 86.36437695 71.0436709 83.4697113 70.70967102 C82.55963318 70.60783508 81.64955505 70.50599915 80.7118988 70.40107727 C79.66389099 70.27539368 79.66389099 70.27539368 78.5947113 70.14717102 C77.92804464 66.81383769 77.26137797 63.48050435 76.5947113 60.14717102 C72.3047113 60.14717102 68.0147113 60.14717102 63.5947113 60.14717102 C63.2647113 66.08717102 62.9347113 72.02717102 62.5947113 78.14717102 C58.6347113 78.14717102 54.6747113 78.14717102 50.5947113 78.14717102 C50.5947113 71.87717102 50.5947113 65.60717102 50.5947113 59.14717102 C47.6247113 59.64217102 47.6247113 59.64217102 44.5947113 60.14717102 C39.02328273 60.36145673 39.02328273 60.36145673 36.5947113 59.14717102 C36.5947113 74.32717102 36.5947113 89.50717102 36.5947113 105.14717102 C11.8447113 105.47717102 -12.9052887 105.80717102 -38.4052887 106.14717102 C-36.7552887 109.44717102 -35.1052887 112.74717102 -33.4052887 116.14717102 C-32.23385964 123.93483139 -37.28666971 130.77501339 -41.6552887 136.89961243 C-50.19263554 148.19063476 -59.91392466 156.85995926 -74.4052887 159.14717102 C-80.88854532 158.9467374 -86.88378649 157.62811807 -92.4052887 154.14717102 C-93.17485901 153.69728821 -93.94442932 153.2474054 -94.73731995 152.78388977 C-103.86805755 147.04808909 -109.56723535 138.52333432 -112.4052887 128.14717102 C-112.8723603 124.88590617 -112.97726751 121.68916403 -112.9677887 118.39717102 C-112.9653717 117.51972229 -112.96295471 116.64227356 -112.96046448 115.73823547 C-112.65422767 104.8768365 -108.0027269 96.74460922 -100.4052887 89.14717102 C-99.7452887 89.14717102 -99.0852887 89.14717102 -98.4052887 89.14717102 C-98.4052887 88.48717102 -98.4052887 87.82717102 -98.4052887 87.14717102 C-96.32399765 86.16367077 -94.2401751 85.18552644 -92.1552887 84.20967102 C-90.99513245 83.66439758 -89.8349762 83.11912415 -88.6396637 82.55732727 C-81.50461728 79.44651597 -73.41946171 78.81361437 -65.8349762 80.83076477 C-57.72956403 84.23390821 -47.43007285 91.09760271 -43.4052887 99.14717102 C-43.40972992 98.49730225 -43.41417114 97.84743347 -43.41874695 97.1778717 C-43.46327723 90.36362424 -43.49327744 83.54941867 -43.51515198 76.73506165 C-43.52515846 74.19793517 -43.53876781 71.66082007 -43.5561676 69.12373352 C-43.58065249 65.4596423 -43.5918257 61.79570464 -43.6006012 58.13154602 C-43.61608505 56.45267303 -43.61608505 56.45267303 -43.63188171 54.73988342 C-43.63410813 38.81921683 -40.45768984 24.97343548 -29.44044495 13.01435852 C-21.16029185 5.13848053 -11.47412704 0.04274377 0 0 Z M-91.67481995 103.06123352 C-95.82753716 108.06699197 -98.20306218 114.54098751 -97.7802887 121.08076477 C-96.40229746 128.67407064 -93.51648925 134.04027941 -87.4052887 138.80342102 C-82.34135894 142.20574882 -77.91601901 142.59060055 -71.98731995 141.79951477 C-63.04973823 139.54145706 -57.43450233 132.43487412 -52.4052887 125.14717102 C-51.9515387 124.5258429 -51.4977887 123.90451477 -51.0302887 123.26435852 C-49.79068763 121.40487039 -49.79068763 121.40487039 -49.4052887 118.14717102 C-50.947176 114.76439926 -53.06912635 112.02038218 -55.4052887 109.14717102 C-56.1477887 108.13654602 -56.8902887 107.12592102 -57.6552887 106.08467102 C-58.2327887 105.44529602 -58.8102887 104.80592102 -59.4052887 104.14717102 C-60.0652887 104.14717102 -60.7252887 104.14717102 -61.4052887 104.14717102 C-61.6115387 103.56967102 -61.8177887 102.99217102 -62.0302887 102.39717102 C-64.57009959 98.24111683 -68.12585168 96.50927584 -72.7177887 95.20967102 C-80.35763288 95.08018214 -86.15491527 97.83880873 -91.67481995 103.06123352 Z" transform="translate(112.40528869628906,-0.1471710205078125)"/><path fill="#FD4A2C" transform="translate(0,0)"/>+ </g>+</svg>diff --git a/frontend/editor/src/core/assets/login/cloudron.svg b/frontend/editor/src/core/icons/svg/third-party/cloudron.svgsimilarity index 98%rename from frontend/editor/src/core/assets/login/cloudron.svgrename to frontend/editor/src/core/icons/svg/third-party/cloudron.svgindex a4b50c4217..bc094f7e4e 100644--- a/frontend/editor/src/core/assets/login/cloudron.svg+++ b/frontend/editor/src/core/icons/svg/third-party/cloudron.svg@@ -1,5 +1,6 @@-<?xml version="1.0" encoding="UTF-8"?>-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512">+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">+ <g transform="translate(2 2) scale(0.0391)"><path d="M0 0 C3.49744921 0.00008059 6.99476555 -0.00676629 10.4921875 -0.02050781 C122.34246478 -0.45274246 122.34246478 -0.45274246 141.09765625 16.76342773 C174.54897241 50.48398084 198.17485368 98.50734979 220.2890625 140.18530273 C221.1324829 141.76100004 221.97621598 143.33653003 222.8203125 144.91186523 C225.34858406 149.64988997 227.82847564 154.41181605 230.2890625 159.18530273 C230.8267627 160.2267041 231.36446289 161.26810547 231.91845703 162.34106445 C263.97869273 224.6988045 263.97869273 224.6988045 257.2890625 246.62280273 C256.33837624 249.49549183 255.32151367 252.34111978 254.2890625 255.18530273 C254.04752441 255.87043945 253.80598633 256.55557617 253.55712891 257.26147461 C244.38398084 282.94389568 231.16369144 307.84651325 217.77392578 331.5480957 C216.15713726 334.41960994 214.56384348 337.30343438 212.97265625 340.18920898 C194.28299041 373.98591599 174.45724145 407.95539812 150.2890625 438.18530273 C149.44778687 439.26853527 148.60664286 440.35187005 147.765625 441.43530273 C135.2777998 457.28458828 120.48484397 460.1921792 101.2734375 462.52905273 C90.97014135 463.69879989 80.63803833 464.54507968 70.2890625 465.18530273 C69.63779388 465.2287381 68.98652527 465.27217346 68.31552124 465.31692505 C50.87151776 466.45187962 33.4023821 466.37275817 15.92993164 466.37060547 C12.48782015 466.37052485 9.04584358 466.37737916 5.60375977 466.39111328 C-105.75918075 466.82808362 -105.75918075 466.82808362 -124.51953125 449.60717773 C-157.96261218 415.89492615 -181.62027539 367.86551471 -203.7109375 326.18530273 C-204.17081055 325.32195312 -204.63068359 324.45860352 -205.10449219 323.5690918 C-210.43022193 313.56936897 -215.66249875 303.52575099 -220.6484375 293.35180664 C-221.3952219 291.82906657 -222.1455397 290.30805675 -222.8984375 288.78833008 C-247.25894415 239.50588323 -247.25894415 239.50588323 -240.02416992 217.67553711 C-239.27144018 215.50512905 -238.49479043 213.34465053 -237.7109375 211.18530273 C-237.46939941 210.50016602 -237.22786133 209.8150293 -236.97900391 209.10913086 C-227.80402405 183.42158124 -214.58045959 158.51494941 -201.18701172 134.80932617 C-199.59454635 131.9783937 -198.02842516 129.13384607 -196.46484375 126.28686523 C-187.65613486 110.30892324 -178.30355216 94.70052176 -168.7109375 79.18530273 C-168.13537109 78.25363281 -167.55980469 77.32196289 -166.96679688 76.36206055 C-156.65880245 59.72842263 -145.68617783 43.66588911 -133.7109375 28.18530273 C-133.26331055 27.60167969 -132.81568359 27.01805664 -132.35449219 26.41674805 C-120.11889277 10.58083036 -106.8466946 6.70895536 -87.58569336 4.19287109 C-76.32773901 2.82264388 -65.02778011 1.90231075 -53.7109375 1.18530273 C-52.43895508 1.09627686 -51.16697266 1.00725098 -49.85644531 0.91552734 C-33.25990706 -0.14473851 -16.62256341 -0.00201494 0 0 Z " fill="#03A9F4" transform="translate(247.7109375,22.814697265625)"/><path d="M0 0 C1.94015739 -0.00006042 1.94015739 -0.00006042 3.91950989 -0.00012207 C6.6350783 0.00151661 9.34980657 0.01994719 12.06518555 0.05175781 C15.52142771 0.09155158 18.97658108 0.09578014 22.43300915 0.08829498 C25.76796881 0.08446601 29.10259375 0.10532619 32.4375 0.125 C33.66583054 0.12520142 34.89416107 0.12540283 36.15971375 0.12561035 C47.09695747 0.27540119 56.50795369 2.57843586 64.7109375 10.15625 C72.91383281 19.03758026 73.6173168 28.09554397 73.515625 39.8125 C73.51578032 41.28023348 73.51727475 42.74796735 73.52003479 44.21569824 C73.52141245 47.27858816 73.50896828 50.34100621 73.48608398 53.40380859 C73.45770082 57.30735778 73.460445 61.21012427 73.4731741 65.11373138 C73.48016705 68.14058992 73.47230105 71.16727118 73.45991707 74.19410706 C73.45543758 75.63244443 73.45503473 77.07080108 73.45898247 78.50914001 C73.47463451 89.22704255 72.73697579 98.16811946 65.89453125 106.73828125 C59.56650261 113.00039293 51.33744879 116.85517881 42.48510742 116.82080078 C41.1841362 116.82064972 39.88316498 116.82049866 38.54277039 116.82034302 C37.13267868 116.81013124 35.72258856 116.79969927 34.3125 116.7890625 C32.86233211 116.78532959 31.41216168 116.78248393 29.96199036 116.78048706 C26.15614791 116.77287249 22.35045955 116.75324289 18.54467773 116.7310791 C13.97247756 116.70696463 9.40022569 116.69782931 4.82798004 116.68617249 C-2.10827653 116.66681704 -9.0441954 116.6284796 -15.98046875 116.59375 C-15.98046875 133.75375 -15.98046875 150.91375 -15.98046875 168.59375 C-11.39269531 168.54734375 -6.80492187 168.5009375 -2.078125 168.453125 C0.84312184 168.43266627 3.7642793 168.41340924 6.68554688 168.3984375 C11.31374653 168.37460446 15.9416271 168.34653118 20.56958008 168.29199219 C24.30435729 168.2482587 28.03879193 168.22455557 31.77380562 168.21424103 C33.19266712 168.20689857 34.61151168 168.19256131 36.03022575 168.17082977 C44.27281605 168.04969077 50.83849035 168.3352293 58.01953125 172.59375 C58.66119736 172.95160583 59.30286346 173.30946167 59.963974 173.67816162 C65.70350455 177.01858226 69.07169835 182.79801075 72.01953125 188.59375 C72.99960463 192.46008043 73.17298409 196.14122422 73.22827148 200.12133789 C73.2475621 201.42361832 73.26685272 202.72589874 73.28672791 204.06764221 C73.30154165 205.48388664 73.31531404 206.90014229 73.328125 208.31640625 C73.33469683 209.03602476 73.34126865 209.75564327 73.34803963 210.49706841 C73.38056493 214.31044424 73.40502597 218.12379305 73.42456055 221.93725586 C73.44231787 225.07113991 73.47705549 228.20411465 73.52709961 231.33764648 C73.58777934 235.14313026 73.6181004 238.94777684 73.62773323 242.75372124 C73.63621165 244.19247644 73.65483803 245.63121392 73.68447685 247.0696888 C73.89092106 257.66405546 72.34689436 266.684995 65.00950623 274.82313538 C57.79090516 281.6765038 50.00657402 284.66198025 40.13452148 284.78662109 C38.39131874 284.81071548 38.39131874 284.81071548 36.61289978 284.83529663 C31.29751293 284.88008458 25.98226986 284.92125017 20.66674805 284.94384766 C17.87246601 284.9571364 15.07892301 284.98490259 12.28491211 285.02587891 C8.23669479 285.08522035 4.18925534 285.10257348 0.140625 285.1171875 C-1.09418106 285.13985687 -2.32898712 285.16252625 -3.60121155 285.18588257 C-14.04047933 285.16075819 -23.76576747 282.61833853 -31.51953125 275.26171875 C-37.13294046 268.85282641 -40.24381233 262.00617759 -40.20751953 253.40478516 C-40.20736847 252.20399323 -40.20721741 251.00320129 -40.20706177 249.76602173 C-40.1967392 248.48456268 -40.18641663 247.20310364 -40.17578125 245.8828125 C-40.17204665 244.54617526 -40.16920179 243.20953526 -40.16720581 241.87289429 C-40.15960452 238.37119868 -40.13998663 234.8696715 -40.11779785 231.36804199 C-40.09726349 227.78835325 -40.08818793 224.20863704 -40.078125 220.62890625 C-40.05673704 213.61711873 -40.02264391 206.60544247 -39.98046875 199.59375 C-40.52234329 199.75542664 -41.06421783 199.91710327 -41.62251282 200.0836792 C-44.37168919 200.67837844 -46.89396671 200.7358999 -49.70776367 200.75488281 C-50.85963669 200.76449036 -52.0115097 200.7740979 -53.19828796 200.78399658 C-54.43996231 200.78824646 -55.68163666 200.79249634 -56.9609375 200.796875 C-58.2434993 200.80257507 -59.5260611 200.80827515 -60.8474884 200.81414795 C-63.56345005 200.82464026 -66.27938228 200.83049378 -68.99536133 200.83398438 C-72.45394824 200.83945074 -75.91213783 200.86344575 -79.3706007 200.89195633 C-82.69237098 200.91521378 -86.01409013 200.9170415 -89.3359375 200.921875 C-90.56749069 200.9342218 -91.79904388 200.9465686 -93.06791687 200.95928955 C-103.65184563 200.93208632 -112.25095602 199.24643018 -120.01953125 191.58203125 C-127.14949164 183.94649185 -130.05794562 177.10919245 -130.1574707 166.60107422 C-130.17672356 164.82299881 -130.17672356 164.82299881 -130.19636536 163.00900269 C-130.20375229 161.73501617 -130.21113922 160.46102966 -130.21875 159.1484375 C-130.22282553 158.49376621 -130.22690105 157.83909492 -130.23110008 157.16458511 C-130.25190891 153.69598972 -130.26623019 150.22743322 -130.27563477 146.75878906 C-130.28665966 143.20503139 -130.32102786 139.65190666 -130.36080647 136.09837151 C-130.38715858 133.34084033 -130.3953431 130.58345544 -130.39891624 127.82580948 C-130.40605871 125.88784044 -130.43241783 123.94997219 -130.45930481 122.01217651 C-130.43034057 110.08918086 -127.76147935 101.40358223 -119.421875 92.76171875 C-112.61145264 86.71406369 -106.09578246 84.47136897 -97.06030273 84.46435547 C-95.89236679 84.46120331 -94.72443085 84.45805115 -93.52110291 84.45480347 C-92.26890457 84.4568277 -91.01670624 84.45885193 -89.7265625 84.4609375 C-88.43355728 84.45998077 -87.14055206 84.45902405 -85.80836487 84.45803833 C-83.07739054 84.45656746 -80.34644902 84.45869659 -77.61547852 84.46337891 C-74.11958175 84.46908151 -70.62376167 84.46578998 -67.1278677 84.45980644 C-63.78575985 84.45531996 -60.44367253 84.45846276 -57.1015625 84.4609375 C-55.84733994 84.45891327 -54.59311737 84.45688904 -53.30088806 84.45480347 C-52.13610428 84.45795563 -50.9713205 84.46110779 -49.77124023 84.46435547 C-48.74707504 84.46515106 -47.72290985 84.46594666 -46.66770935 84.46676636 C-44.2753053 84.57981771 -42.26539621 84.90758854 -39.98046875 85.59375 C-39.99379242 84.85618469 -40.00711609 84.11861938 -40.02084351 83.35870361 C-40.14180142 76.35768374 -40.23278436 69.35703462 -40.29134178 62.35525894 C-40.32246122 58.75672551 -40.36456763 55.15906585 -40.43310547 51.56103516 C-40.49900628 48.0790645 -40.53431995 44.59792618 -40.54973221 41.11537933 C-40.56597536 39.1612142 -40.6126984 37.20737723 -40.6602478 35.25372314 C-40.66381698 25.6424848 -38.42861053 17.99523792 -32.24203491 10.48272705 C-23.21024427 1.73860842 -12.11330374 -0.16248684 0 0 Z " fill="#FEFEFE" transform="translate(258.98046875,113.40625)"/>+ </g></svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/github.svg b/frontend/editor/src/core/icons/svg/third-party/github.svgnew file mode 100644index 0000000000..d2cc8c7362--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/github.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none">+ <g transform="translate(2 2.2703) scale(0.5405)">+<path fill="currentColor" d="M18.5 3.3125C16.5712 3.3125 14.6613 3.6924 12.8793 4.43052C11.0974 5.16864 9.47823 6.25051 8.11437 7.61437C5.35993 10.3688 3.8125 14.1046 3.8125 18C3.8125 24.4919 8.02781 29.9997 13.8588 31.9531C14.5931 32.0706 14.8281 31.6153 14.8281 31.2187V28.7366C10.7597 29.6178 9.89312 26.7684 9.89312 26.7684C9.2175 25.0647 8.26281 24.6094 8.26281 24.6094C6.92625 23.6987 8.36562 23.7281 8.36562 23.7281C9.83437 23.8309 10.6128 25.2409 10.6128 25.2409C11.8906 27.4734 14.0497 26.8125 14.8869 26.46C15.0191 25.5053 15.4009 24.8591 15.8122 24.4919C12.5516 24.1247 9.12937 22.8616 9.12937 17.2656C9.12937 15.6353 9.6875 14.3281 10.6422 13.2853C10.4953 12.9181 9.98125 11.3906 10.7891 9.40781C10.7891 9.40781 12.0228 9.01125 14.8281 10.9059C15.9884 10.5828 17.2516 10.4212 18.5 10.4212C19.7484 10.4212 21.0116 10.5828 22.1719 10.9059C24.9772 9.01125 26.2109 9.40781 26.2109 9.40781C27.0188 11.3906 26.5047 12.9181 26.3578 13.2853C27.3125 14.3281 27.8706 15.6353 27.8706 17.2656C27.8706 22.8762 24.4338 24.11 21.1584 24.4772C21.6872 24.9325 22.1719 25.8284 22.1719 27.1944V31.2187C22.1719 31.6153 22.4069 32.0853 23.1559 31.9531C28.9869 29.985 33.1875 24.4919 33.1875 18C33.1875 16.0712 32.8076 14.1613 32.0695 12.3793C31.3314 10.5974 30.2495 8.97823 28.8856 7.61437C27.5218 6.25051 25.9026 5.16864 24.1207 4.43052C22.3387 3.6924 20.4288 3.3125 18.5 3.3125Z"/>+ </g>+</svg>diff --git a/frontend/editor/src/core/assets/login/google.svg b/frontend/editor/src/core/icons/svg/third-party/google.svgsimilarity index 92%rename from frontend/editor/src/core/assets/login/google.svgrename to frontend/editor/src/core/icons/svg/third-party/google.svgindex 27e4a4ac9c..5c6031d2d1 100644--- a/frontend/editor/src/core/assets/login/google.svg+++ b/frontend/editor/src/core/icons/svg/third-party/google.svg@@ -1,5 +1,6 @@-<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">-<g clip-path="url(#clip0_2781_85129)">+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none">+ <g transform="translate(2 2) scale(0.8333)">+<g clip-path="url(#google-mark-clip)"><path d="M8.36055 0.789432C5.96258 1.62131 3.89457 3.20024 2.46029 5.29431C1.026 7.38838 0.301037 9.8872 0.391883 12.4237C0.482728 14.9603 1.38459 17.4008 2.96501 19.3869C4.54543 21.373 6.72109 22.8 9.17243 23.4582C11.1598 23.971 13.2419 23.9935 15.2399 23.5238C17.0499 23.1172 18.7233 22.2476 20.0962 21.0001C21.5251 19.662 22.5622 17.9597 23.0962 16.0763C23.6765 14.0282 23.7798 11.8743 23.3981 9.78006H12.2381V14.4094H18.7012C18.572 15.1478 18.2952 15.8525 17.8873 16.4814C17.4795 17.1102 16.9489 17.6504 16.3274 18.0694C15.5382 18.5915 14.6485 18.9428 13.7156 19.1007C12.7798 19.2747 11.82 19.2747 10.8843 19.1007C9.93591 18.9046 9.03874 18.5132 8.24993 17.9513C6.98271 17.0543 6.0312 15.7799 5.53118 14.3101C5.02271 12.8127 5.02271 11.1893 5.53118 9.69193C5.8871 8.64234 6.47549 7.68669 7.25243 6.89631C8.14154 5.97521 9.26718 5.3168 10.5058 4.99332C11.7445 4.66985 13.0484 4.6938 14.2743 5.06256C15.232 5.35654 16.1078 5.87019 16.8318 6.56256C17.5606 5.83756 18.2881 5.11068 19.0143 4.38193C19.3893 3.99006 19.7981 3.61693 20.1674 3.21568C19.0622 2.1872 17.765 1.38691 16.3499 0.860682C13.7731 -0.0749615 10.9536 -0.100106 8.36055 0.789432Z" fill="white"/><path d="M8.3607 0.789367C10.9536 -0.100776 13.7731 -0.0762934 16.3501 0.858742C17.7654 1.38855 19.062 2.19269 20.1657 3.22499C19.7907 3.62624 19.3951 4.00124 19.0126 4.39124C18.2851 5.11749 17.5582 5.84124 16.832 6.56249C16.1079 5.87012 15.2321 5.35648 14.2745 5.06249C13.0489 4.69244 11.7451 4.66711 10.5061 4.98926C9.26712 5.31141 8.14079 5.96861 7.2507 6.88874C6.47377 7.67912 5.88538 8.63477 5.52945 9.68437L1.64258 6.67499C3.03384 3.91604 5.44273 1.80566 8.3607 0.789367Z" fill="#E33629"/><path d="M0.611401 9.65654C0.820316 8.62116 1.16716 7.61847 1.64265 6.67529L5.52953 9.69217C5.02105 11.1896 5.02105 12.8129 5.52953 14.3103C4.23453 15.3103 2.9389 16.3153 1.64265 17.3253C0.452308 14.9559 0.0892746 12.2562 0.611401 9.65654Z" fill="#F8BD00"/>@@ -7,8 +8,9 @@<path d="M1.64062 17.3251C2.93687 16.3251 4.2325 15.3201 5.5275 14.3101C6.02851 15.7804 6.98138 17.0549 8.25 17.9513C9.04126 18.5106 9.94037 18.8988 10.89 19.0913C11.8257 19.2653 12.7855 19.2653 13.7212 19.0913C14.6542 18.9334 15.5439 18.5821 16.3331 18.0601C17.5875 19.0388 18.8475 20.0101 20.1019 20.9888C18.7292 22.237 17.0558 23.1073 15.2456 23.5144C13.2476 23.9841 11.1655 23.9616 9.17812 23.4488C7.60632 23.0291 6.13814 22.2893 4.86562 21.2757C3.51874 20.2063 2.41867 18.8588 1.64062 17.3251Z" fill="#319F43"/></g><defs>-<clipPath id="clip0_2781_85129">+<clipPath id="google-mark-clip"><rect width="24" height="24" fill="white"/></clipPath></defs>+ </g></svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/keycloak.svg b/frontend/editor/src/core/icons/svg/third-party/keycloak.svgnew file mode 100644index 0000000000..2e179ba501--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/keycloak.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">+ <g transform="translate(2 2.9348) scale(0.4505)">+<path d="M5.795 9.869 11.511.003 34.53 0l5.685 9.964.007 19.932-5.691 9.958-23.012.008-5.782-9.965z" fill="#4d4d4d"/><path d="M5.738 29.894h10.374l-5.698-10.041 4.634-9.982-9.252-.002L0 19.934" fill="#ededed"/><path d="M19.258 29.894h7.583l6.705-9.773-6.588-10.156h-8.92l-5.373 9.814z" fill="#e0e0e0"/><path d="m0 19.933 5.738 9.964h10.375l-5.636-9.93z" fill="#acacac"/><path d="m12.774 19.935 6.485 9.962h7.582l6.6-9.958z" fill="#9e9e9e"/><path d="m15.342 19.94-1.957.57-1.878-.571 7.667-13.29 1.918 3.318" fill="#00b8e3"/><path d="m21.084 29.894-1.908 3.332-5.093-5.487-2.58-7.797v-.004h3.838" fill="#33c6e9"/><path d="M11.508 19.939h-.004v.003l-1.917 3.322-1.925-3.307 1.952-3.386 5.728-9.92h3.834" fill="#008aaa"/><path d="M32.604 29.894h11.612l-.007-19.93H32.604Z" fill="#d4d4d4"/><path d="M32.604 19.966v9.93h11.591v-9.93z" fill="#919191"/><path d="M19.178 33.23h-3.837l-5.754-9.967 1.917-3.32z" fill="#00b8e3"/><path d="M34.519 19.939 26.85 33.227c-.705-1.036-1.913-3.33-1.913-3.33l5.753-9.96z" fill="#008aaa"/><path d="m30.68 33.227-3.83-.001 7.67-13.288 1.916-3.318 1.922 3.34m-3.839-.021h-3.828l-5.755-9.973 1.905-3.314 4.658 5.922z" fill="#00b8e3"/><path d="M36.436 16.618v.003l-1.917 3.318-7.677-13.286 3.841.002z" fill="#33c6e9"/><path d="M175.972 9.98a.193.193 0 0 0-.195.196v19.503c0 .106.086.195.195.195h4.049c.106 0 .195-.09.195-.195V24.31c0-.046.016-.093.05-.13l.181-.204 1.6-1.782a.196.196 0 0 1 .302.016l1.528 2.06 2.735 3.68 1.002 1.347.367.497c.04.05.096.08.159.08h4.7a.2.2 0 0 0 .162-.312l-.973-1.356-1.389-1.954c-.413-.576-.856-1.198-1.333-1.866l-.215-.304-1.76-2.48a1565.7 1565.7 0 0 0-1.934-2.706.19.19 0 0 1 .016-.241l1.551-1.724 3.725-4.14 2.239-2.487a.218.218 0 0 0 .05-.123.195.195 0 0 0-.196-.201h-4.97a.195.195 0 0 0-.143.062l-1.558 1.694-3.324 3.614-2.235 2.428a.194.194 0 0 1-.338-.132v-7.471a.195.195 0 0 0-.195-.195Z" fill="#626262"/><path d="M161.562 9.98a.198.198 0 0 0-.178.12l-5.213 12.065-.003.003-.007.013-.003.01-.674 1.565-.04.096-.087.195h.001l-.073.166v.003l-2.027 4.693-.298.69a.196.196 0 0 0 .178.275h4.3a.196.196 0 0 0 .175-.112c0-.004.004-.004.004-.007l1.498-3.485.248-.576a.199.199 0 0 1 .182-.12h8.08a.19.19 0 0 1 .178.12l1.664 3.866 1.865-6.618-1.499-3.47-1.339-3.098-2.712-6.273a.191.191 0 0 0-.179-.12h-2.526zm7.905 19.58v.003l.086.192c.03.073.099.12.178.12h4.3a.197.197 0 0 0 .179-.276l-.04-.09-2.838-6.567zm-5.87-13.362c.074 0 .147.04.181.117l.943 2.2.952 2.225.285.664a.194.194 0 0 1-.179.272h-4.389a.194.194 0 0 1-.178-.272l.516-1.19 1.69-3.9a.195.195 0 0 1 .18-.116z" fill="#6f6f6f"/><path d="M143.452 9.524c-.826 0-1.617.076-2.368.235v.004-.004h-.003a9.78 9.78 0 0 0-3.556 1.488 10.59 10.59 0 0 0-1.497 1.224c-1.486 1.453-2.428 3.197-2.815 5.176l-.002.003-.014.076-.005.023-.042.225v-.001l-.003.012v.006l-.01.085v.009a11.29 11.29 0 0 0-.126 1.715c0 2.63.816 4.872 2.45 6.727.175.206.367.404.565.599.506.496 1.043.93 1.608 1.3 1.68 1.098 3.619 1.647 5.818 1.647.245 0 .486-.006.724-.023 2.13-.12 4.001-.784 5.615-1.991a10.44 10.44 0 0 0 1.089-.933l.01-.01a9.983 9.983 0 0 0 1.922-2.583c.148-.288.28-.582.396-.887.46-1.174.688-2.457.688-3.845 0-.374-.016-.742-.05-1.1v-.006a9.841 9.841 0 0 0-.783-3.1c-.5-1.15-1.227-2.191-2.183-3.124-.397-.39-.814-.74-1.25-1.052-1.76-1.263-3.817-1.895-6.178-1.895zm.017 3.873c1.66 0 3.059.625 4.197 1.875.062.067.122.136.175.205 1.022 1.214 1.531 2.66 1.531 4.336 0 1.17-.248 2.223-.744 3.162a6.456 6.456 0 0 1-1.138 1.545 5.658 5.658 0 0 1-1.382 1.048c-.79.423-1.67.635-2.64.635a5.57 5.57 0 0 1-2.56-.592 5.46 5.46 0 0 1-1.12-.77 5.668 5.668 0 0 1-.516-.503c-1.14-1.243-1.71-2.751-1.71-4.524 0-.053 0-.103.003-.156.03-1.707.599-3.168 1.707-4.386.83-.912 1.802-1.495 2.913-1.74a6.03 6.03 0 0 1 1.284-.135z" fill="#7d7d7d"/><path d="M120.252 9.98a.193.193 0 0 0-.195.196v19.503c0 .106.086.195.195.195h12.528c.11 0 .196-.09.196-.195v-3.57a.195.195 0 0 0-.196-.194h-8.09a.192.192 0 0 1-.194-.191V10.176a.19.19 0 0 0-.113-.176.174.174 0 0 0-.083-.02h-2.242z" fill="#888"/><path d="M109.792 9.525c-2.923 0-5.394.989-7.415 2.96-.367.36-.7.738-1.002 1.13v.004c-1.352 1.756-2.027 3.84-2.027 6.25 0 1.377.215 2.64.649 3.794l.006-.002-.005.003c.254.695.592 1.336.999 1.948v.003c.003 0 .003.003.003.003a9.828 9.828 0 0 0 1.323 1.58 10.01 10.01 0 0 0 1.984 1.512h.003a9.831 9.831 0 0 0 .953.484h.007l.003.003h.003c1.37.602 2.907.903 4.617.903.503 0 .996-.037 1.475-.106h.01c.308-.043.612-.102.913-.175 1.683-.404 3.225-1.257 4.63-2.557v-.002l.001.002c.281-.258.559-.54.83-.837a.199.199 0 0 0-.007-.27l-2.566-2.643a.19.19 0 0 0-.172-.057.212.212 0 0 0-.116.07c-.685.81-1.465 1.419-2.338 1.822-.867.4-1.826.6-2.874.6-.718 0-1.39-.113-2.011-.341a5.641 5.641 0 0 1-2.057-1.34 5.433 5.433 0 0 1-1.3-2.066h-.007l.007-.001c-.255-.715-.38-1.508-.38-2.385 0-1.723.512-3.118 1.544-4.183.076-.076.152-.153.235-.23 1.184-1.09 2.612-1.636 4.283-1.636.611 0 1.197.076 1.75.229v-.001c1.27.344 2.384 1.085 3.343 2.216.076.09.215.096.29.007l2.498-2.832a.201.201 0 0 0-.003-.264c-1.955-2.147-4.323-3.334-7.1-3.556-.322-.025-.646-.04-.977-.04z" fill="#949494"/><path d="M82.588 9.98a.195.195 0 0 0-.17.29l1.892 3.309 3.423 5.983 1.38 2.41a.2.2 0 0 1 .026.097v7.61c0 .106.086.195.195.195h4.049c.109 0 .194-.09.194-.195v-7.61c0-.033.01-.066.027-.096l.976-1.706 3.704-6.476.757-1.32.503-.88h-.007l.007-.003.754-1.316a.194.194 0 0 0-.168-.29h-4.363a.196.196 0 0 0-.168.095l-3.953 6.803-.003.003v.003l-.212.156-.159.122a.203.203 0 0 1-.082-.076l-.067-.112-.099-.17-3.905-6.73a.196.196 0 0 0-.169-.095zm15.537 2.04v.002l-.004.002z" fill="#aaa"/><path d="M66.598 9.98a.193.193 0 0 0-.196.196v19.503c0 .106.086.195.195.195h14.264c.11 0 .196-.09.196-.195v-3.54a.196.196 0 0 0-.196-.194h-9.825a.195.195 0 0 1-.196-.195v-3.737c0-.106.09-.196.196-.196h8.519a.195.195 0 0 0 .195-.194v-3.394c0-.11-.09-.195-.195-.195h-8.52a.196.196 0 0 1-.195-.195V14.13c0-.11.09-.195.196-.195h9.515a.195.195 0 0 0 .195-.195v-3.565a.195.195 0 0 0-.195-.195h-7.829z" fill="#bcbcbc"/><path d="M47.256 9.98a.193.193 0 0 0-.195.196v19.503c0 .106.086.195.195.195h4.048c.11 0 .196-.09.196-.195V24.31c0-.046.016-.093.05-.13l.842-.942.94-1.044a.196.196 0 0 1 .3.016l2.808 3.777.002.002 2.016 2.713.81 1.09a.19.19 0 0 0 .156.08h4.703a.197.197 0 0 0 .158-.31l-.171-.241a693.927 693.927 0 0 1-1.846-2.587c-.566-.79-1.194-1.673-1.888-2.652l-.07-.1v.002-.002a1569.226 1569.226 0 0 0-3.628-5.086.195.195 0 0 1 .017-.241l1.772-1.968h-.006l.006-.001v-.003l1.459-1.62 1.402-1.558 2.88-3.202a.194.194 0 0 0-.145-.324H59.1a.196.196 0 0 0-.146.063l-3.079 3.345-4.038 4.39a.194.194 0 0 1-.338-.132V10.17a.193.193 0 0 0-.195-.192h-2.11zm.091 9.823v.01h-.001zm12.27 8.34v.002h-.001z" fill="#b8b8b8"/><path d="M89.222 29.806c-.024-.025-.045-1.79-.045-3.92V22.01l-3.38-5.904c-1.996-3.487-3.364-5.945-3.342-6.003.032-.084.357-.098 2.278-.098 2.052 0 2.25.01 2.342.115.055.064.986 1.649 2.069 3.523 1.082 1.873 2.003 3.443 2.045 3.488.194.21.46-.181 2.48-3.662l2.01-3.465h2.275c1.894 0 2.28.016 2.31.094.02.05-1.477 2.737-3.326 5.969l-3.362 5.876-.066 7.872-2.121.018c-1.167.01-2.142-.003-2.167-.028z" fill="#a0a0a0"/><path d="M66.456 29.767c-.017-.045-.023-4.503-.014-9.905l.017-9.823h14.22v3.837l-4.855.017c-3.453.012-4.88.038-4.944.09-.13.109-.13 3.91 0 4.018.063.052 1.362.079 4.448.09l4.36.018v3.638l-4.36.017c-3.086.012-4.385.039-4.448.09-.07.06-.089.465-.089 1.98 0 1.047.018 1.95.04 2.009.036.094.538.104 4.999.104 3.29 0 5 .023 5.086.069.122.065.128.156.128 1.872 0 1.314-.022 1.825-.08 1.883-.118.118-14.463.115-14.508-.003z" fill="#acacac"/>+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/linux.svg b/frontend/editor/src/core/icons/svg/third-party/linux.svgnew file mode 100644index 0000000000..2e3ac587eb--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/linux.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">+ <path fill="currentColor" d="M14.62 8.35c-.18.11-.4.28-.66.35-.24.08-.5.16-.72.16-.4 0-.72-.13-.98-.28-.16-.09-.29-.19-.4-.28l-.08-.06a.29.29 0 0 0-.34.02.28.28 0 0 0-.05.4c.02.02.16.16.4.3.24.16.6.32 1.05.32.34 0 .66-.08.94-.18.28-.1.5-.22.68-.34.42-.28.68-.6.68-.6a.28.28 0 0 0-.06-.4.29.29 0 0 0-.4.06s-.2.26-.53.45zM9.36 6.6c.35 0 .63.32.63.72s-.28.72-.63.72c-.35 0-.63-.32-.63-.72s.28-.72.63-.72zm5.3 0c.35 0 .63.32.63.72s-.28.72-.63.72c-.35 0-.63-.32-.63-.72s.28-.72.63-.72zM12 0C6.9 0 4.28 3.98 4.34 7.66c.06 3.68-.9 4.98-1.72 6.28C1.8 15.24.9 16.4.9 18.1c0 .96.4 1.6 1 2 .6.4 1.36.5 2.1.6.74.1 1.46.2 2 .5.54.3.9.8 1.7.9.4.06.86 0 1.3-.2.44-.2.86-.54 1.16-1.06h1.68c.3.52.72.86 1.16 1.06.44.2.9.26 1.3.2.8-.1 1.16-.6 1.7-.9.54-.3 1.26-.4 2-.5.74-.1 1.5-.2 2.1-.6.6-.4 1-1.04 1-2 0-1.7-.9-2.86-1.72-4.16-.82-1.3-1.78-2.6-1.72-6.28C19.72 3.98 17.1 0 12 0z" />+</svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/microsoft.svg b/frontend/editor/src/core/icons/svg/third-party/microsoft.svgnew file mode 100644index 0000000000..f5f88d4d74--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/microsoft.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none">+ <g transform="translate(2 2) scale(0.8696)">+<path fill="#F25022" d="M0 0h10.5v10.5H0V0z"/><path fill="#7FBA00" d="M12.5 0H23v10.5H12.5V0z"/><path fill="#00A4EF" d="M0 12.5h10.5V23H0V12.5z"/><path fill="#FFB900" d="M12.5 12.5H23V23H12.5V12.5z"/>+ </g>+</svg>diff --git a/frontend/editor/src/core/icons/svg/third-party/windows.svg b/frontend/editor/src/core/icons/svg/third-party/windows.svgnew file mode 100644index 0000000000..911cd9168f--- /dev/null+++ b/frontend/editor/src/core/icons/svg/third-party/windows.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">+ <path fill="currentColor" d="M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801" />+</svg>diff --git a/frontend/editor/src/core/tests/helpers/stub-test-base.ts b/frontend/editor/src/core/tests/helpers/stub-test-base.tsindex 0affaea4fb..1227c0d728 100644--- a/frontend/editor/src/core/tests/helpers/stub-test-base.ts+++ b/frontend/editor/src/core/tests/helpers/stub-test-base.ts@@ -87,7 +87,7 @@ export const test = base.extend<StubFixtures>({await mockAppApis(page, stubOptions);if (autoGoto !== false) {// waitUntil: 'domcontentloaded' avoids hanging on third-party CDN- // resources (iconify, posthog, stripe) the stub doesn't mock — the+ // resources (posthog, stripe) the stub doesn't mock — the// default 'load' event waits for ALL subresources, which can time out// on slow runners and is rarely what tests actually need.await page.goto(autoGoto, { waitUntil: "domcontentloaded" });diff --git a/frontend/editor/src/core/tests/stubbed/all-tool-pages-load.spec.ts b/frontend/editor/src/core/tests/stubbed/all-tool-pages-load.spec.tsindex 38d19aca86..efdef35b33 100644--- a/frontend/editor/src/core/tests/stubbed/all-tool-pages-load.spec.ts+++ b/frontend/editor/src/core/tests/stubbed/all-tool-pages-load.spec.ts@@ -90,7 +90,7 @@ async function verifyToolPageLoads(urlPath: string,) {// waitUntil: 'domcontentloaded' avoids hanging on third-party CDN resources- // (iconify, posthog, stripe) the stub doesn't mock — the default 'load'+ // (posthog, stripe) the stub doesn't mock — the default 'load'// event waits for ALL subresources, which can time out on slow runners.await page.goto(urlPath, { waitUntil: "domcontentloaded" });diff --git a/frontend/editor/src/core/tests/stubbed/stripe-lazy-load.spec.ts b/frontend/editor/src/core/tests/stubbed/stripe-lazy-load.spec.tsindex 32cf10918a..7c1aaf5f4b 100644--- a/frontend/editor/src/core/tests/stubbed/stripe-lazy-load.spec.ts+++ b/frontend/editor/src/core/tests/stubbed/stripe-lazy-load.spec.ts@@ -41,7 +41,7 @@ test.describe("Stripe SDK lazy loading", () => {await page.waitForLoadState("networkidle", { timeout: 15_000 }).catch(() => {- // Posthog / iconify keep some connections warm — fall back to a+ // Posthog keeps some connections warm — fall back to a// brief settle window if networkidle never resolves.});await page.waitForTimeout(2_000);diff --git a/frontend/editor/src/core/tools/pdfTextEditor/components/PageRulers.tsx b/frontend/editor/src/core/tools/pdfTextEditor/components/PageRulers.tsxindex 130b83a656..dcebb58b3a 100644--- a/frontend/editor/src/core/tools/pdfTextEditor/components/PageRulers.tsx+++ b/frontend/editor/src/core/tools/pdfTextEditor/components/PageRulers.tsx@@ -396,6 +396,7 @@ function RulerBand({overflow: "hidden",}}>+ {/* icon-lint-allow: runtime-generated-svg -- ruler ticks are computed from the page */}<svgwidth={bandWidth}height={bandHeight}diff --git a/frontend/editor/src/core/ui/Avatar.stories.tsx b/frontend/editor/src/core/ui/Avatar.stories.tsxindex 4183f8c1df..dfdb00244a 100644--- a/frontend/editor/src/core/ui/Avatar.stories.tsx+++ b/frontend/editor/src/core/ui/Avatar.stories.tsx@@ -35,6 +35,7 @@ export const SizeRow: Story = {const LOGO_INK = "#111827"; // theme-allow-color a user's uploaded file, which no token reaches+// icon-lint-allow: storybook-fixture -- a stand-in for a user's uploaded logo, not an app iconconst TRANSPARENT_LOGO ="data:image/svg+xml;utf8," +encodeURIComponent(diff --git a/frontend/editor/src/core/ui/BellIcon.tsx b/frontend/editor/src/core/ui/BellIcon.tsxdeleted file mode 100644index 87908c4af6..0000000000--- a/frontend/editor/src/core/ui/BellIcon.tsx+++ /dev/null@@ -1,22 +0,0 @@-/**- * An outline bell. The bundled Material Symbols set only carries the filled variant,- * which reads as permanently ringing.- */-export function BellIcon({ size = 18 }: { size?: number }) {- return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="1.75"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" />- <path d="M13.73 21a2 2 0 0 1-3.46 0" />- </svg>- );-}diff --git a/frontend/editor/src/core/ui/Button.stories.tsx b/frontend/editor/src/core/ui/Button.stories.tsxindex 82bd5769cb..822f85f385 100644--- a/frontend/editor/src/core/ui/Button.stories.tsx+++ b/frontend/editor/src/core/ui/Button.stories.tsx@@ -7,18 +7,7 @@ import { Button } from "@app/ui/Button";const Plus = () => <Icon name="plus" size="1em" />;const Arrow = () => <Icon name="arrow-right" size="1em" />;const Trash = () => <Icon name="trash" size="1em" />;-const Sparkle = () => (- <svg- width="1em"- height="1em"- viewBox="0 0 24 24"- fill="currentColor"- aria-hidden- >- <path d="M12 2l1.9 5.1L19 9l-5.1 1.9L12 16l-1.9-5.1L5 9l5.1-1.9L12 2z" />- <path d="M19 14l.9 2.4L22 17l-2.1.8L19 20l-.9-2.2L16 17l2.1-.6L19 14z" />- </svg>-);+const Sparkle = () => <Icon name="sparkles" size="1em" />;const meta: Meta<typeof Button> = {title: "Primitives/Button",diff --git a/frontend/editor/src/core/ui/ChatFABButton.tsx b/frontend/editor/src/core/ui/ChatFABButton.tsxindex e1ee7cea96..f1de1b88e8 100644--- a/frontend/editor/src/core/ui/ChatFABButton.tsx+++ b/frontend/editor/src/core/ui/ChatFABButton.tsx@@ -1,4 +1,5 @@import type { ButtonHTMLAttributes } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { BrandMark } from "@app/components/shared/BrandMark";import "@app/ui/ChatFABButton.css";@@ -42,21 +43,12 @@ export function ChatFABButton({)}{showTick && (<span className="chat-fab-btn__tick" aria-hidden="true">- <svg- xmlns="http://www.w3.org/2000/svg"- width={10}- height={10}- viewBox="0 0 10 10"- fill="none"- >- <path- d="M2 5l2 2 4-4"- stroke="#fff"- strokeWidth={1.6}- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>+ <Icon+ name="check"+ size={10}+ strokeWidth={2.5}+ style={{ color: "white" }}+ /></span>)}</button>diff --git a/frontend/editor/src/core/ui/Checkbox.tsx b/frontend/editor/src/core/ui/Checkbox.tsxindex eb7a6263b7..d2ada35e50 100644--- a/frontend/editor/src/core/ui/Checkbox.tsx+++ b/frontend/editor/src/core/ui/Checkbox.tsx@@ -1,4 +1,5 @@import { forwardRef, type InputHTMLAttributes, type ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import "@app/ui/Checkbox.css";export interface CheckboxProps extends Omit<@@ -42,19 +43,12 @@ export const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>({...rest}/><span className="sui-check__box" aria-hidden>- <svg- viewBox="0 0 16 16"- width="10"- height="10"- fill="none"- stroke="currentColor"- strokeWidth={2.5}- strokeLinecap="round"- strokeLinejoin="round"+ <Icon+ name="check"+ size={10}+ strokeWidth={3}className="sui-check__tick"- >- <polyline points="3 8.5 7 12 13 4" />- </svg>+ /><span className="sui-check__dash" /></span>{leadingIcon && (diff --git a/frontend/editor/src/core/ui/Collapsible.css b/frontend/editor/src/core/ui/Collapsible.cssindex 1565464810..586d4655b4 100644--- a/frontend/editor/src/core/ui/Collapsible.css+++ b/frontend/editor/src/core/ui/Collapsible.css@@ -31,7 +31,7 @@transition: transform 0.2s ease;}-.sui-collapsible__chevron[data-open="true"] {+.sui-collapsible__head[aria-expanded="true"] .sui-collapsible__chevron {transform: rotate(0deg);}diff --git a/frontend/editor/src/core/ui/Collapsible.tsx b/frontend/editor/src/core/ui/Collapsible.tsxindex 12992c2668..4106a834a0 100644--- a/frontend/editor/src/core/ui/Collapsible.tsx+++ b/frontend/editor/src/core/ui/Collapsible.tsx@@ -1,4 +1,5 @@import type { ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import "@app/ui/Collapsible.css";export interface CollapsibleProps {@@ -33,21 +34,12 @@ export function Collapsible({onClick={onToggle}aria-expanded={open}>- <svg- className="sui-collapsible__chevron"- data-open={open}- viewBox="0 0 24 24"- width={16}- height={16}- fill="none"- stroke="currentColor"+ <Icon+ name="chevron-down"+ size={16}strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <polyline points="6 9 12 15 18 9" />- </svg>+ className="sui-collapsible__chevron"+ />{header}</button><div className="sui-collapsible__body" data-open={open}>diff --git a/frontend/editor/src/core/ui/DataTable.tsx b/frontend/editor/src/core/ui/DataTable.tsxindex c8ad2e410d..e8b5f7f986 100644--- a/frontend/editor/src/core/ui/DataTable.tsx+++ b/frontend/editor/src/core/ui/DataTable.tsx@@ -125,17 +125,7 @@ export interface DataTableProps<T> {}function SortGlyph() {- return (- <svg- width="10"- height="10"- viewBox="0 0 24 24"- fill="currentColor"- aria-hidden- >- <path d="M12 8 6 15h12z" />- </svg>- );+ return <Icon name="triangle" size={10} filled />;}const CHEVRON_COLUMN_KEY = "__affordance";diff --git a/frontend/editor/src/core/ui/DataTableFilterBar.tsx b/frontend/editor/src/core/ui/DataTableFilterBar.tsxindex 463dd0e7da..01ecc3e9f2 100644--- a/frontend/editor/src/core/ui/DataTableFilterBar.tsx+++ b/frontend/editor/src/core/ui/DataTableFilterBar.tsx@@ -3,6 +3,7 @@ import { useTranslation } from "react-i18next";import { Button } from "@app/ui/Button";import { Chip } from "@app/ui/Chip";import { Dropdown } from "@app/ui/Dropdown";+import { Icon } from "@app/ui/Icon";import { Input } from "@app/ui/Input";import "@app/ui/DataTableFilterBar.css";@@ -141,45 +142,15 @@ export function useDataTableFilters<T>({}function SearchGlyph() {- return (- <svg width="15" height="15" viewBox="0 0 24 24" fill="none" aria-hidden>- <circle cx="11" cy="11" r="7" stroke="currentColor" strokeWidth="2" />- <path- d="m20 20-3.5-3.5"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- />- </svg>- );+ return <Icon name="search" size={15} strokeWidth={2} />;}function CaretGlyph() {- return (- <svg width="12" height="12" viewBox="0 0 24 24" fill="none" aria-hidden>- <path- d="m6 9 6 6 6-6"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>- );+ return <Icon name="chevron-down" size={12} strokeWidth={2} />;}function CheckGlyph() {- return (- <svg width="11" height="11" viewBox="0 0 24 24" fill="none" aria-hidden>- <path- d="m4.5 12.5 5 5 10-11"- stroke="currentColor"- strokeWidth="3"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>- );+ return <Icon name="check" size={11} strokeWidth={3} />;}/** The bar itself. State and derivation come from {@link useDataTableFilters}. */diff --git a/frontend/editor/src/core/ui/Drawer.tsx b/frontend/editor/src/core/ui/Drawer.tsxindex b8ccf7c615..fc07bf48ea 100644--- a/frontend/editor/src/core/ui/Drawer.tsx+++ b/frontend/editor/src/core/ui/Drawer.tsx@@ -1,4 +1,5 @@import { useEffect, useId, type ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import { createPortal } from "react-dom";import { FocusTrap } from "@mantine/core";import { useTranslation } from "react-i18next";@@ -111,22 +112,7 @@ export function Drawer({className="sui-drawer__close"onClick={onClose}aria-label={t("common.close", "Close")}- leftSection={- <svg- viewBox="0 0 24 24"- width="16"- height="16"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>- }+ leftSection={<Icon name="x" size={16} />}/></header>)}diff --git a/frontend/editor/src/core/ui/Forms.stories.tsx b/frontend/editor/src/core/ui/Forms.stories.tsxindex dff72b6da7..15d63a44cf 100644--- a/frontend/editor/src/core/ui/Forms.stories.tsx+++ b/frontend/editor/src/core/ui/Forms.stories.tsx@@ -1,4 +1,5 @@import { useState } from "react";+import { Icon } from "@app/ui/Icon";import type { Meta, StoryObj } from "@storybook/react-vite";import { FormField } from "@app/ui/FormField";import { Input } from "@app/ui/Input";@@ -9,23 +10,8 @@ import { Slider } from "@app/ui/Slider";import { Stack } from "@app/ui/Stack";import { Inline } from "@app/ui/Inline";-// Inline icon to avoid a cross-layer import; shared/ must not depend on portal/.function SearchIcon({ size = 14 }: { size?: number }) {- return (- <svg- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- >- <circle cx="11" cy="11" r="7" />- <line x1="21" y1="21" x2="16.65" y2="16.65" />- </svg>- );+ return <Icon name="search" size={size} />;}const meta: Meta = {diff --git a/frontend/editor/src/core/ui/InfoTooltip.tsx b/frontend/editor/src/core/ui/InfoTooltip.tsxindex b03ffa217a..fc97a452d3 100644--- a/frontend/editor/src/core/ui/InfoTooltip.tsx+++ b/frontend/editor/src/core/ui/InfoTooltip.tsx@@ -1,4 +1,5 @@import type { ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import { Tooltip, type FloatingPosition } from "@mantine/core";import { useTranslation } from "react-i18next";import "@app/ui/InfoTooltip.css";@@ -42,21 +43,7 @@ export function InfoTooltip({: t("common.moreInformation", "More information"))}>- <svg- viewBox="0 0 24 24"- width="14"- height="14"- fill="none"- stroke="currentColor"- strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <circle cx="12" cy="12" r="10" />- <line x1="12" y1="16" x2="12" y2="12" />- <line x1="12" y1="8" x2="12.01" y2="8" />- </svg>+ <Icon name="info" size={14} strokeWidth={2} /></button></Tooltip>);diff --git a/frontend/editor/src/core/ui/Logo.tsx b/frontend/editor/src/core/ui/Logo.tsxindex a16d8d6001..acbd9bdd18 100644--- a/frontend/editor/src/core/ui/Logo.tsx+++ b/frontend/editor/src/core/ui/Logo.tsx@@ -1,7 +1,9 @@import type { CSSProperties } from "react";-import markUrl from "@app/assets/brand/branding-logo/logo-mark.svg";+import { Icon } from "@app/ui/Icon";import wordmarkLightUrl from "@app/assets/brand/branding-logo/wordmark-light.svg";import wordmarkDarkUrl from "@app/assets/brand/branding-logo/wordmark-dark.svg";+// The mark takes its two fills from the brand mark's path classes.+import "@app/components/shared/BrandMark.css";import "@app/ui/Logo.css";/** iconOnly = mark; textOnly = "Stirling" wordmark; iconAndText = both. */@@ -60,12 +62,11 @@ export function Logo({return (<span className={cls} style={{ ...layoutStyle, ...style }}>{showIcon && (- <img+ <Icon+ name="stirling-mark"className="sui-logo__mark"- src={markUrl}- alt={showText ? "" : alt}- aria-hidden={showText ? true : undefined}- style={{ height: iconHeight }}+ size={iconHeight}+ title={showText ? undefined : alt}/>)}{showText && (diff --git a/frontend/editor/src/core/ui/MetricStrip.stories.tsx b/frontend/editor/src/core/ui/MetricStrip.stories.tsxindex 615af0e0e2..939a66ace9 100644--- a/frontend/editor/src/core/ui/MetricStrip.stories.tsx+++ b/frontend/editor/src/core/ui/MetricStrip.stories.tsx@@ -1,24 +1,10 @@import type { Meta, StoryObj } from "@storybook/react-vite";+import { Icon } from "@app/ui/Icon";import { MetricStrip } from "@app/ui/MetricStrip";import { MetricCard } from "@app/ui/MetricCard";function ShieldIcon() {- return (- <svg- xmlns="http://www.w3.org/2000/svg"- width={22}- height={22}- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- >- <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />- <path d="m9 12 2 2 4-4" />- </svg>- );+ return <Icon name="shield-check" size={22} />;}const meta: Meta<typeof MetricStrip> = {diff --git a/frontend/editor/src/core/ui/Modal.tsx b/frontend/editor/src/core/ui/Modal.tsxindex 495d343089..c95e592faa 100644--- a/frontend/editor/src/core/ui/Modal.tsx+++ b/frontend/editor/src/core/ui/Modal.tsx@@ -1,4 +1,5 @@import { useEffect, useId, useRef, type ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import { createPortal } from "react-dom";import { FocusTrap } from "@mantine/core";import { useTranslation } from "react-i18next";@@ -110,22 +111,7 @@ export function Modal({className="sui-modal__back"onClick={onBack}aria-label={backLabel ?? t("common.back", "Back")}- leftSection={- <svg- viewBox="0 0 24 24"- width="16"- height="16"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <line x1="19" y1="12" x2="5" y2="12" />- <polyline points="12 19 5 12 12 5" />- </svg>- }+ leftSection={<Icon name="arrow-left" size={16} />}/>)}<div className="sui-modal__header-text">@@ -144,22 +130,7 @@ export function Modal({className="sui-modal__close"onClick={onClose}aria-label={t("common.close", "Close")}- leftSection={- <svg- viewBox="0 0 24 24"- width="16"- height="16"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>- }+ leftSection={<Icon name="x" size={16} />}/></header>)}diff --git a/frontend/editor/src/core/ui/SectionHeader.css b/frontend/editor/src/core/ui/SectionHeader.cssindex 8a534d09a1..be19b91e8c 100644--- a/frontend/editor/src/core/ui/SectionHeader.css+++ b/frontend/editor/src/core/ui/SectionHeader.css@@ -28,6 +28,6 @@ button.sui-sectionhdr {flex-shrink: 0;transition: transform var(--motion-fast);}-.sui-sectionhdr__chevron[data-collapsed="true"] {+.sui-sectionhdr[aria-expanded="false"] .sui-sectionhdr__chevron {transform: rotate(-90deg);}diff --git a/frontend/editor/src/core/ui/SectionHeader.tsx b/frontend/editor/src/core/ui/SectionHeader.tsxindex be7cab5d32..bfd7d7d637 100644--- a/frontend/editor/src/core/ui/SectionHeader.tsx+++ b/frontend/editor/src/core/ui/SectionHeader.tsx@@ -1,4 +1,5 @@import type { ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import "@app/ui/SectionHeader.css";export interface SectionHeaderProps {@@ -32,21 +33,12 @@ export function SectionHeader({<span className="sui-sectionhdr__title">{title}</span>{count != null && <span className="sui-sectionhdr__count">{count}</span>}{collapsible && (- <svg- className="sui-sectionhdr__chevron"- data-collapsed={!expanded}- viewBox="0 0 24 24"- width={14}- height={14}- fill="none"- stroke="currentColor"+ <Icon+ name="chevron-down"+ size={14}strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <polyline points="6 9 12 15 18 9" />- </svg>+ className="sui-sectionhdr__chevron"+ />)}</>);diff --git a/frontend/editor/src/core/ui/SettingsShell.tsx b/frontend/editor/src/core/ui/SettingsShell.tsxindex 2e47dd6219..a7851dc3aa 100644--- a/frontend/editor/src/core/ui/SettingsShell.tsx+++ b/frontend/editor/src/core/ui/SettingsShell.tsx@@ -1,4 +1,5 @@import type { ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { Button } from "@app/ui/Button";import "@app/ui/SettingsShell.css";@@ -104,22 +105,7 @@ export function SettingsShell({className="sui-settings-shell__close"onClick={onClose}aria-label={t("common.close", "Close")}- leftSection={- <svg- viewBox="0 0 24 24"- width="16"- height="16"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>- }+ leftSection={<Icon name="x" size={16} />}/>)}</div>diff --git a/frontend/editor/src/core/ui/dataTableColumns.tsx b/frontend/editor/src/core/ui/dataTableColumns.tsxindex 1b7e54bfcd..91e8af3e29 100644--- a/frontend/editor/src/core/ui/dataTableColumns.tsx+++ b/frontend/editor/src/core/ui/dataTableColumns.tsx@@ -1,4 +1,5 @@import { Fragment, type ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import { StatusBadge, type StatusTone } from "@app/ui/StatusBadge";import { Chip, type ChipAccent } from "@app/ui/Chip";import { Button } from "@app/ui/Button";@@ -48,19 +49,7 @@ export interface DataTableColumn<T> {export type CellGlyph = "kebab";function KebabGlyph() {- return (- <svg- width="16"- height="16"- viewBox="0 0 24 24"- fill="currentColor"- aria-hidden- >- <circle cx="12" cy="5" r="1.6" />- <circle cx="12" cy="12" r="1.6" />- <circle cx="12" cy="19" r="1.6" />- </svg>- );+ return <Icon name="ellipsis-vertical" size={16} filled />;}/** An item in a kebab action menu. */diff --git a/frontend/editor/src/core/ui/index.ts b/frontend/editor/src/core/ui/index.tsindex 120c3cc1eb..7b3f7408ee 100644--- a/frontend/editor/src/core/ui/index.ts+++ b/frontend/editor/src/core/ui/index.ts@@ -1,6 +1,5 @@export * from "@app/ui/Button";export * from "@app/ui/ActionIcon";-export * from "@app/ui/BellIcon";export * from "@app/ui/Logo";export * from "@app/ui/FilePicker";export * from "@app/ui/SegmentedControl";diff --git a/frontend/editor/src/desktop/components/SetupWizard/DesktopOAuthButtons.tsx b/frontend/editor/src/desktop/components/SetupWizard/DesktopOAuthButtons.tsxindex 6d4940e178..881e899b53 100644--- a/frontend/editor/src/desktop/components/SetupWizard/DesktopOAuthButtons.tsx+++ b/frontend/editor/src/desktop/components/SetupWizard/DesktopOAuthButtons.tsx@@ -2,7 +2,7 @@ import React, { useState } from "react";import { useTranslation } from "react-i18next";import { authService, UserInfo } from "@app/services/authService";import { buildOAuthCallbackHtml } from "@app/utils/oauthCallbackHtml";-import { oauthIconUrl } from "@app/auth/ui/oauthIcons";+import { ProviderMark } from "@app/auth/ui/ProviderMark";import { STIRLING_SAAS_URL } from "@app/constants/connection";import { Button } from "@app/ui/Button";import "@app/components/SetupWizard/desktopOAuth.css";@@ -160,11 +160,9 @@ export const DesktopOAuthButtons: React.FC<DesktopOAuthButtonsProps> = ({><span className="oauth-button-left-desktop"><span className="oauth-icon-wrapper-desktop">- <img- src={oauthIconUrl(- iconConfig?.file || GENERIC_PROVIDER_ICON,- )}- alt={label}+ <ProviderMark+ file={iconConfig?.file || GENERIC_PROVIDER_ICON}+ label={label}className="oauth-icon-tiny-desktop"/></span>diff --git a/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoChart.tsx b/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoChart.tsxindex 43ff4a13c3..8f207bf910 100644--- a/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoChart.tsx+++ b/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoChart.tsx@@ -94,6 +94,7 @@ export function ClassificationDemoChart({return (<div className={styles.chartWrap}>+ {/* icon-lint-allow: runtime-generated-svg -- chart geometry is computed from the demo data */}<svgviewBox={`0 0 ${SIZE} ${SIZE}`}className={styles.chart}diff --git a/frontend/editor/src/desktop/components/quickNav/ClassificationProgressRing.tsx b/frontend/editor/src/desktop/components/quickNav/ClassificationProgressRing.tsxindex f4ab2a6bf5..4ed889a34e 100644--- a/frontend/editor/src/desktop/components/quickNav/ClassificationProgressRing.tsx+++ b/frontend/editor/src/desktop/components/quickNav/ClassificationProgressRing.tsx@@ -91,6 +91,7 @@ export function ClassificationProgressRing({data-state={done ? "done" : "running"}onClick={onClick}>+ {/* icon-lint-allow: runtime-generated-svg -- ring dash length is computed from classification progress */}<svgviewBox={`0 0 ${SIZE} ${SIZE}`}className={styles.ring}diff --git a/frontend/editor/src/portal/components/AssistantButton.tsx b/frontend/editor/src/portal/components/AssistantButton.tsxindex 223382bfeb..1c61f1cc5d 100644--- a/frontend/editor/src/portal/components/AssistantButton.tsx+++ b/frontend/editor/src/portal/components/AssistantButton.tsx@@ -19,20 +19,7 @@ export function AssistantButton() {title={t("portal.assistant.title")}>{assistantOpen ? (- <svg- viewBox="0 0 24 24"- width="20"- height="20"- fill="none"- stroke="currentColor"- strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>+ <Icon name="x" size={20} strokeWidth={2} />) : (<Icon name="sparkles" size={22} />)}diff --git a/frontend/editor/src/portal/components/ProcessorFlow.tsx b/frontend/editor/src/portal/components/ProcessorFlow.tsxindex 09bed88b5d..ec88a74919 100644--- a/frontend/editor/src/portal/components/ProcessorFlow.tsx+++ b/frontend/editor/src/portal/components/ProcessorFlow.tsx@@ -142,7 +142,7 @@ export function ProcessorFlow({ dataOverride }: ProcessorFlowProps = {}) {<FlowSankey sources={sources} outcomes={outcomes} policies={policies} />) : (<div className="portal-pf__stage" ref={wrapRef}>- {/* icon-lint-disable -- connector geometry is computed from node positions */}+ {/* icon-lint-allow: runtime-generated-svg -- connector geometry is computed from node positions */}<svg className="portal-pf__wires" aria-hidden>{wires}</svg>@@ -168,7 +168,7 @@ export function ProcessorFlow({ dataOverride }: ProcessorFlowProps = {}) {/></div>- {/* icon-lint-disable -- connector geometry is computed from node positions */}+ {/* icon-lint-allow: runtime-generated-svg -- connector geometry is computed from node positions */}<svg className="portal-pf__particles" aria-hidden><g ref={pGroupRef} /></svg>diff --git a/frontend/editor/src/portal/components/account-link/connect/ConnectDoneSlide.tsx b/frontend/editor/src/portal/components/account-link/connect/ConnectDoneSlide.tsxindex 341cf1905b..8a072c7a8c 100644--- a/frontend/editor/src/portal/components/account-link/connect/ConnectDoneSlide.tsx+++ b/frontend/editor/src/portal/components/account-link/connect/ConnectDoneSlide.tsx@@ -1,4 +1,5 @@import { useEffect, useState } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { useNavigate } from "react-router-dom";import { MeterBar, remainingMeter } from "@app/billing";@@ -18,20 +19,12 @@ const LOW_CREDITS = 100;function Chevron() {return (- <svg- className="portal-connect__next-chevron"- viewBox="0 0 24 24"- width="16"- height="16"- fill="none"- stroke="currentColor"+ <Icon+ name="chevron-right"+ size={16}strokeWidth={2}- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- <polyline points="9 6 15 12 9 18" />- </svg>+ className="portal-connect__next-chevron"+ />);}diff --git a/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsx b/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsxindex 657046220f..38f2d3f16b 100644--- a/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsx+++ b/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsx@@ -224,7 +224,7 @@ export function FlowSankey({ sources, outcomes, policies }: FlowSankeyProps) {return (<div className="portal-pf__sankey">- {/* icon-lint-disable -- d3 sankey diagram */}+ {/* icon-lint-allow: runtime-generated-svg -- d3 sankey diagram */}<svg viewBox={`0 0 ${SW} ${SH}`} width="100%" aria-hidden>{wires}{bars}diff --git a/frontend/editor/src/proprietary/auth/ui/OAuthButtons.tsx b/frontend/editor/src/proprietary/auth/ui/OAuthButtons.tsxindex 615239a43b..219304e7c0 100644--- a/frontend/editor/src/proprietary/auth/ui/OAuthButtons.tsx+++ b/frontend/editor/src/proprietary/auth/ui/OAuthButtons.tsx@@ -1,4 +1,5 @@import { useTranslation } from "react-i18next";+import { Icon } from "@app/ui/Icon";import { type OAuthProvider } from "@app/auth/spring/oauthTypes";import { Button as DSButton } from "@app/ui/Button";import { GENERIC_PROVIDER_ICON } from "@app/auth/ui/oauthIcons";@@ -210,19 +211,11 @@ export default function OAuthButtons({</span>{useNewStyle && isSingleProvider && (<span className="oauth-button-right" aria-hidden="true">- <svg+ <Icon+ name="arrow-right"+ strokeWidth={2}className="oauth-arrow-icon"- viewBox="0 0 24 24"- fill="none"- >- <path- d="M5 12h12m0 0-5-5m5 5-5 5"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>+ /></span>)}</DSButton>diff --git a/frontend/editor/src/proprietary/components/agents/StirlingLogoAnimated.tsx b/frontend/editor/src/proprietary/components/agents/StirlingLogoAnimated.tsxindex 85cac7464d..80437891c9 100644--- a/frontend/editor/src/proprietary/components/agents/StirlingLogoAnimated.tsx+++ b/frontend/editor/src/proprietary/components/agents/StirlingLogoAnimated.tsx@@ -1,23 +1,6 @@+import { Icon } from "@app/ui/Icon";import "@app/components/chat/ChatPanel.css";export function StirlingLogoAnimated({ size = 20 }: { size?: number }) {- return (- <svg- xmlns="http://www.w3.org/2000/svg"- width={size}- height={size}- viewBox="0 0 192 192"- fill="currentColor"- aria-hidden="true"- >- <path- className="stirling-thinking__path-right"- d="M68.48 102.4 L184.73 6.45 L184.73 96.05 L68.48 192 Z"- />- <path- className="stirling-thinking__path-left"- d="M7.26 95.83 L123.37 0 L123.37 89.5 L7.26 185.33 Z"- />- </svg>- );+ return <Icon name="stirling-mark-thinking" size={size} />;}diff --git a/frontend/editor/src/proprietary/routes/login/OAuthButtons.test.tsx b/frontend/editor/src/proprietary/routes/login/OAuthButtons.test.tsxindex 7b583907fe..105c89f9b1 100644--- a/frontend/editor/src/proprietary/routes/login/OAuthButtons.test.tsx+++ b/frontend/editor/src/proprietary/routes/login/OAuthButtons.test.tsx@@ -214,19 +214,19 @@ describe("OAuthButtons", () => {</TestWrapper>,);- // Each known provider renders an icon, and the icons are distinct. Icons- // are bundled assets (data URI / hashed URL), so assert distinctness rather- // than matching filenames.- const srcOf = (label: string) =>- screen.getByText(label).closest("button")?.querySelector("img")?.src;- const srcs = [- srcOf("Google"),- srcOf("GitHub"),- srcOf("Authentik"),- srcOf("Keycloak"),+ // Each known provider renders its own registry mark: an svg, and a+ // different one per provider rather than the shared fallback glyph.+ const markOf = (label: string) =>+ screen.getByText(label).closest("button")?.querySelector("svg")+ ?.outerHTML;+ const marks = [+ markOf("Google"),+ markOf("GitHub"),+ markOf("Authentik"),+ markOf("Keycloak"),];- srcs.forEach((src) => expect(src).toBeTruthy());- expect(new Set(srcs).size).toBe(4);+ marks.forEach((mark) => expect(mark).toBeTruthy());+ expect(new Set(marks).size).toBe(4);});it("should handle mixed known and unknown providers", async () => {diff --git a/frontend/editor/src/saas/components/shared/config/configSections/Overview.tsx b/frontend/editor/src/saas/components/shared/config/configSections/Overview.tsxindex bb0652cba0..9bd207cd14 100644--- a/frontend/editor/src/saas/components/shared/config/configSections/Overview.tsx+++ b/frontend/editor/src/saas/components/shared/config/configSections/Overview.tsx@@ -3,7 +3,6 @@ import {Alert,Divider,Group,- Image,LoadingOverlay,PasswordInput,Text,@@ -22,7 +21,7 @@ import {linkOAuthIdentity,supabase,} from "@app/auth/supabase";-import { oauthIconUrl } from "@app/auth/ui/oauthIcons";+import { ProviderMark } from "@app/auth/ui/ProviderMark";import { oauthProviders } from "@app/constants/authProviders";import { Tooltip } from "@app/components/shared/Tooltip";import { absoluteWithBasePath } from "@app/constants/app";@@ -586,9 +585,9 @@ const Overview: React.FC<OverviewProps> = ({ onLogoutClick }) => {variant="secondary"size="sm"leftSection={- <Image- src={oauthIconUrl(provider.file)}- alt={provider.label}+ <ProviderMark+ file={provider.file}+ label={provider.label}style={{ width: 16, height: 16 }}/>}diff --git a/frontend/editor/src/saas/routes/login/OAuthButtons.tsx b/frontend/editor/src/saas/routes/login/OAuthButtons.tsxindex b7c5b85d65..8ca277d364 100644--- a/frontend/editor/src/saas/routes/login/OAuthButtons.tsx+++ b/frontend/editor/src/saas/routes/login/OAuthButtons.tsx@@ -2,7 +2,7 @@ import { oauthProviders } from "@app/constants/authProviders";import { useTranslation } from "@app/hooks/useTranslation";import { Tooltip } from "@app/components/shared/Tooltip";import { Button } from "@app/ui/Button";-import { oauthIconUrl } from "@app/auth/ui/oauthIcons";+import { ProviderMark } from "@app/auth/ui/ProviderMark";// Exports for compatibility with proprietary codeexport const DEBUG_SHOW_ALL_PROVIDERS = false;@@ -58,9 +58,9 @@ export default function OAuthButtons({},)}>- <img- src={oauthIconUrl(p.file)}- alt={p.label}+ <ProviderMark+ file={p.file}+ label={p.label}className={`oauth-icon-small oauth-icon--${p.id} ${p.isDisabled ? "opacity-20" : ""}`}/></Button>@@ -98,9 +98,9 @@ export default function OAuthButtons({},)}>- <img- src={oauthIconUrl(p.file)}- alt={p.label}+ <ProviderMark+ file={p.file}+ label={p.label}className={`oauth-icon-medium oauth-icon--${p.id} ${p.isDisabled ? "opacity-20" : ""}`}/></Button>@@ -123,9 +123,9 @@ export default function OAuthButtons({title={p.label}><span className="oauth-btn-group">- <img- src={oauthIconUrl(p.file)}- alt={p.label}+ <ProviderMark+ file={p.file}+ label={p.label}className={`oauth-icon-medium oauth-icon--${p.id} ${p.isDisabled ? "opacity-20" : ""}`}style={{ marginRight: "0.5rem", flexShrink: 0 }}/>@@ -151,9 +151,9 @@ export default function OAuthButtons({className="oauth-button-vertical"title={p.label}>- <img- src={oauthIconUrl(p.file)}- alt={p.label}+ <ProviderMark+ file={p.file}+ label={p.label}className={`oauth-icon-tiny oauth-icon--${p.id} ${p.isDisabled ? "opacity-20" : ""}`}/>{p.label}