Skip to content

Commit c8b947e

Browse files
authored
Styles: Adjust coveo styling to match branding (#274)
1 parent 99559e9 commit c8b947e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

assets/css/v2/style.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838

3939
:root {
4040
/* webfonts */
41-
font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont,
42-
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
43-
sans-serif;
41+
font-family: var(--font-family);
4442
font-feature-settings: "liga" on, "calt" on;
4543

4644
/* fallback to slightly thinner font on browsers without variable 'wght' support */
@@ -51,6 +49,9 @@
5149

5250
/* MARK: Variables
5351
*/
52+
--font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont,
53+
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
54+
sans-serif;
5455
--color-brand: 56.6% 0.194 147.7;
5556
--color-brand-300: 0.84 0.0699 157.51;
5657
--color-brand-200: 0.91 0.0406 157.72;
@@ -144,7 +145,9 @@ h6 {
144145

145146
@supports (font-variation-settings: normal) {
146147
:root {
147-
font-family: InterVariable, sans-serif;
148+
--font-family: InterVariable, system-ui, -apple-system, BlinkMacSystemFont,
149+
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
150+
sans-serif;
148151
}
149152

150153
h1,
@@ -716,10 +719,12 @@ nav {
716719
width: 95vw;
717720
grid-column: 1 / -1;
718721
--atomic-primary: oklch(var(--color-brand));
722+
--atomic-primary-ring: oklch(var(--color-brand));
723+
--atomic-primary-light: oklch(var(--color-brand));
719724
--atomic-border-radius-lg: 0;
720725
--atomic-border-radius-md: 0;
721726
--atomic-border-radius: 0;
722-
--atomic-font-family: inherit;
727+
--atomic-font-family: var(--font-family);
723728
}
724729

725730
atomic-search-interface {

0 commit comments

Comments
 (0)