Skip to content

Commit 0fab5ba

Browse files
committed
Use colors consistently across dependencies and depdents pages
1 parent 96f383a commit 0fab5ba

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

app/components/dependency-list/row.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.row {
22
--bg-color: var(--grey200);
33
--hover-bg-color: light-dark(hsl(217, 37%, 98%), hsl(204, 3%, 11%));
4-
--range-color: light-dark(var(--grey900), #d1cfc7);
5-
--crate-color: light-dark(var(--grey700), #d1cfc7);
4+
--range-color: light-dark(var(--grey900), var(--grey400));
5+
--crate-color: light-dark(var(--grey900), var(--grey400));
66
--placeholder-opacity: 0.35;
77
--shadow: 0 1px 3px light-dark(hsla(51, 90%, 42%, .35), #232321);
88

@@ -90,7 +90,7 @@
9090
}
9191

9292
.optional-label, .features-label {
93-
color: light-dark(var(--grey600), var(--grey400));
93+
color: var(--range-color);
9494
text-transform: uppercase;
9595
letter-spacing: .7px;
9696
font-size: 13px;

app/components/rev-dep-row.module.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.row {
22
--hover-bg-color: light-dark(hsl(217, 37%, 98%), hsl(204, 3%, 11%));
3-
--crate-color: light-dark(var(--grey700), var(--grey600));
3+
--crate-color: light-dark(var(--grey900), var(--grey400));
4+
--range-color: light-dark(var(--grey900), var(--grey400));
45
--placeholder-opacity: 0.35;
56
--shadow: 0 1px 3px light-dark(hsla(51, 90%, 42%, .35), #232321);
67

@@ -59,7 +60,7 @@
5960
}
6061

6162
.range {
62-
color: var(--grey600);
63+
color: var(--range-color);
6364
text-transform: uppercase;
6465
letter-spacing: .7px;
6566
font-size: 13px;
@@ -68,7 +69,7 @@
6869
.downloads {
6970
display: flex;
7071
align-items: center;
71-
color: var(--grey600);
72+
color: var(--range-color);
7273
font-size: 16px;
7374
font-weight: 500;
7475
font-variant: tabular-nums;

app/styles/application.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
:root, [data-theme="classic"] {
22
--violet800: hsl(252, 44%, 24%);
33
--grey900: hsl(200, 15%, 19%);
4+
--grey800: hsl(200, 11%, 30%);
45
--grey700: hsl(200, 11%, 43%);
56
--grey600: hsl(200, 13%, 60%);
7+
--grey400: hsl(200, 14%, 75%);
68
--grey200: hsl(200, 17%, 96%);
79
--green800: hsl(115, 31%, 31%);
810
--green900: hsl(115, 31%, 21%);

0 commit comments

Comments
 (0)