Skip to content

Commit 72a77d8

Browse files
committed
Button, select, and input style updates
1 parent 1aa4817 commit 72a77d8

File tree

5 files changed

+10
-21
lines changed

5 files changed

+10
-21
lines changed

app/javascript/css/baseline.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ select {
306306
border-style: solid;
307307
border-width: 1px;
308308
border-radius: 0;
309-
padding: 0.5rem 0.75rem;
310-
font-size: 1rem;
309+
padding: 0.75rem 1rem;
310+
font-size: var(--step--1);
311311
line-height: 1.5rem;
312312
--tw-shadow: 0 0 #0000;
313313
}

app/javascript/css/components/button.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
.button {
22
border-radius: 0.375rem;
3-
padding: 0.75rem;
3+
font-size: var(--step--1);
4+
padding: 0.75rem 1rem;
5+
font-weight: 700;
6+
47
display: inline-flex;
58
align-items: center;
6-
font-size: 0.875rem;
79
font-family: var(--sans-serif);
8-
line-height: 1.5715;
9-
font-weight: 600;
1010
color: var(--joy-light);
11-
line-height: 1rem;
1211

1312
&:is(a) {
1413
text-decoration: none;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
select {
2-
font-size: 0.875rem;
3-
padding: 0.625rem;
4-
border-radius: 0.5rem;
2+
padding: 0.75rem 1rem;
3+
font-size: var(--step--1);
4+
border-radius: 0.375rem;
55
display: block;
66
}

app/javascript/css/config/settings.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,4 @@
77
--monospace: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
88
'Liberation Mono', 'Courier New', monospace;
99
--leading: 1.6;
10-
--ratio: 1.61803;
11-
--width-measure: 60ch;
12-
--width-margin: calc(var(--width-measure) / 1.618);
13-
--width-padding: var(--space-none-3xl);
14-
--border-thin: 1px;
15-
--border-thick: 2px;
16-
--border-chunky: 4px;
17-
--scrollbar-width: 10px;
1810
}
19-
20-
/* from Tailwind CSS */

app/views/users/newsletter_subscriptions/form.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def view_template
2121
autocomplete: "off",
2222
placeholder: "[email protected]",
2323
class:
24-
"flex-1 rounded bg-white/5 py-1.5 pl-3 sm:leading-6 focus-ring focus:ring-0 ring-1 ring-inset ring-white/10 w-full lg:min-w-[36ch] "
24+
"flex-1 rounded bg-white/5 focus-ring focus:ring-0 ring-1 ring-inset ring-white/10 w-full lg:min-w-[36ch] "
2525
end
2626
div do
2727
plain f.submit "Subscribe", class: "button primary focus-ring"

0 commit comments

Comments
 (0)