Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Aug 9, 2024
1 parent 3e0ac7a commit 2251236
Show file tree
Hide file tree
Showing 33 changed files with 91 additions and 98 deletions.
2 changes: 1 addition & 1 deletion docs/src/styles/components/badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
border-radius: 6px;
font-weight: var(--fw-2);
color: hsl(23 100% 40%);
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
outline-style: solid;
outline-color: black;
outline-offset: 2px;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/callout.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
border: 2px solid hsl(202 100% 50%);
gap: var(--space-3);
color: var(--gray-text-1);
}
}
6 changes: 3 additions & 3 deletions docs/src/styles/components/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
box-sizing: border-box;
font-family: var(--ff-code);
color: var(--gray-text-2);
font-size: .89em;
font-size: 0.89em;
padding-right: var(--space-1);
padding-bottom: 2px;
padding-left: var(--space-1);
white-space: break-spaces;
border: 1px solid var(--gray-outline-1);
border-radius: 6px;
position: relative;
top: -.5px;
top: -0.5px;
}

.Text .Code {
margin-left: 1px;
margin-right: 1px;
}
}
12 changes: 6 additions & 6 deletions docs/src/styles/components/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
left: 50%;
transform: translateX(-50%) translateY(-50%);
box-shadow:
0 0 0 1px rgba(0, 0, 0, .025),
0 8px 36px -6px rgba(0, 0, 0, .025),
0 12px 64px -6px rgba(0, 0, 0, .1),
0 16px 64px -8px rgba(0, 0, 0, .1),
0 16px 36px -8px rgba(0, 0, 0, .1);
0 0 0 1px rgba(0, 0, 0, 0.025),
0 8px 36px -6px rgba(0, 0, 0, 0.025),
0 12px 64px -6px rgba(0, 0, 0, 0.1),
0 16px 64px -8px rgba(0, 0, 0, 0.1),
0 16px 36px -8px rgba(0, 0, 0, 0.1);
border-radius: 16px;
z-index: 2;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/growing-chevron.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
.LinkBlock:hover .GrowingChevron.direction-right .GrowingChevronTip {
transform: translateX(0);
}
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/icon-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
.IconButton.size-3 {
width: var(--space-8);
height: var(--space-8);
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
display: block;
vertical-align: middle;
flex-shrink: 0;
}
}
6 changes: 4 additions & 2 deletions docs/src/styles/components/kbd.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
font-size: var(--fs-2);
font-family: var(--ff-sans);
height: var(--space-6);
box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .05);
box-shadow:
0 1px 2px rgba(0, 0, 0, 0.05),
0 2px 4px -1px rgba(0, 0, 0, 0.05);
border: 1px solid hsl(0deg 0% 0% / 5%);
color: var(--gray-text-1);
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/link-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@

.LinkBlock.active {
background-color: var(--gray-container-2);
}
}
8 changes: 4 additions & 4 deletions docs/src/styles/components/link.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-thickness: 1px;
text-underline-offset: calc(.1em + 3px);
text-underline-offset: calc(0.1em + 3px);
color: inherit;
position: relative;
z-index: 0;
Expand All @@ -14,7 +14,7 @@
}

.Link:hover::after {
content: "";
content: '';
width: calc(100% + 6px);
height: calc(100% + 8px);
top: -4px;
Expand All @@ -36,6 +36,6 @@
background-color: var(--gray-container-2);
}

a[href^="#"] {
a[href^='#'] {
text-decoration: none;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
padding: 0;
padding-left: var(--space-8);
font-family: var(--ff-sans);
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/pre.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
line-height: 20px;
white-space: pre;
color: var(--gray-text-1);
}
}
7 changes: 4 additions & 3 deletions docs/src/styles/components/search-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
padding-left: var(--space-2);
padding-right: var(--space-1);
background-color: var(--gray-container-1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .025),
inset 0 1px 4px -2px rgba(0, 0, 0, .025),
box-shadow:
inset 0 1px 2px rgba(0, 0, 0, 0.025),
inset 0 1px 4px -2px rgba(0, 0, 0, 0.025),
0 1px 0 white;
border: 1px solid hsl(0deg 0% 0% / 8%);
border-top: 1px solid hsl(0deg 0% 0% / 13%);
Expand All @@ -32,4 +33,4 @@
outline-style: solid;
outline-color: black;
outline-offset: 2px;
}
}
25 changes: 13 additions & 12 deletions docs/src/styles/components/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,23 @@
background-color: white;
border-width: 1px;
border-style: solid;
box-shadow: 0 1px 2px rgba(0, 0, 0, .05),
0 2px 4px -1px rgba(0, 0, 0, .05),
0 4px 8px -2px rgba(0, 0, 0, .05);
box-shadow:
0 1px 2px rgba(0, 0, 0, 0.05),
0 2px 4px -1px rgba(0, 0, 0, 0.05),
0 4px 8px -2px rgba(0, 0, 0, 0.05);
border: 1px solid hsl(0deg 0% 0% / 5%);
border-radius: 6px;
color: var(--gray-text-2);
}
.SelectTrigger::after {
content: "efew";
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
height: 20px;
width: 20px;
pointer-events: none;
content: 'efew';
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
height: 20px;
width: 20px;
pointer-events: none;
}

.SelectTrigger:focus-visible {
Expand Down Expand Up @@ -57,4 +58,4 @@
padding-left: var(--space-3);
padding-right: var(--space-6);
font-size: var(--fs-3);
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/separator.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
height: 16px;
background-color: var(--gray-outline-2);
flex-shrink: 0;
}
}
6 changes: 3 additions & 3 deletions docs/src/styles/components/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
padding-right: var(--space-4);
padding-bottom: var(--space-3);
padding-left: var(--space-4);
}
}

.TableRowHeader,
.TableCell {
border-top: 1px solid var(--gray-outline-2);
Expand All @@ -44,4 +44,4 @@
.TableColumnHeader {
background-color: var(--gray-surface-2);
font-weight: var(--fw-2);
}
}
10 changes: 5 additions & 5 deletions docs/src/styles/components/text.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,28 @@
font-size: var(--fs-5);
line-height: 23px;
font-weight: 500;
letter-spacing: -.012em;
letter-spacing: -0.012em;
}

.Text.size-6 {
font-size: var(--fs-6);
line-height: 24px;
font-weight: 500;
letter-spacing: -.018em;
letter-spacing: -0.018em;
}

.Text.size-7 {
font-size: var(--fs-7);
line-height: 28px;
font-weight: 500;
letter-spacing: -.031em;
letter-spacing: -0.031em;
}

.Text.size-8 {
font-size: var(--fs-8);
line-height: 37px;
font-weight: 500;
letter-spacing: -.042em;
letter-spacing: -0.042em;
text-indent: -1.1px;
}

Expand All @@ -71,4 +71,4 @@

.Text.color-gray {
color: var(--gray-text-1);
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/components/textarea.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@

.Textarea::placeholder {
color: var(--gray-text-1);
}
}
13 changes: 7 additions & 6 deletions docs/src/styles/components/toggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@
font-size: var(--fs-2);
color: var(--gray-text-2);
width: var(--space-9);
letter-spacing: .18px;
letter-spacing: 0.18px;
text-transform: uppercase;
}

.Toggle[data-state="active"] {
.Toggle[data-state='active'] {
background-color: white;
box-shadow: 0 1px 2px rgba(0, 0, 0, .05),
0 2px 4px -1px rgba(0, 0, 0, .05),
0 4px 8px -2px rgba(0, 0, 0, .05);
box-shadow:
0 1px 2px rgba(0, 0, 0, 0.05),
0 2px 4px -1px rgba(0, 0, 0, 0.05),
0 4px 8px -2px rgba(0, 0, 0, 0.05);
border: 1px solid hsl(0deg 0% 0% / 5%);
}

Expand All @@ -46,4 +47,4 @@
outline-style: solid;
outline-color: black;
outline-offset: 2px;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/mdx.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ main h3 {
main .TableRoot {
margin-top: var(--space-5) !important;
margin-bottom: var(--space-5) !important;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ body {

::selection {
background: var(--gray-container-3);
}
}
32 changes: 10 additions & 22 deletions docs/src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

--grayA-surface-2: hsl(0 0% 97% / 86%);

--code-1: #CC4E00;
--code-2: #7D5E54;
--code-3: #CB1D63;
--code-4: #8145B5;
--code-5: #9E6C00;
--code-6: #00749E;
--code-1: #cc4e00;
--code-2: #7d5e54;
--code-3: #cb1d63;
--code-4: #8145b5;
--code-5: #9e6c00;
--code-6: #00749e;

--space-1: 4px;
--space-2: 8px;
Expand Down Expand Up @@ -44,20 +44,8 @@
--br-circle: 50%;
--br-pill: 9999px;

--ff-sans: graphik, -apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Noto Sans",
Helvetica,
Arial,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji";
--ff-code: Söhne mono, ui-monospace,
SFMono-Regular,
"SF Mono",
Menlo,
Consolas,
"Liberation Mono",
--ff-sans: graphik, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
--ff-code: Söhne mono, ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono',
monospace;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/utilities/align-items.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

.ai-baseline {
align-items: baseline;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/utilities/align-self.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

.as-baseline {
align-self: baseline;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/utilities/display.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@

.d-n {
display: none;
}
}
2 changes: 1 addition & 1 deletion docs/src/styles/utilities/flex-direction.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

.fd-cr {
flex-direction: column-reverse;
}
}
Loading

0 comments on commit 2251236

Please sign in to comment.