Skip to content

Commit 9a98c09

Browse files
committed
fix: updated the announcement bar color to lighter orange
Signed-off-by: riddhij-7 <[email protected]>
1 parent d16c09c commit 9a98c09

40 files changed

+167
-184
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module.exports = {
9999
},
100100
announcementBar: {
101101
id: "announcementBar_1", // Increment on change
102-
content: ` If you like Keploy, give it a star ⭐️ on <a target="_blank" rel="noopener noreferrer" href="https://github.com/keploy/keploy">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/keployio">Twitter</a> ❤️ `,
102+
content: `⭐️ If you like Keploy, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/keploy/keploy">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/keployio">Twitter</a> ❤️ `,
103103
},
104104
prism: {
105105
theme: prismThemes.vsLight,

src/css/custom.css

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212

1313
:root {
1414
/* Hotfix: Changed primary color to black to resolve conflict with Docusaurus' default primary orange after disabling Tailwind preflight CSS. Added font size and line height adjustments to compensate for the removal of Tailwind preflight. */
15-
15+
1616
/* --ifm-color-primary-lighter: #ffb575; */
17-
font-size:18px;
17+
font-size: 18px;
1818
line-height: 1.6;
1919
--ifm-color-primary: #000;
2020

21-
--ifm-color-primary-lighter: #FFF;
21+
--ifm-color-primary-lighter: #fff;
2222
--ifm-color-primary: #ff914d;
2323
--ifm-color-primary-dark: #e67643;
2424
--ifm-color-primary-darker: #c95919;
2525
--ifm-color-primary-darkest: #be2c1b;
2626
--ifm-color-primary-light: #ffd0a0;
27-
27+
2828
--ifm-color-primary-lightest: #ffceb1;
2929
--ifm-code-font-size: 95%;
3030
--doc-sidebar-width: 275px !important;
@@ -37,11 +37,10 @@
3737

3838
html[data-theme="dark"] {
3939
/* Hotfix: Changed 'ifm-color-primary-lighter' to white to resolve conflict with Docusaurus' default color after disabling Tailwind preflight CSS. */
40-
4140

4241
/* --ifm-color-primary-lighter: #ffb575; */
43-
--ifm-color-primary-lighter: #FFF;
44-
42+
--ifm-color-primary-lighter: #fff;
43+
4544
--ifm-color-primary: #ff914d;
4645
--ifm-color-primary-dark: #e67643;
4746
--ifm-color-primary-darker: #c95919;
@@ -112,7 +111,7 @@ html[data-theme="light"] {
112111
}
113112

114113
/* Hotfix: Remove extra margin-bottom on community links subtext in the home page due to Tailwind preflight removal */
115-
h3{
114+
h3 {
116115
margin-bottom: 0.1rem;
117116
}
118117
h1,
@@ -213,7 +212,7 @@ div[class^="sidebar_"] .button svg {
213212

214213
/* Pagination */
215214
.pagination-nav {
216-
@apply flex mt-12 flex-col items-start justify-center space-x-0 space-y-5 md:flex-row md:space-x-10 md:space-y-0;
215+
@apply mt-12 flex flex-col items-start justify-center space-x-0 space-y-5 md:flex-row md:space-x-10 md:space-y-0;
217216
}
218217
.pagination-nav__item {
219218
@apply w-full max-w-md;
@@ -228,7 +227,7 @@ div[class^="sidebar_"] .button svg {
228227
}
229228

230229
.navbar__items--right {
231-
@apply justify-end ml-auto flex-row-reverse;
230+
@apply ml-auto flex-row-reverse justify-end;
232231
gap: 13px;
233232
}
234233

@@ -336,7 +335,7 @@ footer svg {
336335
}
337336

338337
/* Reset margin bottom on h3 (refer docs community section li item heading) after disabling tailwind preflight. */
339-
h3{
338+
h3 {
340339
margin-bottom: 1px;
341340
}
342341

@@ -574,19 +573,19 @@ td img {
574573

575574
.theme-announcement-bar,
576575
.announcementBar_mb4j {
577-
background: linear-gradient(90deg, #ffcc33, #ff884d) !important;
576+
background: linear-gradient(90deg, #fadf8b, #f9bc5f) !important;
578577
color: #000 !important;
579578
position: relative !important;
580579
font-weight: 600 !important;
581580
font-size: 1.1rem !important;
582581
text-align: center;
583582
padding: 1.5rem 0 !important;
584-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
583+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
585584
}
586585

587586
/* Optional: Dark theme gradient */
588-
html[data-theme='dark'] .theme-announcement-bar,
589-
html[data-theme='dark'] .announcementBar_mb4j {
587+
html[data-theme="dark"] .theme-announcement-bar,
588+
html[data-theme="dark"] .announcementBar_mb4j {
590589
background: linear-gradient(90deg, #1e1e2f, #3a3a5c) !important;
591590
color: #fff !important;
592591
}
@@ -621,13 +620,14 @@ a[class="breadcrumbs__link"] {
621620
}
622621

623622
/* Hotfix: Manually add Tailwind preflight styles to fix clipboard issues in Safari.
624-
Using `preflight: true` caused style conflicts, so these styles are directly included here. */*,
623+
Using `preflight: true` caused style conflicts, so these styles are directly included here. */
624+
*,
625625
::before,
626626
::after {
627627
box-sizing: border-box;
628628
border-width: 0;
629629
border-style: solid;
630-
border-color: theme('borderColor.DEFAULT', currentColor);
630+
border-color: theme("borderColor.DEFAULT", currentColor);
631631
}
632632

633633
* {
@@ -640,7 +640,7 @@ html {
640640
-webkit-text-size-adjust: 100%;
641641
-moz-tab-size: 4;
642642
tab-size: 4;
643-
font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, sans-serif);
643+
font-family: theme("fontFamily.sans", ui-sans-serif, system-ui, sans-serif);
644644
}
645645

646646
body {
@@ -694,9 +694,9 @@ html {
694694
}
695695

696696
button,
697-
[type='button'],
698-
[type='reset'],
699-
[type='submit'] {
697+
[type="button"],
698+
[type="reset"],
699+
[type="submit"] {
700700
-webkit-appearance: button;
701701
background-color: transparent;
702702
background-image: none;
@@ -723,12 +723,12 @@ menu {
723723
}
724724

725725
:focus-visible {
726-
outline: 2px solid theme('colors.blue.600', #2563eb);
726+
outline: 2px solid theme("colors.blue.600", #2563eb);
727727
outline-offset: 2px;
728728
}
729729

730-
[type='number']::-webkit-inner-spin-button,
731-
[type='number']::-webkit-outer-spin-button {
730+
[type="number"]::-webkit-inner-spin-button,
731+
[type="number"]::-webkit-outer-spin-button {
732732
height: auto;
733733
}
734734

@@ -762,7 +762,7 @@ textarea {
762762
}
763763

764764
.theme-back-to-top-button {
765-
background-color: #FF914D !important;
765+
background-color: #ff914d !important;
766766
color: white !important;
767767
}
768768

@@ -773,5 +773,3 @@ textarea {
773773
.theme-back-to-top-button:hover {
774774
background-color: #e67643 !important;
775775
}
776-
777-

src/pages/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
}
142142

143143
.announcement {
144-
background: linear-gradient(90deg, #ffcc33, #ff884d);
144+
background: linear-gradient(90deg, #ffe082, #ffb74d);
145145
font-weight: 600;
146146
font-size: 1.1rem;
147147
color: #000;
@@ -162,4 +162,4 @@
162162
.announcementInner {
163163
margin: 0 auto;
164164
max-width: 900px;
165-
}
165+
}

src/theme/Heading/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See https://twitter.com/JoshWComeau/status/1332015868725891076
1919
}
2020

2121
:global(.hash-link::before) {
22-
content: '#';
22+
content: "#";
2323
}
2424

2525
:global(.hash-link:focus),

static/css/code-block-buttons.css

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
/* "Copy" code block button */
22
pre {
3-
position: relative;
4-
}
5-
6-
pre .btnIcon {
7-
position: absolute;
8-
top: 4px;
9-
z-index: 2;
10-
cursor: pointer;
11-
border: 1px solid transparent;
12-
padding: 0;
13-
color: #fff;
14-
background-color: transparent;
15-
height: 30px;
16-
transition: all .25s ease-out;
17-
}
18-
19-
pre .btnIcon:hover {
20-
text-decoration: none;
21-
}
22-
23-
.btnIcon__body {
24-
align-items: center;
25-
display: flex;
26-
}
27-
28-
.btnIcon svg {
29-
fill: currentColor;
30-
margin-right: .4em;
31-
}
32-
33-
.btnIcon__label {
34-
font-size: 11px;
35-
}
36-
37-
.btnClipboard {
38-
right: 10px;
39-
}
3+
position: relative;
4+
}
5+
6+
pre .btnIcon {
7+
position: absolute;
8+
top: 4px;
9+
z-index: 2;
10+
cursor: pointer;
11+
border: 1px solid transparent;
12+
padding: 0;
13+
color: #fff;
14+
background-color: transparent;
15+
height: 30px;
16+
transition: all 0.25s ease-out;
17+
}
18+
19+
pre .btnIcon:hover {
20+
text-decoration: none;
21+
}
22+
23+
.btnIcon__body {
24+
align-items: center;
25+
display: flex;
26+
}
27+
28+
.btnIcon svg {
29+
fill: currentColor;
30+
margin-right: 0.4em;
31+
}
32+
33+
.btnIcon__label {
34+
font-size: 11px;
35+
}
36+
37+
.btnClipboard {
38+
right: 10px;
39+
}

vale_styles/Google/AMPM.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "Use 'AM' or 'PM' (preceded by a space)."
3-
link: 'https://developers.google.com/style/word-list'
3+
link: "https://developers.google.com/style/word-list"
44
level: error
55
nonword: true
66
tokens:

vale_styles/Google/Acronyms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: conditional
22
message: "Spell out '%s', if it's unfamiliar to the audience."
3-
link: 'https://developers.google.com/style/abbreviations'
3+
link: "https://developers.google.com/style/abbreviations"
44
level: suggestion
55
ignorecase: false
66
# Ensures that the existence of 'first' implies the existence of 'second'.

vale_styles/Google/Colons.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "'%s' should be in lowercase."
3-
link: 'https://developers.google.com/style/colons'
3+
link: "https://developers.google.com/style/colons"
44
nonword: true
55
level: warning
66
scope: sentence

vale_styles/Google/Contractions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: substitution
22
message: "Feel free to use '%s' instead of '%s'."
3-
link: 'https://developers.google.com/style/contractions'
3+
link: "https://developers.google.com/style/contractions"
44
level: suggestion
55
ignorecase: true
66
action:

vale_styles/Google/DateFormat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "Use 'July 31, 2016' format, not '%s'."
3-
link: 'https://developers.google.com/style/dates-times'
3+
link: "https://developers.google.com/style/dates-times"
44
ignorecase: true
55
level: error
66
nonword: true

0 commit comments

Comments
 (0)