css-zero 0.0.20 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fdf533ce57fa9f3755bdc671350e5ae78c5fe0d036818eb67a0e4bc53381ce9
4
- data.tar.gz: 8cc157fa3247ebf822da055a72c29d5af3c6c2ae32d498789112cbf9abe0bf19
3
+ metadata.gz: b5d4d17fb32c6c3bfd5762fcc8343faee461b303382b2f99a36b8d45ad31eba2
4
+ data.tar.gz: 8e77a9d7121a81064b67cc28bca86d0b3fe41d7ba8add75e973a84fc83d45cb8
5
5
  SHA512:
6
- metadata.gz: 3a5d85f4aeea75765eba29e2e8cbe36e8f8d095260e9418b563af814887b312792f59303fe93f264bb9dc618b460c108cad8a968a8174c6528a99e61f5558fa1
7
- data.tar.gz: 9a12fa3ce63f9301a79d23a72a0c2a443607b7b6e617ae65fc6e01519de6f911fe50c2588fc42ad8f450ca77a68f3ae99eb078209a82d5839ee8e32c68391841
6
+ metadata.gz: cb0ed49bdd5bd806f10720b998cefcffbf781cd4507fa67f07e75812eb73d87bdb1df7b4d237aee347d7f732ac6eed97582bbe41b423a19459cbbfae8b4ec800
7
+ data.tar.gz: 2c85562ca2d1a2f893cd29333d2a3099babc649a48cde4575ae5bf08ae950a3ce62226c9a9bb040f3701d37b2785b4e051290a281a3b49dbf417466475b1768d
@@ -83,7 +83,6 @@
83
83
  --width-5xl: 64rem; /* 1024px */
84
84
  --width-6xl: 72rem; /* 1152px */
85
85
  --width-7xl: 80rem; /* 1280px */
86
- --width-prose: 65ch;
87
86
 
88
87
  /****************************************************************
89
88
  * Breakpoints
@@ -17,10 +17,11 @@
17
17
  --text-7xl: 4.5rem; /* 72px */
18
18
  --text-8xl: 6rem; /* 96px */
19
19
  --text-9xl: 8rem; /* 128px */
20
- --text-sm-responsive: clamp(0.75rem, 2cqi, 1rem);
20
+
21
+ --text-sm-responsive: clamp(0.875rem, 2cqi, 1rem);
21
22
  --text-base-responsive: clamp(1rem, 2.5cqi, 1.5rem);
22
23
  --text-lg-responsive: clamp(1.25rem, 4cqi, 1.875rem);
23
- --text-lg-responsive: clamp(1.875rem, 5cqi, 3rem);
24
+ --text-xl-responsive: clamp(1.875rem, 5cqi, 3rem);
24
25
 
25
26
  /****************************************************************
26
27
  * Font Weight
@@ -31,9 +31,6 @@
31
31
  /****************************************************************
32
32
  * Text
33
33
  *****************************************************************/
34
- .antialiased { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
35
- .subpixel-antialiased { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
36
-
37
34
  .font-normal { font-weight: var(--font-normal); }
38
35
  .font-medium { font-weight: var(--font-medium); }
39
36
  .font-semibold { font-weight: var(--font-semibold); }
@@ -85,10 +82,10 @@
85
82
  .text-8xl { font-size: var(--text-8xl); }
86
83
  .text-9xl { font-size: var(--text-9xl); }
87
84
 
88
- .text-sm-responsive { font-size: var(--text-sm-responsive); }
89
- .text-base-responsive { font-size: var(--text-base-responsive); }
90
- .text-lg-responsive { font-size: var(--text-lg-responsive); }
91
- .text-xl-responsive { font-size: var(--text-xl-responsive); }
85
+ .text-sm--responsive { font-size: var(--text-sm-responsive); }
86
+ .text-base--responsive { font-size: var(--text-base-responsive); }
87
+ .text-lg--responsive { font-size: var(--text-lg-responsive); }
88
+ .text-xl--responsive { font-size: var(--text-xl-responsive); }
92
89
 
93
90
  /****************************************************************
94
91
  * Background
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.22"
3
3
  end
@@ -1,4 +1,11 @@
1
1
  :where(.prose) {
2
+ font-size: var(--text-base-responsive);
3
+ max-inline-size: 65ch;
4
+
5
+ /* Antialiased fonts */
6
+ -moz-osx-font-smoothing: grayscale;
7
+ -webkit-font-smoothing: antialiased;
8
+
2
9
  :is(h1, h2, h3, h4, h5, h6) {
3
10
  font-weight: 800;
4
11
  hyphens: auto;
@@ -10,7 +17,7 @@
10
17
  }
11
18
 
12
19
  h1 {
13
- font-size: 2em;
20
+ font-size: 2.25em;
14
21
  }
15
22
 
16
23
  h2 {
@@ -18,7 +25,7 @@
18
25
  }
19
26
 
20
27
  h3 {
21
- font-size: 1.17em;
28
+ font-size: 1.125em;
22
29
  }
23
30
 
24
31
  h4 {
@@ -26,11 +33,11 @@
26
33
  }
27
34
 
28
35
  h5 {
29
- font-size: 0.83em;
36
+ font-size: 0.875em;
30
37
  }
31
38
 
32
39
  h6 {
33
- font-size: 0.67em;
40
+ font-size: 0.75em;
34
41
  }
35
42
 
36
43
  :is(ul, ol, menu) {
@@ -124,6 +131,7 @@
124
131
  }
125
132
 
126
133
  a {
134
+ font-weight: 500;
127
135
  text-decoration: underline;
128
136
  text-decoration-skip-ink: auto;
129
137
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lázaro Nixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-17 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lazaronixon@hotmail.com