hydrateless 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,11 @@
1
1
  @layer components {
2
2
  [data-hl-accordion] {
3
- border: 1px solid color-mix(in oklab, var(--hl-color-fg) 15%, transparent);
4
- border-radius: 0.5rem;
5
- border-radius: var(--hl-radius-3, 0.5rem);
3
+ border: 1px solid var(--hl-border);
4
+ border-radius: var(--hl-radius-lg);
6
5
  }
7
6
 
8
7
  [data-hl-accordion] > details {
9
- border-top: 1px solid color-mix(in oklab, var(--hl-color-fg) 12%, transparent);
8
+ border-top: 1px solid var(--hl-border);
10
9
  }
11
10
 
12
11
  [data-hl-accordion] > details:first-child {
@@ -16,8 +15,7 @@
16
15
  [data-hl-accordion] > details > summary {
17
16
  list-style: none;
18
17
  cursor: pointer;
19
- padding: 0.75rem 1rem;
20
- padding: var(--hl-spacing-3, 0.75rem) var(--hl-spacing-4, 1rem);
18
+ padding: var(--hl-space-3) var(--hl-space-4);
21
19
  }
22
20
 
23
21
  [data-hl-accordion] > details > summary::-webkit-details-marker {
@@ -25,8 +23,7 @@
25
23
  }
26
24
 
27
25
  [data-hl-accordion] > details > summary:focus-visible {
28
- outline: 2px solid #1f6feb;
29
- outline: var(--hl-focus-ring, 2px solid #1f6feb);
26
+ outline: var(--hl-focus-ring);
30
27
  outline-offset: 2px;
31
28
  }
32
29
 
@@ -34,15 +31,14 @@
34
31
  content: '\25BE';
35
32
  float: right;
36
33
  transform: rotate(0deg);
37
- transition: transform 150ms ease;
34
+ transition: transform var(--hl-duration-fast) var(--hl-ease-standard);
38
35
  }
39
36
 
40
37
  [data-hl-accordion] > details[open] > summary::after {
41
38
  transform: rotate(180deg);
42
39
  }
43
40
 
44
- [data-hl-accordion] > details > .accordion-panel {
45
- padding: 0.75rem 1rem 1rem;
46
- padding: var(--hl-spacing-3, 0.75rem) var(--hl-spacing-4, 1rem) var(--hl-spacing-4, 1rem);
41
+ [data-hl-accordion] > details > .hl-accordion-panel {
42
+ padding: var(--hl-space-3) var(--hl-space-4) var(--hl-space-4);
47
43
  }
48
44
  }
@@ -6,28 +6,25 @@
6
6
  list-style: none;
7
7
  margin: 0;
8
8
  padding: 0;
9
- gap: 0.25rem;
10
- gap: var(--hl-spacing-1, 0.25rem);
9
+ gap: var(--hl-space-1);
11
10
  }
12
11
 
13
12
  nav[data-hl-breadcrumb] li {
14
13
  display: flex;
15
14
  align-items: center;
16
- gap: 0.25rem;
17
- gap: var(--hl-spacing-1, 0.25rem);
15
+ gap: var(--hl-space-1);
18
16
  }
19
17
 
20
18
  nav[data-hl-breadcrumb] li + li::before {
21
19
  content: '/';
22
- color: color-mix(in oklab, var(--hl-color-fg) 40%, transparent);
20
+ color: var(--hl-fg-subtle);
23
21
  }
24
22
 
25
23
  nav[data-hl-breadcrumb] a {
26
- color: var(--hl-color-accent);
24
+ color: var(--hl-primary);
27
25
  -webkit-text-decoration: none;
28
26
  text-decoration: none;
29
- border-radius: 0.25rem;
30
- border-radius: var(--hl-radius-2, 0.25rem);
27
+ border-radius: var(--hl-radius-sm);
31
28
  }
32
29
 
33
30
  nav[data-hl-breadcrumb] a:hover {
@@ -36,12 +33,11 @@
36
33
  }
37
34
 
38
35
  nav[data-hl-breadcrumb] a:focus-visible {
39
- outline: 2px solid #1f6feb;
40
- outline: var(--hl-focus-ring, 2px solid #1f6feb);
36
+ outline: var(--hl-focus-ring);
41
37
  outline-offset: 2px;
42
38
  }
43
39
 
44
40
  nav[data-hl-breadcrumb] [aria-current='page'] {
45
- color: var(--hl-color-fg);
41
+ color: var(--hl-fg);
46
42
  }
47
43
  }