Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions packages/graphiql-plugin-collections/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.graphiql-collections-status {
padding: var(--px-4) var(--px-12);
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--accent-green));
}

Expand All @@ -29,7 +29,7 @@
.graphiql-collections-loading {
padding: var(--px-8) var(--px-12);
color: oklch(var(--fg-subtle));
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
}

.graphiql-collections-toolbar {
Expand All @@ -55,7 +55,7 @@
padding: var(--px-4) var(--px-8);
border-radius: var(--border-radius-4);
color: oklch(var(--fg-subtle));
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
}

.graphiql-collections-action:hover {
Expand Down Expand Up @@ -126,15 +126,15 @@
}

.graphiql-collection-badge {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
background: oklch(var(--bg-subtle));
padding: 0 var(--px-6);
border-radius: 9999px;
}

.graphiql-collection-chevron {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
flex-shrink: 0;
}
Expand Down Expand Up @@ -199,7 +199,7 @@

.graphiql-collection-empty-hint {
padding: var(--px-6) var(--px-12) var(--px-8) var(--px-20);
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
font-style: italic;
}
Expand Down Expand Up @@ -264,7 +264,7 @@
}

.graphiql-collection-item-description {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
overflow: hidden;
text-overflow: ellipsis;
Expand Down Expand Up @@ -294,7 +294,7 @@
display: flex;
flex-direction: column;
gap: var(--px-4);
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
}

Expand Down Expand Up @@ -349,14 +349,14 @@
}

.graphiql-import-export-mode legend {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
margin-bottom: var(--px-4);
}

.graphiql-import-export-error {
color: oklch(var(--accent-red));
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
}

/* Conflict dialog */
Expand All @@ -380,7 +380,7 @@

.graphiql-conflict-review-hint-label {
margin: 0;
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
}

Expand Down Expand Up @@ -417,13 +417,13 @@
}

.graphiql-conflict-review-collection {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
white-space: nowrap;
}

.graphiql-conflict-review-hint {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
white-space: nowrap;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
}

.graphiql-doc-explorer-argument-deprecation-label {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
font-weight: var(--font-weight-medium);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
}

.graphiql-doc-explorer-deprecation-label {
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
font-weight: var(--font-weight-medium);
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@

.graphiql-doc-explorer-field-card-name {
font-family: var(--font-family-mono);
font-size: 14px;
font-size: var(--font-size-mono);
font-weight: 600;
color: oklch(var(--accent-green-light));
}

.graphiql-doc-explorer-field-card-colon {
font-family: var(--font-family-mono);
font-size: 14px;
font-size: var(--font-size-mono);
color: oklch(var(--fg-muted));
}

.graphiql-doc-explorer-field-card-type {
font-family: var(--font-family-mono);
font-size: 14px;
font-size: var(--font-size-mono);
color: oklch(var(--fg-default));
}

.graphiql-doc-explorer-field-card-description {
margin: 0 0 var(--px-6);
font-size: 12px;
font-size: var(--font-size-mono);
color: oklch(var(--fg-muted));
line-height: 17px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
border: none;
cursor: pointer;
color: oklch(var(--fg-subtle));
font-size: 10px;
font-size: var(--font-size-eyebrow);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
Expand Down Expand Up @@ -93,7 +93,7 @@
align-items: baseline;
gap: var(--px-6);
font-family: var(--font-family-mono);
font-size: 12px;
font-size: var(--font-size-mono);
}

.graphiql-doc-explorer-field-row-name {
Expand All @@ -112,7 +112,7 @@

/* Optional description */
.graphiql-doc-explorer-field-row-desc {
font-size: 11px;
font-size: var(--font-size-small);
color: oklch(var(--fg-subtle));
line-height: 15px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

.graphiql-doc-explorer-search-divider {
color: oklch(var(--fg-muted));
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
font-weight: var(--font-weight-medium);
margin-top: var(--px-8);
padding: var(--px-8) var(--px-12);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.graphiql-doc-explorer-section-title {
align-items: center;
display: flex;
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
font-weight: var(--font-weight-medium);
line-height: 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
background: oklch(var(--accent-blue) / 0.12);
color: oklch(var(--accent-blue));
font-family: var(--font-family-mono);
font-size: 10px;
font-size: var(--font-size-eyebrow);
font-weight: 600;
border-radius: var(--radius-sm);
text-transform: uppercase;
Expand All @@ -25,7 +25,7 @@

.graphiql-doc-explorer-type-card-name {
font-family: var(--font-family-mono);
font-size: 14px;
font-size: var(--font-size-mono);
font-weight: 600;
color: oklch(var(--fg-strong));
overflow-x: hidden;
Expand All @@ -35,7 +35,7 @@

.graphiql-doc-explorer-type-card-description {
margin: 0 0 var(--px-6);
font-size: 12px;
font-size: var(--font-size-mono);
color: oklch(var(--fg-muted));
line-height: 17px;
}
Expand All @@ -47,7 +47,7 @@
align-items: center;
gap: var(--px-6);
margin-top: var(--px-6);
font-size: 10.5px;
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
}

Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-history/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
.graphiql-history-empty {
padding: var(--px-8) var(--px-12);
color: oklch(var(--fg-subtle));
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
}

.graphiql-history-item {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
padding: 1px 5px;
border-radius: var(--radius-sm);
font-family: var(--font-family-mono);
font-size: 9px;
font-size: var(--font-size-eyebrow);
font-weight: 700;
letter-spacing: 0.04em;
line-height: 1.4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
margin: 0;
color: oklch(var(--fg-strong));
font-family: var(--font-family);
font-size: 12px;
font-size: var(--font-size-mono);
font-weight: 600;
line-height: 1.3;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
align-items: center;
gap: var(--px-6);
font-family: var(--font-family-mono);
font-size: 11.5px;
font-size: var(--font-size-mono);
line-height: 1;
}

Expand Down Expand Up @@ -47,7 +47,7 @@

.graphiql-response-meta {
font-family: var(--font-family-mono);
font-size: 11.5px;
font-size: var(--font-size-mono);
color: oklch(var(--fg-muted));
line-height: 1;
}
Expand Down Expand Up @@ -118,7 +118,7 @@
display: inline-flex;
align-items: center;
gap: var(--px-6);
font-size: 11.5px;
font-size: var(--font-size-small);
line-height: 1;
color: oklch(var(--fg-default));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

.graphiql-var-hint {
margin-left: auto;
font-size: var(--font-size-hint);
font-size: var(--font-size-eyebrow);
color: oklch(var(--fg-subtle));
white-space: nowrap;
}
Expand Down
1 change: 0 additions & 1 deletion packages/graphiql-react/src/style/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
/* Font */
--font-family: 'Roboto', sans-serif;
--font-family-mono: 'Fira Code', monospace;
--font-size-hint: calc(12rem / 16);
--font-size-inline-code: calc(13rem / 16);
--font-size-body: calc(15rem / 16);
--font-size-h4: calc(18rem / 16);
Expand Down
Loading