Skip to content

Commit e36cec2

Browse files
authored
Release/2025.1.10 (#30)
* release: version 2025.1.10 feat: fonts fix: var(--sf-c-table-bd) * fix: font-weight: 300 * feat: build
1 parent 7763c8e commit e36cec2

File tree

6 files changed

+20
-15
lines changed

6 files changed

+20
-15
lines changed

base.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "style-forge.base",
3-
"version": "2025.1.8",
3+
"version": "2025.1.10",
44
"description": "Style-Forge.Base: foundational CSS variables, base styles, typography, colors, utilities for consistent design.",
55
"type": "module",
66
"main": "base.css",

src/table.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ table {
1010
border-spacing: 0;
1111
}
1212

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

src/tag.css

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@
99
::backdrop { background: hsl(var(--sf-c-backdrop) / 20%) }
1010

1111
html {
12-
font-family: var(--sf-ff);
13-
font-size: var(--sf-fz);
14-
font-weight: var(--sf-fw);
12+
font-family: var(--sf-ff, sans-serif);
13+
font-size: var(--sf-fz, 1rem);
14+
font-weight: var(--sf-fw, 400);
15+
font-synthesis: style;
16+
font-optical-sizing: auto;
17+
font-stretch: normal;
18+
19+
text-size-adjust: 100%;
20+
text-rendering: optimizeLegibility;
21+
-webkit-font-smoothing: antialiased;
22+
-moz-osx-font-smoothing: grayscale;
1523

16-
line-height: var(--sf-lh);
24+
line-height: var(--sf-lh, 0.8);
1725

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

2432
box-sizing: border-box;
25-
26-
font-stretch: normal;
27-
text-size-adjust: 100%;
2833
}
2934

3035
body {
@@ -92,7 +97,7 @@ img
9297
/* /// */
9398

9499
html.var {
95-
font-family: Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
100+
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';
96101
font-size: 16px;
97102
font-weight: 400;
98103

src/text.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ html.var details
9494
html.var small,
9595
html.var sub,
9696
html.var sup
97-
{ font-size: 12px; font-weight: 400 }
97+
{ font-size: 12px; font-weight: 300 }
9898

9999
html.var h1 { font-size: 48px; font-weight: 700 }
100100
html.var h2 { font-size: 40px; font-weight: 700 }

src/var.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:root {
2-
--sf-ff: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
2+
--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';
33

44
--sf-lh: 0.8;
55
--sf-lh-normal: 1.1875;
@@ -34,5 +34,5 @@
3434
--sf-c-bg: 0 0% 100%;
3535
--sf-c-shape-bg: 0 0% 90%;
3636
--sf-c-backdrop: 0 0% 10%;
37-
--sf-table-c-bd: 0 0% 75%;
37+
--sf-c-table-bd: 0 0% 75%;
3838
}

0 commit comments

Comments
 (0)