Skip to content

Commit 00728d1

Browse files
Trotttargos
authored andcommitted
doc: apply logical ordering to CSS variables
The CSS variables are not in any particular logical order as far as I can tell, with certain items that would seem to go together not grouped. This puts them in alphabetical order. PR-URL: #39169 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent bf4c50f commit 00728d1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: doc/api_assets/style.css

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,23 @@
2525
--gray7: #c1c1c1;
2626
--grey8: #ddd;
2727

28+
--api-stability-links-bg: rgba(255, 255, 255, .4);
2829
--color-brand-primary: var(--gray6);
2930
--color-brand-secondary: var(--green1);
30-
--color-text-primary: var(--gray6);
31-
--color-text-secondary: var(--green2);
3231
--color-fill-app: var(--white);
32+
--color-fill-side-nav: var(--gray6);
33+
--color-links: var(--green1);
3334
--color-text-nav: var(--gray3);
35+
--color-text-primary: var(--gray6);
36+
--color-text-secondary: var(--green2);
3437
--highlight-background-color: var(--white-smoke);
35-
--color-links: var(--green1);
36-
--color-fill-side-nav: var(--gray6);
37-
--api-stability-links-bg: rgba(255, 255, 255, .4)
3838
}
3939

4040
.dark-mode {
41-
--color-links: var(--green5);
4241
--color-fill-app: var(--black1);
43-
--color-text-primary: var(--white);
4442
--color-fill-side-nav: var(--black3);
43+
--color-links: var(--green5);
44+
--color-text-primary: var(--white);
4545
--highlight-background-color: var(--black2);
4646
}
4747

0 commit comments

Comments
 (0)