Skip to content

Commit 1b49c20

Browse files
author
Arthur Desaintjan
committed
[design-system] nitpick on button hover opacity and graph summary gap
1 parent 10c5f35 commit 1b49c20

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/gephi-lite/src/components/GraphSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const GraphSummary: FC<{ className?: string }> = ({ className }) => {
181181
<div className={cx("graph-summary d-flex flex-column gl-gap-2", className)}>
182182
<GraphTitleEditable title={metadata.title} save={saveTitle} />
183183
<div className="gl-px-2 gl-gap-x-2 d-flex flex-column position-relative">
184-
<div className="d-flex flex-row flex-wrap gl-gap-x-2 gl-gap-y-3" style={{ lineHeight: 1.2 }}>
184+
<div className="d-flex flex-row flex-wrap gl-gap-x-3 gl-gap-y-3" style={{ lineHeight: 1.2 }}>
185185
<GraphStat type="nodes" current={filteredGraph.order} total={fullGraph.order} />
186186
<GraphStat type="edges" current={filteredGraph.size} total={fullGraph.size} />
187187
</div>

packages/gephi-lite/src/designSystem/Buttons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ For exemple :
248248

249249
The opacity of each states are defined as gl variables:
250250

251-
- `$gl-sys-proportion-component-hover-color-mix: $gl-ref-proportion-12; //12%`
252-
- `$gl-sys-proportion-component-focus-color-mix: $gl-ref-proportion-12; //12%`
251+
- `$gl-sys-proportion-component-hover-color-mix: $gl-ref-proportion-8; //8%`
252+
- `$gl-sys-proportion-component-focus-color-mix: $gl-ref-proportion-8; //8%`
253253
- `$gl-sys-proportion-component-active-color-mix: $gl-ref-proportion-24; //24%`
254254
- `$gl-sys-proportion-component-disabled-color-mix: $gl-ref-proportion-16; //16%`
255255

packages/gephi-lite/src/styles/gl/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ $gl-sys-color-dark-onComponentBg: $gl-ref-color-neutral-80;
8686

8787
//----Color Mix Proportion
8888
//----Components
89-
$gl-sys-proportion-component-hover-color-mix: $gl-ref-proportion-12; //12%
90-
$gl-sys-proportion-component-focus-color-mix: $gl-ref-proportion-12; //12%
89+
$gl-sys-proportion-component-hover-color-mix: $gl-ref-proportion-8; //8%
90+
$gl-sys-proportion-component-focus-color-mix: $gl-ref-proportion-8; //8%
9191
$gl-sys-proportion-component-active-color-mix: $gl-ref-proportion-24; //24%
9292
$gl-sys-proportion-component-disabled-color-mix: $gl-ref-proportion-16; //16%
9393
$gl-sys-proportion-component-border-active-color-mix: $gl-ref-proportion-64; //64%

0 commit comments

Comments
 (0)