Skip to content

Commit

Permalink
doc: apply logical ordering to CSS variables
Browse files Browse the repository at this point in the history
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 <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
  • Loading branch information
Trott authored and targos committed Jul 11, 2021
1 parent bf4c50f commit 00728d1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@
--gray7: #c1c1c1;
--grey8: #ddd;

--api-stability-links-bg: rgba(255, 255, 255, .4);
--color-brand-primary: var(--gray6);
--color-brand-secondary: var(--green1);
--color-text-primary: var(--gray6);
--color-text-secondary: var(--green2);
--color-fill-app: var(--white);
--color-fill-side-nav: var(--gray6);
--color-links: var(--green1);
--color-text-nav: var(--gray3);
--color-text-primary: var(--gray6);
--color-text-secondary: var(--green2);
--highlight-background-color: var(--white-smoke);
--color-links: var(--green1);
--color-fill-side-nav: var(--gray6);
--api-stability-links-bg: rgba(255, 255, 255, .4)
}

.dark-mode {
--color-links: var(--green5);
--color-fill-app: var(--black1);
--color-text-primary: var(--white);
--color-fill-side-nav: var(--black3);
--color-links: var(--green5);
--color-text-primary: var(--white);
--highlight-background-color: var(--black2);
}

Expand Down

0 comments on commit 00728d1

Please sign in to comment.