|
9 | 9 | box-sizing: border-box; |
10 | 10 | } |
11 | 11 |
|
| 12 | +/* Coveo color overrides */ |
| 13 | +/* More info: https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/ */ |
| 14 | +* { |
| 15 | + --atomic-primary: oklch(var(--color-brand)); /* Adjust the primary color */ |
| 16 | + --atomic-ring-primary: oklch(var(--color-brand) / 0.4); /* Adjust the focus color */ |
| 17 | + --atomic-primary-light: oklch(var(--color-brand)); |
| 18 | + |
| 19 | + /* Remove round corners */ |
| 20 | + --atomic-border-radius-lg: 0; |
| 21 | + --atomic-border-radius-md: 0; |
| 22 | + --atomic-border-radius: 0; |
| 23 | +} |
| 24 | + |
12 | 25 | /* Prevent font size inflation */ |
13 | 26 | html { |
14 | 27 | -moz-text-size-adjust: none; |
@@ -701,8 +714,6 @@ ol li:last-child { |
701 | 714 | .sidebar__search { |
702 | 715 | display: unset; |
703 | 716 | width: calc(var(--sidebar-width)); |
704 | | - --atomic-primary: oklch(var(--color-brand)); /* Adjust the primary color */ |
705 | | - --atomic-ring-primary: oklch(var(--color-brand) / 0.4); /* Adjust the focus color */ |
706 | 717 | margin-block-start: 0.5rem; |
707 | 718 | padding-inline: 0.5rem; |
708 | 719 | } |
@@ -1038,12 +1049,6 @@ atomic-search-interface#search-v2 { |
1038 | 1049 | display: inline-block !important; |
1039 | 1050 | width: 95vw; |
1040 | 1051 | grid-column: 1 / -1; |
1041 | | - --atomic-primary: oklch(var(--color-brand)); |
1042 | | - --atomic-primary-ring: oklch(var(--color-brand)); |
1043 | | - --atomic-primary-light: oklch(var(--color-brand)); |
1044 | | - --atomic-border-radius-lg: 0; |
1045 | | - --atomic-border-radius-md: 0; |
1046 | | - --atomic-border-radius: 0; |
1047 | 1052 | --atomic-font-family: var(--font-family); |
1048 | 1053 |
|
1049 | 1054 | atomic-search-box { |
|
0 commit comments