Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2025.1.10 #30

Merged
merged 3 commits into from
Jan 9, 2025
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
4 changes: 2 additions & 2 deletions base.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "style-forge.base",
"version": "2025.1.8",
"version": "2025.1.10",
"description": "Style-Forge.Base: foundational CSS variables, base styles, typography, colors, utilities for consistent design.",
"type": "module",
"main": "base.css",
Expand Down
2 changes: 1 addition & 1 deletion src/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ table {
border-spacing: 0;
}

table, td, th { border: 1px solid hsl(var(--sf-table-c-bd)) }
table, td, th { border: 1px solid hsl(var(--sf-c-table-bd)) }
tbody, tfoot, thead { background: none }
td, th { padding: 0.5em 0.75em }

Expand Down
21 changes: 13 additions & 8 deletions src/tag.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@
::backdrop { background: hsl(var(--sf-c-backdrop) / 20%) }

html {
font-family: var(--sf-ff);
font-size: var(--sf-fz);
font-weight: var(--sf-fw);
font-family: var(--sf-ff, sans-serif);
font-size: var(--sf-fz, 1rem);
font-weight: var(--sf-fw, 400);
font-synthesis: style;
font-optical-sizing: auto;
font-stretch: normal;

text-size-adjust: 100%;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

line-height: var(--sf-lh);
line-height: var(--sf-lh, 0.8);

color: hsl(var(--sf-c-txt));
background: hsl(var(--sf-c-bg));
Expand All @@ -22,9 +30,6 @@ html {
height: 100%;

box-sizing: border-box;

font-stretch: normal;
text-size-adjust: 100%;
}

body {
Expand Down Expand Up @@ -92,7 +97,7 @@ img
/* /// */

html.var {
font-family: Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-family: 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
font-size: 16px;
font-weight: 400;

Expand Down
2 changes: 1 addition & 1 deletion src/text.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ html.var details
html.var small,
html.var sub,
html.var sup
{ font-size: 12px; font-weight: 400 }
{ font-size: 12px; font-weight: 300 }

html.var h1 { font-size: 48px; font-weight: 700 }
html.var h2 { font-size: 40px; font-weight: 700 }
Expand Down
4 changes: 2 additions & 2 deletions src/var.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--sf-ff: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--sf-ff: 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

--sf-lh: 0.8;
--sf-lh-normal: 1.1875;
Expand Down Expand Up @@ -34,5 +34,5 @@
--sf-c-bg: 0 0% 100%;
--sf-c-shape-bg: 0 0% 90%;
--sf-c-backdrop: 0 0% 10%;
--sf-table-c-bd: 0 0% 75%;
--sf-c-table-bd: 0 0% 75%;
}
Loading