cladogram 0.5.5-beta.8 → 0.6.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,181 +1,48 @@
1
- .clado-brand-plugin { position: relative; }
2
- .clado-brand {
3
- display: flex;
4
- align-items: center;
5
- gap: 8px;
6
- height: 44px;
7
- padding: 6px 11px 6px 7px;
8
- color: var(--clado-ui-text);
9
- border-radius: var(--clado-ui-radius);
10
- }
11
- .clado-brand strong { font-size: 17px; font-weight: 680; letter-spacing: -.05em; }
12
- .clado-brand-mark {
13
- display: grid;
14
- place-items: center;
15
- width: 28px;
16
- height: 28px;
17
- border-radius: 8px;
18
- background: transparent;
19
- flex: none;
20
- }
21
- .clado-brand-mark svg {
22
- display: block;
23
- width: 100%;
24
- height: 100%;
25
- }
26
- .clado-brand-settings {
27
- position: absolute;
28
- inset: calc(100% + 8px) auto auto 0;
29
- width: min(192px, calc(100vw - 32px));
30
- display: grid;
31
- gap: 3px;
32
- padding: 8px;
33
- border-radius: 18px;
34
- }
35
- .clado-brand-settings p {
36
- margin: 0;
37
- padding: 3px 9px 4px;
38
- color: var(--clado-ui-subtle);
39
- font-size: 11px;
40
- font-weight: 600;
41
- }
42
- .clado-brand-choice {
43
- min-height: 36px;
44
- padding-inline: 10px;
45
- display: grid;
46
- grid-template-columns: 16px 1fr 14px;
47
- align-items: center;
48
- gap: 8px;
49
- text-align: start;
50
- color: var(--clado-ui-text);
51
- border-radius: 11px;
1
+ .clado-brand-plugin {
2
+ position: relative;
52
3
  }
53
- .clado-brand-choice[aria-pressed="true"] { font-weight: 600; }
54
- .clado-brand-choice svg {
55
- display: block;
56
- width: 16px;
57
- height: 16px;
58
- fill: none;
4
+ .clado-svg-ico {
5
+ width: 14px;
6
+ height: 14px;
59
7
  stroke: currentColor;
60
- stroke-width: 1.7;
8
+ fill: none;
9
+ stroke-width: 1.58;
61
10
  stroke-linecap: round;
62
11
  stroke-linejoin: round;
12
+ flex: none;
63
13
  }
64
- .clado-brand-check { visibility: hidden; color: var(--clado-ui-brand); }
65
- .clado-brand-choice[aria-pressed="true"] .clado-brand-check { visibility: visible; }
66
- .clado-brand-check svg { width: 14px; height: 14px; stroke-width: 2.2; }
67
- .clado-brand-capture {
68
- margin-block-start: 3px;
69
- grid-template-columns: 16px 1fr;
70
- }
71
- .clado-brand:is(:hover,[aria-expanded="true"]) { color: var(--clado-ui-text); }
72
- .clado-plugin-manager, .clado-plugin-editor {
73
- position: fixed;
74
- inset: 0;
75
- margin: auto;
76
- width: min(454px, calc(100vw - 32px));
77
- max-height: calc(100dvh - 40px);
78
- padding: 20px;
79
- overflow: auto;
80
- }
81
- :is(.clado-plugin-manager,.clado-plugin-editor) :is(header,footer) {
82
- display: flex;
14
+ .clado-top-pill {
15
+ display: inline-flex;
83
16
  align-items: center;
84
- justify-content: space-between;
85
- gap: 12px;
86
- }
87
- .clado-plugin-editor { width: min(600px, calc(100vw - 32px)); }
88
- :is(.clado-plugin-manager,.clado-plugin-editor) h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
89
- .clado-plugin-manager-actions { display: flex; align-items: center; gap: 6px; }
90
- .clado-plugin-manager .clado-plugin-install-trigger {
91
- background: var(--clado-ui-accent);
92
- border-color: var(--clado-ui-accent);
93
- color: var(--clado-ui-solid);
94
- }
95
- .clado-plugin-manager .clado-plugin-install-trigger:hover { opacity: .88; }
96
- .clado-plugin-install {
97
- margin-top: 12px;
98
- padding: 10px 12px;
99
- border: 1px solid var(--clado-ui-edge);
100
- border-radius: 11px;
101
- background: var(--clado-ui-well);
102
- }
103
- .clado-plugin-install p { margin: 0 0 8px; overflow-wrap: anywhere; color: var(--clado-ui-muted); }
104
- .clado-plugin-install .clado-plugin-manager-actions { justify-content: end; }
105
- .clado-plugin-manager-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
106
- .clado-plugin-manager-list article {
107
- display: grid;
108
- grid-template-columns: minmax(0, 1fr) auto;
109
- grid-template-rows: auto auto 1fr auto;
110
- align-items: start;
111
- gap: 6px;
112
- min-height: 116px;
113
- padding: 12px;
114
- border: 1px solid var(--clado-ui-edge);
115
- border-radius: calc(var(--clado-ui-radius) - 4px);
116
- background: color-mix(in srgb, var(--clado-ui-well) 70%, transparent);
117
- }
118
- .clado-plugin-manager-list article:has(input:not(:checked)) { background: transparent; }
119
- .clado-plugin-card-icon { grid-area: 1 / 1; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--clado-ui-edge); border-radius: 9px; background: color-mix(in srgb, var(--clado-ui-solid) 75%, transparent); }
120
- .clado-plugin-card-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--clado-ui-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
121
- .clado-plugin-manager-list strong {
122
- grid-area: 2 / 1 / auto / -1;
123
- align-self: center;
124
- overflow-wrap: anywhere;
125
- }
126
- .clado-plugin-manager-list small { grid-area: 3 / 1 / auto / -1; color: var(--clado-ui-muted); }
127
- .clado-plugin-manager-list article button { grid-area: 4 / 2; min-height: 28px; padding: 4px 7px; }
128
- .clado-plugin-manager-list input {
129
- grid-area: 1 / 2;
130
- align-self: center;
131
- appearance: none;
132
- position: relative;
133
- width: 33px;
134
- height: 19px;
135
- margin: 0;
136
- border-radius: 99px;
137
- background: var(--clado-ui-edge);
138
- cursor: pointer;
139
- }
140
- .clado-plugin-manager-list input::before {
141
- content: "";
142
- position: absolute;
143
- inset: 3px auto auto 3px;
144
- width: 13px;
145
- height: 13px;
146
- border-radius: 50%;
147
- background: var(--clado-ui-solid);
148
- }
149
- .clado-plugin-manager-list input:checked { background: var(--clado-ui-accent); }
150
- .clado-plugin-manager-list input:checked::before { transform: translateX(14px); }
151
- .clado-plugin-manager-list input:focus-visible { outline: 2px solid var(--clado-ui-accent); outline-offset: 2px; }
152
- .clado-plugin-manager-list input:disabled { opacity: .5; cursor: default; }
153
- :is(.clado-plugin-manager,.clado-plugin-editor) footer span { color: var(--clado-ui-muted); font-size: 12px; }
154
- .clado-plugin-editor-path { color: var(--clado-ui-muted); font: 12px ui-monospace, monospace; }
155
- .clado-plugin-editor textarea {
156
- box-sizing: border-box;
157
- width: 100%;
158
- padding: 10px;
159
- border: 1px solid var(--clado-ui-edge);
160
- border-radius: 10px;
161
- background: var(--clado-ui-well);
17
+ gap: 3px;
18
+ padding: 4px 8px 4px 5px;
19
+ border-radius: 999px;
20
+ min-height: 40px;
21
+ }
22
+ .clado-top-pill-btn {
23
+ padding: 5px 10px;
24
+ min-height: 30px;
25
+ font-size: 12px;
26
+ font-weight: 530;
27
+ color: var(--clado-ui-muted);
28
+ }
29
+ .clado-top-pill-btn:hover {
162
30
  color: var(--clado-ui-text);
163
- font: 13px/1.5 ui-monospace, monospace;
164
- resize: vertical;
165
31
  }
166
- .clado-plugin-editor details { padding: 10px 0; color: var(--clado-ui-muted); }
167
- .clado-plugin-editor pre { max-height: 180px; overflow: auto; }
168
- @media (max-width: 680px) {
169
- .clado-brand { width: 42px; height: 42px; padding: 6px; justify-content: center; }
170
- .clado-brand strong { display: none; }
171
- .clado-plugin-manager, .clado-plugin-editor {
172
- inset: auto 0 0 0;
173
- margin: 0;
174
- width: 100vw;
175
- max-width: 100vw;
176
- max-height: 82dvh;
177
- border-radius: 22px 22px 0 0;
178
- padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
179
- }
180
- .clado-plugin-manager-list { grid-template-columns: minmax(0, 1fr); }
32
+ .clado-top-pill-ws {
33
+ font-size: 12.5px;
34
+ font-weight: 620;
35
+ color: var(--clado-ui-text);
36
+ padding: 0 6px;
37
+ max-width: 240px;
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ white-space: nowrap;
41
+ }
42
+ .clado-top-pill-sep {
43
+ width: 1px;
44
+ height: 13px;
45
+ background: var(--clado-ui-edge);
46
+ margin: 0 3px;
47
+ flex: none;
181
48
  }
@@ -1,5 +1,5 @@
1
1
  (() => {
2
- function renderTree(container, documents, { selected='', query='', onOpen=()=>{}, folders=new Set() } = {}) {
2
+ function renderTree(container, documents, { selected='', query='', onOpen=()=>{}, onRename=null, onDelete=null, folders=new Set() } = {}) {
3
3
  const needle=query.trim().toLocaleLowerCase(), root={folders:new Map(),files:[]};
4
4
  for(const doc of documents) {
5
5
  if(needle && !(doc.title+' '+doc.file).toLocaleLowerCase().includes(needle))continue;
@@ -15,13 +15,30 @@
15
15
  const children=document.createElement('div');children.className='tree-children';details.append(children);render(folder,children);parent.append(details);
16
16
  }
17
17
  for(const doc of node.files) {
18
+ const row=document.createElement('div');row.className='document-row';
18
19
  const button=document.createElement('button');button.className='clado-ui-button document-button';button.dataset.file=doc.file;if(doc.file===selected)button.setAttribute('aria-current','page');
19
20
  const strong=document.createElement('strong');strong.textContent=doc.title;
20
- const small=document.createElement('small');small.textContent=doc.file.split('/').pop();button.append(strong,small);button.onclick=()=>onOpen(doc.file);parent.append(button);
21
+ const small=document.createElement('small');small.textContent=doc.file.split('/').pop();button.append(strong,small);button.onclick=()=>onOpen(doc.file);
22
+ row.append(button);
23
+ if (onRename || onDelete) {
24
+ const ops=document.createElement('span');ops.className='document-row-ops';
25
+ if (onRename) {
26
+ const ren=document.createElement('button');ren.type='button';ren.className='doc-op-btn';ren.title='重命名画布';ren.setAttribute('aria-label','重命名画布 '+doc.file);ren.innerHTML='<svg class="clado-svg-ico" style="width:12px;height:12px" viewBox="0 0 24 24"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"/></svg>';
27
+ ren.onclick=ev=>{ev.stopPropagation();onRename(doc);};
28
+ ops.append(ren);
29
+ }
30
+ if (onDelete) {
31
+ const del=document.createElement('button');del.type='button';del.className='doc-op-btn danger';del.title='删除画布';del.setAttribute('aria-label','删除画布 '+doc.file);del.innerHTML='<svg class="clado-svg-ico" style="width:12px;height:12px" viewBox="0 0 24 24"><path d="M18 6 6 18M6 6l12 12"/></svg>';
32
+ del.onclick=ev=>{ev.stopPropagation();onDelete(doc);};
33
+ ops.append(del);
34
+ }
35
+ row.append(ops);
36
+ }
37
+ parent.append(row);
21
38
  }
22
39
  }
23
40
  render(root,container);
24
- if(!container.childElementCount){const empty=document.createElement('p');empty.className='tree-empty';empty.textContent=needle?'没有匹配的文档':'还没有可展示的文档';container.append(empty);}
41
+ if(!container.childElementCount){const empty=document.createElement('p');empty.className='tree-empty';empty.textContent=needle?'没有匹配的画布':'还没有可展示的画布';container.append(empty);}
25
42
  }
26
43
 
27
44
  window.CladoDirectoryPlugin = (host, actions) => {
@@ -31,22 +48,22 @@
31
48
  <button type="button" id="directoryButton" class="clado-ui-glass clado-ui-button directory-toggle" aria-expanded="false" aria-controls="directory" title="切换 Markdown 画布">
32
49
  <svg aria-hidden="true" viewBox="0 0 24 24"><path d="M4 7a2 2 0 0 1 2-2h4l2 2h6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2Z"/></svg>
33
50
  <span id="currentWorkspaceName" hidden></span>
34
- 文档 <span id="fileCount">…</span><span id="currentFileName" hidden></span>
51
+ 画布 <span id="fileCount">…</span><span id="currentFileName" hidden></span>
35
52
  </button>
36
53
  <aside id="directory" class="clado-ui-glass clado-ui-glass-panel" aria-label="Markdown 画布目录" hidden>
37
54
  <div class="directory-scroll">
38
55
  <div id="directoryHubBar" class="directory-actions" style="margin-bottom:6px;" hidden>
39
- <button type="button" class="clado-ui-button" id="pickWorkspaceButton" title="选择或切换电脑上的项目目录">📂 切换项目</button>
40
- <button type="button" class="clado-ui-button" id="newCanvasButton" title="在当前工作区新建一张 Markdown 画布">+ 新建画布</button>
56
+ <button type="button" class="clado-ui-button" id="pickWorkspaceButton" title="返回大厅或切换项目目录">切换项目</button>
57
+ <button type="button" class="clado-ui-button clado-ui-button-primary" id="newCanvasButton" title="在当前工作区新建一张 Markdown 画布">+ 新建画布</button>
41
58
  </div>
42
59
  <div id="workspaceSection" class="directory-workspaces" hidden>
43
60
  <div class="directory-workspaces-title">子工作区</div>
44
61
  <div id="workspaceList" class="directory-workspace-list"></div>
45
62
  </div>
46
- <div class="directory-heading"><strong>Markdown/</strong></div>
47
- <label class="directory-search"><input id="documentSearch" type="search" aria-label="搜索文档" placeholder="搜索名称或路径…"></label>
48
- <nav id="documentList" aria-label="可用 Markdown"></nav>
49
- <div class="directory-current"><span id="syncStatus" role="status">连接本地目录</span></div>
63
+ <div class="directory-heading"><strong>画布列表</strong></div>
64
+ <label class="directory-search"><input id="documentSearch" type="search" aria-label="搜索画布" placeholder="搜索画布名称或路径…"></label>
65
+ <nav id="documentList" aria-label="可用画布"></nav>
66
+ <div class="directory-current"><span id="syncStatus" role="status">已连接本地工作区</span></div>
50
67
  <div class="directory-actions"><button class="clado-ui-button" id="backButton" disabled>← 返回</button><button class="clado-ui-button" id="refreshButton" title="重新扫描目录并刷新当前文档">刷新</button><button class="clado-ui-button" id="sourceButton">源文</button></div>
51
68
  <button id="skippedButton" class="clado-ui-button skipped" hidden></button>
52
69
  </div>
@@ -86,7 +103,12 @@
86
103
  $('#fileCount').textContent = index.documents.length;
87
104
  $('.directory-heading strong').textContent = index.root || 'Markdown';
88
105
  renderTree($('#documentList'), index.documents, {
89
- selected, query, folders, onOpen: file => { setOpen(false); actions.open(file); },
106
+ selected,
107
+ query,
108
+ folders,
109
+ onOpen: file => { setOpen(false); actions.open(file); },
110
+ onRename: actions.renameCanvas ? doc => actions.renameCanvas(doc) : null,
111
+ onDelete: actions.deleteCanvas ? doc => actions.deleteCanvas(doc) : null,
90
112
  });
91
113
  $('#skippedButton').hidden = !index.skipped.length;
92
114
  $('#skippedButton').textContent = index.skipped.length + ' 份文档未收录 · 查看原因';
@@ -164,3 +164,50 @@
164
164
  border-radius: 24px;
165
165
  }
166
166
  }
167
+
168
+ .document-row {
169
+ display: flex;
170
+ align-items: center;
171
+ gap: 2px;
172
+ position: relative;
173
+ }
174
+ .document-row > .document-button {
175
+ flex: 1 1 auto;
176
+ min-width: 0;
177
+ }
178
+ .document-row-ops {
179
+ display: inline-flex;
180
+ align-items: center;
181
+ gap: 2px;
182
+ flex: 0 0 auto;
183
+ opacity: 0.42;
184
+ transition: opacity 140ms ease;
185
+ }
186
+ .document-row:hover .document-row-ops,
187
+ .document-row:focus-within .document-row-ops {
188
+ opacity: 1;
189
+ }
190
+ .doc-op-btn {
191
+ appearance: none;
192
+ border: 0;
193
+ background: transparent;
194
+ color: var(--clado-ui-muted);
195
+ width: 24px;
196
+ height: 24px;
197
+ border-radius: 7px;
198
+ font: inherit;
199
+ font-size: 12px;
200
+ cursor: pointer;
201
+ display: inline-flex;
202
+ align-items: center;
203
+ justify-content: center;
204
+ }
205
+ .doc-op-btn:hover {
206
+ background: var(--clado-ui-hover);
207
+ color: var(--clado-ui-text);
208
+ }
209
+ .doc-op-btn.danger:hover {
210
+ color: #e11d48;
211
+ background: rgba(225, 29, 72, 0.1);
212
+ }
213
+
@@ -1,5 +1,6 @@
1
1
  (() => {
2
2
  const modes = [['cards', '卡片'], ['mindmap', '脑图'], ['doc', '文档']];
3
+ const icoArrow = '<svg class="clado-svg-ico" aria-hidden="true" viewBox="0 0 24 24"><path d="M5 12h14M13 5l7 7-7 7"/></svg>';
3
4
  const button = (className, text) => {
4
5
  const element = document.createElement('button');
5
6
  element.type = 'button';
@@ -11,6 +12,10 @@
11
12
  function mountViewControls(host, actions) {
12
13
  const controls = document.createElement('div');
13
14
  controls.className = 'clado-view-controls';
15
+
16
+ const topRow = document.createElement('div');
17
+ topRow.className = 'clado-view-top-row';
18
+
14
19
  const bar = document.createElement('div');
15
20
  bar.className = 'clado-ui-glass clado-view-bar';
16
21
  const group = document.createElement('div');
@@ -29,6 +34,17 @@
29
34
  return item;
30
35
  });
31
36
  bar.append(group);
37
+ topRow.append(bar);
38
+
39
+ if (actions.openHandoff) {
40
+ const deliverBtn = document.createElement('button');
41
+ deliverBtn.type = 'button';
42
+ deliverBtn.className = 'clado-ui-button clado-ui-button-primary clado-deliver-btn';
43
+ deliverBtn.innerHTML = icoArrow + '<span>交付产物</span>';
44
+ deliverBtn.title = '将画布设计交付给角色落地开发、测试或归档';
45
+ deliverBtn.onclick = () => actions.openHandoff();
46
+ topRow.append(deliverBtn);
47
+ }
32
48
 
33
49
  const statuses = document.createElement('div');
34
50
  statuses.className = 'clado-view-status';
@@ -37,7 +53,7 @@
37
53
  const exit = button('clado-ui-glass clado-ui-button', '退出聚焦');
38
54
  exit.onclick = actions.clearFocus;
39
55
  statuses.append(issues, exit);
40
- controls.append(bar, statuses);
56
+ controls.append(topRow, statuses);
41
57
  host.mount('top-right', controls, 'clado.view-controls');
42
58
  return ({ mode, focused = false, errors = 0, warnings = 0 }) => {
43
59
  group.style.setProperty('--clado-view-index', String(Math.max(0, modes.findIndex(entry => entry[0] === mode))));
@@ -1,5 +1,34 @@
1
- .clado-view-controls { display: flex; flex-direction: column; align-items: end; gap: 7px; pointer-events: none; }
2
- .clado-view-bar { padding: 4px; }
1
+ .clado-view-controls {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: end;
5
+ gap: 8px;
6
+ pointer-events: none;
7
+ }
8
+ .clado-view-top-row {
9
+ display: inline-flex;
10
+ align-items: center;
11
+ gap: 9px;
12
+ }
13
+ .clado-view-bar {
14
+ padding: 4px;
15
+ border-radius: 999px;
16
+ position: relative;
17
+ }
18
+ .clado-view-bar::after {
19
+ content: "";
20
+ position: absolute;
21
+ left: 12px;
22
+ right: 12px;
23
+ bottom: -6px;
24
+ height: 16px;
25
+ border-radius: 999px;
26
+ background: linear-gradient(90deg, rgba(56, 189, 248, 0.55), rgba(167, 139, 250, 0.42), rgba(244, 114, 182, 0.30));
27
+ filter: blur(14px);
28
+ opacity: 0.55;
29
+ pointer-events: none;
30
+ z-index: -2;
31
+ }
3
32
  .clado-view-modes {
4
33
  position: relative;
5
34
  display: grid;
@@ -9,12 +38,13 @@
9
38
  .clado-view-modes .clado-ui-button:hover:where(:not(:disabled)),
10
39
  .clado-view-modes .clado-ui-button[aria-pressed="true"] {
11
40
  position: relative;
12
- min-height: 34px;
13
- padding-inline: 14px;
41
+ min-height: 30px;
42
+ padding: 5px 14px;
43
+ font-size: 12px;
14
44
  background: transparent;
15
45
  border-color: transparent;
16
46
  box-shadow: none;
17
- border-radius: calc(var(--clado-ui-radius) - 5px);
47
+ border-radius: 999px;
18
48
  }
19
49
  .clado-view-modes .clado-ui-button:hover:where(:not(:disabled):not([aria-pressed="true"])) {
20
50
  color: var(--clado-ui-text);
@@ -27,7 +57,7 @@
27
57
  position: absolute;
28
58
  inset: 0 auto 0 0;
29
59
  width: calc(100% / 3);
30
- border-radius: calc(var(--clado-ui-radius) - 5px);
60
+ border-radius: 999px;
31
61
  border: 1px solid var(--clado-ui-glass-outline);
32
62
  background: var(--clado-ui-active);
33
63
  box-shadow: var(--clado-ui-active-shadow);
@@ -35,29 +65,17 @@
35
65
  transition: transform 220ms cubic-bezier(.22,.75,.24,1);
36
66
  pointer-events: none;
37
67
  }
38
- @media (prefers-reduced-motion: reduce) {
39
- .clado-view-thumb { transition: none; }
40
- }
41
- @media (prefers-reduced-transparency: reduce) {
42
- .clado-view-thumb { background: var(--clado-ui-active); }
68
+ .clado-deliver-btn {
69
+ min-height: 38px;
70
+ padding: 7px 15px;
71
+ font-size: 12px;
72
+ border-radius: 999px;
73
+ pointer-events: auto;
43
74
  }
44
75
  .clado-view-status { display: flex; gap: 6px; }
45
76
  .clado-view-bar, .clado-view-status > * { pointer-events: auto; }
46
- .clado-view-status .clado-ui-button { border-radius: 12px; font-size: 12px; }
47
- .clado-view-status .clado-issue-count {
48
- color: #8a5000;
49
- border-color: transparent;
50
- background: transparent;
51
- --clado-ui-glass-fill: var(--clado-ui-surface);
52
- }
53
- .clado-view-status .clado-issue-count::after { display: none; }
54
- .clado-view-status .clado-issue-count:hover:where(:not(:disabled)) {
55
- background: color-mix(in srgb, var(--clado-ui-accent) 6%, transparent);
56
- }
57
- .clado-view-status .has-errors { color: #b72e3c; }
58
- [data-theme="dark"] .clado-view-status .clado-issue-count { color: #efb860; }
59
- [data-theme="dark"] .clado-view-status .has-errors { color: #ffacb6; }
60
-
61
- @media (max-width: 680px) {
62
- .clado-view-modes .clado-ui-button { padding-inline: 11px; min-height: 36px; font-size: 12.5px; }
63
- }
77
+ .clado-view-status .clado-ui-button { border-radius: 999px; font-size: 12px; }
78
+ .clado-view-status .clado-issue-count { color: #b45309; }
79
+ .clado-view-status .has-errors { color: #be123c; }
80
+ [data-theme="dark"] .clado-view-status .clado-issue-count { color: #fcd34d; }
81
+ [data-theme="dark"] .clado-view-status .has-errors { color: #fda4af; }