Skip to content
Open
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
17 changes: 9 additions & 8 deletions app/assets/stylesheets/lexxy-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

:where(.lexxy-content) {
color: var(--lexxy-color-ink);
font-size: var(--lexxy-text-size);

h1, h2, h3, h4, h5, h6 {
display: block;
Expand All @@ -18,12 +19,12 @@
}
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
h5 { font-size: 0.875rem; }
h6 { font-size: 0.75rem; }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1em; }
h5 { font-size: 0.875em; }
h6 { font-size: 0.75em; }

p,
ul,
Expand Down Expand Up @@ -320,7 +321,7 @@
.attachment__caption {
color: var(--lexxy-color-text-subtle);
display: block;
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
padding: 1ch;
}

Expand All @@ -334,7 +335,7 @@
box-sizing: border-box;
color: var(--lexxy-attachment-icon-color);
display: grid;
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
font-weight: bold;
inline-size: auto;
overflow: hidden;
Expand Down
14 changes: 7 additions & 7 deletions app/assets/stylesheets/lexxy-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@
}

span {
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
}

svg {
Expand Down Expand Up @@ -688,7 +688,7 @@

&.lexxy-editor__toolbar-dropdown--link {
[data-dropdown-panel] {
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
gap: var(--lexxy-toolbar-spacing);
inset-inline-start: var(--lexxy-toolbar-spacing);
inset-inline-end: var(--lexxy-toolbar-spacing);
Expand All @@ -710,7 +710,7 @@
color: var(--lexxy-color-text);
block-size: var(--lexxy-toolbar-button-size);
box-sizing: border-box;
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
flex: 2;
inline-size: 100%;
line-height: inherit;
Expand Down Expand Up @@ -754,7 +754,7 @@
border-start-start-radius: 0;
gap: var(--lexxy-toolbar-spacing);
flex-direction: column;
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
inset-inline-start: 0;
max-inline-size: var(--max-inline-size);

Expand Down Expand Up @@ -817,7 +817,7 @@
--floating-tools-radius: calc(var(--lexxy-radius) * 1.5);

color: var(--lexxy-color-ink-inverted);
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
line-height: 1;
position: absolute;
z-index: 2;
Expand Down Expand Up @@ -1024,7 +1024,7 @@
border-radius: var(--lexxy-radius);
color: var(--lexxy-color-ink);
font-family: var(--lexxy-font-base);
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
font-weight: normal;
margin: 0.5ch 0.5ch 0 -0.5ch;
padding: 0 2ch 0 1ch;
Expand Down Expand Up @@ -1053,7 +1053,7 @@
box-shadow: var(--lexxy-shadow);
color: var(--lexxy-color-ink);
font-family: var(--lexxy-font-base);
font-size: var(--lexxy-text-small);
font-size: 0.875em;
Comment thread
lazaronixon marked this conversation as resolved.
list-style: none;
inset-block-start: var(--lexxy-prompt-offset-y);
inset-inline-start: var(--lexxy-prompt-offset-x);
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/lexxy-variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
/* Typography */
--lexxy-font-base: system-ui, sans-serif;
--lexxy-font-mono: ui-monospace, "Menlo", "Monaco", Consolas, monospace;
--lexxy-text-small: 0.875rem;
--lexxy-text-size: 1rem;
--lexxy-content-margin: 1rem;
Comment thread
lazaronixon marked this conversation as resolved.

/* Focus ring */
Expand Down