@grantcodes/ui 2.12.0 → 2.15.2

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +5 -1
  3. package/custom-elements.json +295 -176
  4. package/package.json +11 -3
  5. package/src/components/accordion/accordion-item.css +14 -14
  6. package/src/components/accordion/accordion.css +1 -1
  7. package/src/components/app-bar/app-bar.css +22 -22
  8. package/src/components/app-bar/nav-link.css +10 -11
  9. package/src/components/avatar/avatar.css +5 -6
  10. package/src/components/badge/badge.css +16 -15
  11. package/src/components/breadcrumb/breadcrumb.css +10 -11
  12. package/src/components/button/button.css +112 -24
  13. package/src/components/button/button.stories.js +37 -0
  14. package/src/components/button-group/button-group.css +4 -4
  15. package/src/components/card/card.css +25 -25
  16. package/src/components/code-preview/code-preview.css +6 -6
  17. package/src/components/container/container.css +2 -1
  18. package/src/components/container/container.stories.js +1 -1
  19. package/src/components/countdown/countdown.css +13 -13
  20. package/src/components/cta/cta.component.js +3 -3
  21. package/src/components/cta/cta.css +16 -18
  22. package/src/components/dialog/dialog.component.js +1 -0
  23. package/src/components/dialog/dialog.css +14 -14
  24. package/src/components/dropdown/dropdown.component.js +1 -0
  25. package/src/components/dropdown/dropdown.css +14 -14
  26. package/src/components/dropzone/dropzone.component.js +1 -0
  27. package/src/components/dropzone/dropzone.css +11 -12
  28. package/src/components/feature-list/feature-list.css +15 -15
  29. package/src/components/footer/footer-column.css +9 -10
  30. package/src/components/footer/footer.css +13 -13
  31. package/src/components/form-field/form-field.css +6 -6
  32. package/src/components/hero/hero.css +9 -9
  33. package/src/components/loading/loading.css +3 -3
  34. package/src/components/logo-cloud/logo-cloud.css +9 -11
  35. package/src/components/map/map.component.js +9 -4
  36. package/src/components/map/map.css +8 -8
  37. package/src/components/media-text/media-text.css +9 -9
  38. package/src/components/newsletter/newsletter.css +21 -21
  39. package/src/components/notice/notice.css +17 -17
  40. package/src/components/person/index.js +1 -0
  41. package/src/components/person/person.component.js +51 -0
  42. package/src/components/person/person.css +39 -0
  43. package/src/components/person/person.js +8 -0
  44. package/src/components/person/person.react.js +9 -0
  45. package/src/components/person/person.stories.js +59 -0
  46. package/src/components/person/person.test.js +69 -0
  47. package/src/components/pricing/pricing.css +34 -36
  48. package/src/components/sidebar/sidebar.component.js +1 -0
  49. package/src/components/sidebar/sidebar.css +21 -21
  50. package/src/components/stats/stats.css +14 -16
  51. package/src/components/tabs/internal/tabs-item.component.js +5 -0
  52. package/src/components/tabs/tabs.component.js +4 -2
  53. package/src/components/tabs/tabs.css +15 -15
  54. package/src/components/testimonials/testimonials.component.js +8 -22
  55. package/src/components/testimonials/testimonials.css +12 -31
  56. package/src/components/toast/toast.css +23 -24
  57. package/src/components/tooltip/tooltip.css +6 -6
  58. package/src/css/colors.stories.js +6 -6
  59. package/src/css/elements/a.css +4 -4
  60. package/src/css/elements/forms/input.css +27 -27
  61. package/src/css/elements/forms/label.css +1 -1
  62. package/src/css/elements/media/image.css +1 -0
  63. package/src/css/layers.stories.js +3 -3
  64. package/src/css/reset.css +3 -3
  65. package/src/css/themes/todomap.css +1 -1
  66. package/src/css/tokens.stories.js +16 -16
  67. package/src/css/typography.css +4 -4
  68. package/src/css/util/focus-ring.css +9 -9
  69. package/src/lib/styles/focus-ring.css +9 -9
  70. package/src/main.js +1 -0
  71. package/src/pages/agency.stories.js +5 -4
  72. package/src/pages/blog-post.stories.js +33 -50
  73. package/src/pages/saas-landing.stories.js +8 -7
  74. package/src/react.js +1 -0
@@ -15,8 +15,8 @@
15
15
  }
16
16
 
17
17
  .tooltip__slot {
18
- padding: var(--g-theme-spacing-sm);
19
- margin: calc(-1 * var(--g-theme-spacing-sm));
18
+ padding: var(--g-spacing-sm);
19
+ margin: calc(-1 * var(--g-spacing-sm));
20
20
  /* Anchor name will be set via JavaScript to include unique ID */
21
21
  }
22
22
 
@@ -27,12 +27,12 @@
27
27
  max-width: 100%;
28
28
  min-width: 6rem;
29
29
  z-index: 100;
30
- border-radius: var(--g-theme-border-radius-md);
30
+ border-radius: var(--g-border-radius-md);
31
31
  padding: 0.6em 1em;
32
- font-size: var(--g-typography-font-size-14);
32
+ font-size: var(--g-typography-font-size-xs);
33
33
  line-height: 1;
34
- color: var(--g-theme-color-primary-900);
35
- background-color: var(--g-theme-color-primary-100);
34
+ color: var(--g-color-primary-900);
35
+ background-color: var(--g-color-primary-100);
36
36
  box-shadow:
37
37
  0 1px 3px rgba(0, 0, 0, 0.12),
38
38
  0 1px 2px rgba(0, 0, 0, 0.24);
@@ -27,28 +27,28 @@ class ColorPalette extends LitElement {
27
27
  :host {
28
28
  display: block;
29
29
  padding: 2rem;
30
- background: var(--g-theme-color-background-default, #fff);
31
- color: var(--g-theme-color-content-default, #333);
30
+ background: var(--g-color-background-default, #fff);
31
+ color: var(--g-color-content-default, #333);
32
32
  }
33
33
 
34
34
  .banner {
35
35
  margin-bottom: 2rem;
36
36
  padding: 1rem;
37
- background: var(--g-theme-color-background-subtle, #f5f5f5);
37
+ background: var(--g-color-background-subtle, #f5f5f5);
38
38
  border-radius: 0.5rem;
39
- border: 1px solid var(--g-theme-color-border-default, #ccc);
39
+ border: 1px solid var(--g-color-border-default, #ccc);
40
40
  }
41
41
 
42
42
  .theme-title {
43
43
  margin: 0;
44
44
  font-weight: 600;
45
- color: var(--g-theme-color-content-default, #333);
45
+ color: var(--g-color-content-default, #333);
46
46
  font-size: 1rem;
47
47
  }
48
48
 
49
49
  .theme-hint {
50
50
  margin: 0.5rem 0 0 0;
51
- color: var(--g-theme-color-content-subtle, #666);
51
+ color: var(--g-color-content-subtle, #666);
52
52
  font-size: 0.875rem;
53
53
  }
54
54
  `;
@@ -1,5 +1,5 @@
1
1
  :where(a) {
2
- color: var(--g-theme-link-color-content-default);
2
+ color: var(--g-link-color-content-default);
3
3
  text-decoration: underline;
4
4
  transition:
5
5
  color 0.2s,
@@ -7,19 +7,19 @@
7
7
  }
8
8
 
9
9
  :where(a:visited) {
10
- color: var(--g-theme-link-color-content-visited);
10
+ color: var(--g-link-color-content-visited);
11
11
  opacity: 0.6;
12
12
  }
13
13
 
14
14
  :where(a:hover),
15
15
  :where(a:focus-visible) {
16
16
  opacity: 1;
17
- color: var(--g-theme-link-color-content-hover);
17
+ color: var(--g-link-color-content-hover);
18
18
  text-decoration: underline wavy;
19
19
  }
20
20
 
21
21
  :where(a:active) {
22
- color: var(--g-theme-link-color-content-active);
22
+ color: var(--g-link-color-content-active);
23
23
  }
24
24
 
25
25
  /* External links - special styling for links opening in new windows */
@@ -1,15 +1,15 @@
1
1
  :where(input, textarea, select) {
2
2
  display: block;
3
- accent-color: var(--g-theme-form-input-accent-color-default);
4
- border-radius: var(--g-theme-border-radius-md);
5
- border-width: var(--g-theme-border-width-md);
3
+ accent-color: var(--g-form-input-accent-color-default);
4
+ border-radius: var(--g-border-radius-md);
5
+ border-width: var(--g-border-width-md);
6
6
  border-style: solid;
7
- border-color: var(--g-theme-form-color-border-default);
8
- background: var(--g-theme-form-color-background-default);
9
- color: var(--g-theme-form-color-content-default);
7
+ border-color: var(--g-form-color-border-default);
8
+ background: var(--g-form-color-background-default);
9
+ color: var(--g-form-color-content-default);
10
10
  padding: 0.5em 1em;
11
11
  transition-property: color, background-color, border-color, outline;
12
- font-size: var(--g-theme-typography-body-font-size);
12
+ font-size: var(--g-typography-body-font-size);
13
13
  }
14
14
 
15
15
  :where(input, textarea, select):not(textarea) {
@@ -17,19 +17,19 @@
17
17
  }
18
18
 
19
19
  :where(input, textarea, select):hover {
20
- border-color: var(--g-theme-form-color-border-hover);
21
- color: var(--g-theme-form-color-content-hover);
22
- background: var(--g-theme-form-color-background-hover);
20
+ border-color: var(--g-form-color-border-hover);
21
+ color: var(--g-form-color-content-hover);
22
+ background: var(--g-form-color-background-hover);
23
23
  }
24
24
 
25
25
  :where(input, textarea, select):focus {
26
- border-color: var(--g-theme-form-color-border-focus);
27
- color: var(--g-theme-form-color-content-focus);
28
- background: var(--g-theme-form-color-background-focus);
26
+ border-color: var(--g-form-color-border-focus);
27
+ color: var(--g-form-color-content-focus);
28
+ background: var(--g-form-color-background-focus);
29
29
  }
30
30
 
31
31
  :where(input, textarea, select):focus:invalid {
32
- border-color: var(--g-theme-form-color-border-error);
32
+ border-color: var(--g-form-color-border-error);
33
33
  }
34
34
 
35
35
  :where(input, textarea, select)[readonly] {
@@ -38,9 +38,9 @@
38
38
  }
39
39
 
40
40
  :where(input, textarea, select):disabled {
41
- border-color: var(--g-theme-form-color-border-disabled);
42
- background: var(--g-theme-form-color-background-disabled);
43
- color: var(--g-theme-form-color-content-disabled);
41
+ border-color: var(--g-form-color-border-disabled);
42
+ background: var(--g-form-color-background-disabled);
43
+ color: var(--g-form-color-content-disabled);
44
44
  cursor: not-allowed;
45
45
  opacity: 0.6;
46
46
  filter: grayscale(100%) brightness(80%);
@@ -48,9 +48,9 @@
48
48
 
49
49
  :where(input, textarea, select):disabled:hover,
50
50
  :where(input, textarea, select):disabled:focus-visible {
51
- border-color: var(--g-theme-form-color-border-disabled);
52
- background: var(--g-theme-form-color-background-disabled);
53
- color: var(--g-theme-form-color-content-disabled);
51
+ border-color: var(--g-form-color-border-disabled);
52
+ background: var(--g-form-color-background-disabled);
53
+ color: var(--g-form-color-content-disabled);
54
54
  }
55
55
 
56
56
  :where(input, textarea, select):where(textarea) {
@@ -85,8 +85,8 @@
85
85
  }
86
86
 
87
87
  :where(input, textarea, select):where(option):checked {
88
- background: var(--g-theme-color-background-primary);
89
- color: var(--g-theme-color-content-primary-knockout);
88
+ background: var(--g-color-background-primary);
89
+ color: var(--g-color-content-primary-knockout);
90
90
  }
91
91
 
92
92
  :where(input, textarea, select):where([type="checkbox"]),
@@ -101,7 +101,7 @@
101
101
  }
102
102
 
103
103
  :where(input, textarea, select):where([type="checkbox"]) {
104
- border-radius: calc(var(--g-theme-border-radius-md) / 2);
104
+ border-radius: calc(var(--g-border-radius-md) / 2);
105
105
  }
106
106
 
107
107
  :where(input, textarea, select):where([type="checkbox"])::after {
@@ -121,12 +121,12 @@
121
121
  }
122
122
 
123
123
  :where(input, textarea, select):where([type="checkbox"]):checked {
124
- border-color: var(--g-theme-color-border-primary);
125
- background-color: var(--g-theme-color-border-primary);
124
+ border-color: var(--g-color-border-primary);
125
+ background-color: var(--g-color-border-primary);
126
126
  }
127
127
 
128
128
  :where(input, textarea, select):where([type="checkbox"]):checked::after {
129
- color: var(--g-theme-color-border-default);
129
+ color: var(--g-color-border-default);
130
130
  }
131
131
 
132
132
  :where(input, textarea, select):where([type="radio"]) {
@@ -147,5 +147,5 @@
147
147
  }
148
148
 
149
149
  :where(input, textarea, select):where([type="radio"]):checked::after {
150
- background-color: var(--g-theme-color-border-primary);
150
+ background-color: var(--g-color-border-primary);
151
151
  }
@@ -1,5 +1,5 @@
1
1
  label {
2
2
  color: inherit;
3
- font-size: var(--g-theme-typography-label-font-size);
3
+ font: var(--g-typography-body-sm-font);
4
4
  cursor: pointer;
5
5
  }
@@ -1,3 +1,4 @@
1
1
  img {
2
2
  block-size: auto;
3
+ background-color: var(--g-color-background-subtle);
3
4
  }
@@ -29,7 +29,7 @@ export const LayerOverrideDemo = {
29
29
  <style>
30
30
  /* This override is unlayered, so it beats all layers */
31
31
  .layer-demo-override {
32
- color: var(--g-theme-color-content-brand, rebeccapurple);
32
+ color: var(--g-color-content-brand, rebeccapurple);
33
33
  font-weight: bold;
34
34
  }
35
35
  </style>
@@ -72,8 +72,8 @@ export const AllLayers = {
72
72
  }
73
73
  .layer-card {
74
74
  padding: 1rem;
75
- border: 1px solid var(--g-theme-color-border-default, #ccc);
76
- border-radius: var(--g-theme-border-radius-md, 0.5rem);
75
+ border: 1px solid var(--g-color-border-default, #ccc);
76
+ border-radius: var(--g-border-radius-md, 0.5rem);
77
77
  }
78
78
  .layer-card h4 {
79
79
  margin-top: 0;
package/src/css/reset.css CHANGED
@@ -227,8 +227,8 @@ pre {
227
227
  :root {
228
228
  color-scheme: light dark;
229
229
  --grantcodes-ui-theme: "none";
230
- background-color: var(--g-theme-color-background-default);
231
- color: var(--g-theme-color-content-default);
230
+ background-color: var(--g-color-background-default);
231
+ color: var(--g-color-content-default);
232
232
  fill: currentColor;
233
233
  }
234
234
 
@@ -250,7 +250,7 @@ pre {
250
250
  }
251
251
 
252
252
  ::selection {
253
- background-color: var(--g-theme-color-background-primary);
253
+ background-color: var(--g-color-background-primary);
254
254
  }
255
255
 
256
256
  /* Default backdrop styles */
@@ -3,5 +3,5 @@
3
3
  @import "@grantcodes/style-dictionary/assets/fonts/quicksand";
4
4
 
5
5
  html.todomap {
6
- font-family: var(--g-theme-typography-font-family-body);
6
+ font-family: var(--g-typography-font-family-body);
7
7
  }
@@ -15,28 +15,28 @@ class TokenList extends LitElement {
15
15
  :host {
16
16
  display: block;
17
17
  padding: 2rem;
18
- background: var(--g-theme-color-background-default, #fff);
19
- color: var(--g-theme-color-content-default, #333);
18
+ background: var(--g-color-background-default, #fff);
19
+ color: var(--g-color-content-default, #333);
20
20
  }
21
21
 
22
22
  .banner {
23
23
  margin-bottom: 2rem;
24
24
  padding: 1rem;
25
- background: var(--g-theme-color-background-subtle, #f5f5f5);
25
+ background: var(--g-color-background-subtle, #f5f5f5);
26
26
  border-radius: 0.5rem;
27
- border: 1px solid var(--g-theme-color-border-default, #ccc);
27
+ border: 1px solid var(--g-color-border-default, #ccc);
28
28
  }
29
29
 
30
30
  .theme-title {
31
31
  margin: 0;
32
32
  font-weight: 600;
33
- color: var(--g-theme-color-content-default, #333);
33
+ color: var(--g-color-content-default, #333);
34
34
  font-size: 1rem;
35
35
  }
36
36
 
37
37
  .theme-hint {
38
38
  margin: 0.5rem 0 0 0;
39
- color: var(--g-theme-color-content-subtle, #666);
39
+ color: var(--g-color-content-subtle, #666);
40
40
  font-size: 0.875rem;
41
41
  }
42
42
 
@@ -48,14 +48,14 @@ class TokenList extends LitElement {
48
48
  margin: 0 0 1rem 0;
49
49
  font-weight: 600;
50
50
  font-size: 1.5rem;
51
- color: var(--g-theme-color-content-default, #333);
51
+ color: var(--g-color-content-default, #333);
52
52
  padding-bottom: 0.5rem;
53
- border-bottom: 2px solid var(--g-theme-color-border-default, #ccc);
53
+ border-bottom: 2px solid var(--g-color-border-default, #ccc);
54
54
  }
55
55
 
56
56
  .token-count {
57
57
  margin: 0.5rem 0 1rem 0;
58
- color: var(--g-theme-color-content-subtle, #666);
58
+ color: var(--g-color-content-subtle, #666);
59
59
  font-size: 0.875rem;
60
60
  }
61
61
 
@@ -68,32 +68,32 @@ class TokenList extends LitElement {
68
68
  .token-table th {
69
69
  text-align: left;
70
70
  padding: 0.75rem;
71
- background: var(--g-theme-color-background-subtle, #f5f5f5);
72
- border-bottom: 2px solid var(--g-theme-color-border-default, #ccc);
71
+ background: var(--g-color-background-subtle, #f5f5f5);
72
+ border-bottom: 2px solid var(--g-color-border-default, #ccc);
73
73
  font-weight: 600;
74
74
  font-size: 0.875rem;
75
- color: var(--g-theme-color-content-default, #333);
75
+ color: var(--g-color-content-default, #333);
76
76
  }
77
77
 
78
78
  .token-table td {
79
79
  padding: 0.75rem;
80
- border-bottom: 1px solid var(--g-theme-color-border-default, #e0e0e0);
80
+ border-bottom: 1px solid var(--g-color-border-default, #e0e0e0);
81
81
  font-size: 0.875rem;
82
82
  }
83
83
 
84
84
  .token-table tr:hover {
85
- background: var(--g-theme-color-background-subtle, #f9f9f9);
85
+ background: var(--g-color-background-subtle, #f9f9f9);
86
86
  }
87
87
 
88
88
  .token-name {
89
89
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
90
- color: var(--g-theme-color-content-default, #333);
90
+ color: var(--g-color-content-default, #333);
91
91
  font-weight: 500;
92
92
  }
93
93
 
94
94
  .token-value {
95
95
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
96
- color: var(--g-theme-color-content-subtle, #666);
96
+ color: var(--g-color-content-subtle, #666);
97
97
  word-break: break-all;
98
98
  }
99
99
  `;
@@ -66,18 +66,18 @@ p + p {
66
66
  }
67
67
 
68
68
  pre {
69
- font-family: var(--g-typography-font-family-system);
69
+ font-family: var(--g-typography-font-family-code);
70
70
  line-height: 1.2;
71
71
  inline-size: 100%;
72
72
  overflow: auto;
73
- border-radius: var(--g-theme-border-radius-md);
73
+ border-radius: var(--g-border-radius-md);
74
74
  /* PLACEHOLDER: u.shadow(0) - manual conversion needed */
75
- box-shadow: var(--g-theme-box-shadow-sm);
75
+ box-shadow: var(--g-box-shadow-sm);
76
76
  font-size: 1rem;
77
77
  font-weight: 400;
78
78
  padding: 1rem;
79
79
  }
80
80
 
81
81
  mark {
82
- background-color: var(--g-color-neutral-300);
82
+ background-color: var(--g-color-background-highlight);
83
83
  }
@@ -1,30 +1,30 @@
1
1
  :where(.focus-ring),
2
2
  :where(:enabled) {
3
3
  outline: 0px solid transparent;
4
- outline-offset: var(--g-theme-focus-ring-offset-default);
5
- transition-duration: var(--g-animation-duration-20);
4
+ outline-offset: var(--g-focus-ring-offset-default);
5
+ transition-duration: var(--g-animation-move-quick);
6
6
  transition-property: outline-color, width;
7
7
  }
8
8
 
9
9
  :where(.focus-ring):focus-visible,
10
10
  :where(:enabled):focus-visible {
11
- outline: var(--g-theme-focus-ring-width-default) solid
12
- var(--g-theme-focus-ring-color-default);
11
+ outline: var(--g-focus-ring-width-default) solid
12
+ var(--g-focus-ring-color-default);
13
13
  }
14
14
 
15
15
  @media (prefers-contrast: more) {
16
16
  :where(.focus-ring):focus-visible,
17
17
  :where(:enabled):focus-visible {
18
- outline: var(--g-theme-focus-ring-width-default) solid
19
- var(--g-theme-focus-ring-color-contrast);
18
+ outline: var(--g-focus-ring-width-default) solid
19
+ var(--g-focus-ring-color-contrast);
20
20
  box-shadow: 0 0 0
21
21
  calc(
22
22
  (
23
- var(--g-theme-focus-ring-width-default) +
24
- var(--g-theme-focus-ring-offset-default)
23
+ var(--g-focus-ring-width-default) +
24
+ var(--g-focus-ring-offset-default)
25
25
  ) *
26
26
  1.5
27
27
  )
28
- var(--g-theme-focus-ring-color-contrast-shadow);
28
+ var(--g-focus-ring-color-contrast-shadow);
29
29
  }
30
30
  }
@@ -1,30 +1,30 @@
1
1
  .focus-ring,
2
2
  :host(.focus-ring) {
3
3
  outline: 0px solid transparent;
4
- outline-offset: var(--g-theme-focus-ring-offset-default);
5
- transition-duration: var(--g-animation-duration-20);
4
+ outline-offset: var(--g-focus-ring-offset-default);
5
+ transition-duration: var(--g-animation-move-quick);
6
6
  transition-property: outline-color, width;
7
7
  }
8
8
 
9
9
  .focus-ring:focus-visible,
10
10
  :host(.focus-ring):focus-visible {
11
- outline: var(--g-theme-focus-ring-width-default) solid
12
- var(--g-theme-focus-ring-color-default);
11
+ outline: var(--g-focus-ring-width-default) solid
12
+ var(--g-focus-ring-color-default);
13
13
  }
14
14
 
15
15
  @media (prefers-contrast: more) {
16
16
  .focus-ring:focus-visible,
17
17
  :host(.focus-ring):focus-visible {
18
- outline: var(--g-theme-focus-ring-width-default) solid
19
- var(--g-theme-focus-ring-color-contrast);
18
+ outline: var(--g-focus-ring-width-default) solid
19
+ var(--g-focus-ring-color-contrast);
20
20
  box-shadow: 0 0 0
21
21
  calc(
22
22
  (
23
- var(--g-theme-focus-ring-width-default) +
24
- var(--g-theme-focus-ring-offset-default)
23
+ var(--g-focus-ring-width-default) +
24
+ var(--g-focus-ring-offset-default)
25
25
  ) *
26
26
  1.5
27
27
  )
28
- var(--g-theme-focus-ring-color-contrast-shadow);
28
+ var(--g-focus-ring-color-contrast-shadow);
29
29
  }
30
30
  }
package/src/main.js CHANGED
@@ -21,6 +21,7 @@ export * from "./components/media-text/index.js";
21
21
  export * from "./components/newsletter/index.js";
22
22
  export * from "./components/notice/index.js";
23
23
  export * from "./components/pagination/index.js";
24
+ export * from "./components/person/index.js";
24
25
  export * from "./components/pricing/index.js";
25
26
  export * from "./components/stats/index.js";
26
27
  export * from "./components/tabs/index.js";
@@ -1,5 +1,6 @@
1
1
  import { html } from "lit";
2
2
  import "../components/app-bar/app-bar.js";
3
+ import "../components/app-bar/nav-link.js"
3
4
  import "../components/button/button.js";
4
5
  import "../components/hero/hero.js";
5
6
  import "../components/media-text/media-text.js";
@@ -54,9 +55,9 @@ export const Default = {
54
55
  Studio North
55
56
  </a>
56
57
  <div slot="nav" style="display: flex; gap: 0.5rem;">
57
- <a href="/work">Work</a>
58
- <a href="/services">Services</a>
59
- <a href="/about">About</a>
58
+ <grantcodes-nav-link><a href="/work">Work</a></grantcodes-nav-link>
59
+ <grantcodes-nav-link><a href="/services">Services</a></grantcodes-nav-link>
60
+ <grantcodes-nav-link><a href="/about">About</a></grantcodes-nav-link>
60
61
  </div>
61
62
  <div slot="actions">
62
63
  <grantcodes-button>Get in touch</grantcodes-button>
@@ -155,7 +156,7 @@ export const Default = {
155
156
  <div slot="bottom">
156
157
  <p>&copy; 2025 Studio North. All rights reserved.</p>
157
158
  </div>
158
- <div slot="bottom" style="display: flex; gap: var(--g-theme-spacing-md);">
159
+ <div slot="bottom" style="display: flex; gap: var(--g-spacing-md);">
159
160
  <a href="/privacy">Privacy</a>
160
161
  <a href="/terms">Terms</a>
161
162
  </div>