mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Reduce blue color usage in menu buttons buttons
This makes the interface overall more legible. Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
<Radio ariaLabel="Toggle render method">
|
||||
<Button
|
||||
styleBorderRadius="0"
|
||||
variant={showMarkdown ? "secondary" : "gray"}
|
||||
variant={showMarkdown ? "gray-white" : "dim"}
|
||||
on:click={() => {
|
||||
window.location.hash = "";
|
||||
showMarkdown = true;
|
||||
@@ -217,7 +217,7 @@
|
||||
</Button>
|
||||
<Button
|
||||
styleBorderRadius="0"
|
||||
variant={!showMarkdown ? "secondary" : "gray"}
|
||||
variant={!showMarkdown ? "gray-white" : "dim"}
|
||||
on:click={() => {
|
||||
showMarkdown = false;
|
||||
}}>
|
||||
@@ -226,7 +226,7 @@
|
||||
</Radio>
|
||||
{/if}
|
||||
<a href="{rawPath}/{blob.path}">
|
||||
<Button variant="secondary">
|
||||
<Button variant="gray-white">
|
||||
Raw
|
||||
<IconSmall name="arrow-box-up-right" />
|
||||
</Button>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.identifier {
|
||||
@@ -44,6 +43,7 @@
|
||||
popoverBorderRadius="var(--border-radius-small)"
|
||||
disabled={hideDropdown}>
|
||||
<Button
|
||||
variant="outline"
|
||||
let:expanded
|
||||
slot="toggle"
|
||||
styleBorderRadius="var(--border-radius-tiny) 0 0 var(--border-radius-tiny)"
|
||||
@@ -67,6 +67,7 @@
|
||||
{/if}
|
||||
|
||||
<Button
|
||||
variant={selectedBranch ? "gray" : "outline"}
|
||||
styleBorderRadius={selectedBranch
|
||||
? "0 var(--border-radius-tiny) var(--border-radius-tiny) 0"
|
||||
: "var(--border-radius-tiny)"}>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
}}>
|
||||
<Button
|
||||
styleBorderRadius="0"
|
||||
variant={filesLinkActive ? "secondary" : "gray"}>
|
||||
variant={filesLinkActive ? "gray-white" : "dim"}>
|
||||
<IconSmall name="file" />Files
|
||||
</Button>
|
||||
</Link>
|
||||
@@ -90,7 +90,7 @@
|
||||
}}>
|
||||
<Button
|
||||
styleBorderRadius="0"
|
||||
variant={historyLinkActive ? "secondary" : "gray"}>
|
||||
variant={historyLinkActive ? "gray-white" : "dim"}>
|
||||
<IconSmall name="commit" />
|
||||
<div>
|
||||
{tree.stats.commits}
|
||||
@@ -98,13 +98,13 @@
|
||||
</div>
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
<Button styleBorderRadius="0" disabled>
|
||||
<IconSmall name="user" />
|
||||
<div>
|
||||
{tree.stats.contributors}
|
||||
{pluralize("contributor", tree.stats.contributors)}
|
||||
</div>
|
||||
</Button>
|
||||
</Radio>
|
||||
|
||||
<Button disabled variant="outline">
|
||||
<IconSmall name="user" />
|
||||
<div>
|
||||
{tree.stats.contributors}
|
||||
{pluralize("contributor", tree.stats.contributors)}
|
||||
</div>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user