Skip to content

Commit

Permalink
match elm-lang.org monochrome theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rlefevre committed Jul 18, 2023
1 parent 48be15f commit cd0b554
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 20 deletions.
14 changes: 7 additions & 7 deletions web/src/Icon.elm
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ logo size =
]
[ Svg.g
[ SvgA.stroke "#fff", SvgA.strokeWidth "4px" ]
[ polygon "#7fd13b" "100,0 200,100 100,100"
, polygon "#7fd13b" "0,100 50,100 50,150"
, polygon "#7fd13b" "50,100 50,150 100,150"
, polygon "#60b5cc" "50,100 100,150 150,100"
, polygon "#7fd13b" "100,150 150,100 200,100 150,150"
, polygon "#5a6378" "75,150 125,150 125,200 75,200"
, polygon "#7fd13b" "100,0 100,100 0,100"
[ polygon "#4daee2" "100,0 200,100 100,100"
, polygon "#4daee2" "0,100 50,100 50,150"
, polygon "#4daee2" "50,100 50,150 100,150"
, polygon "#4daee2" "50,100 100,150 150,100"
, polygon "#4daee2" "100,150 150,100 200,100 150,150"
, polygon "#1293d8" "75,150 125,150 125,200 75,200"
, polygon "#4daee2" "100,0 100,100 0,100"
]
]

Expand Down
5 changes: 4 additions & 1 deletion web/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,10 @@ headerFontWeight pkg =
headerColor : Package -> Ui.Color
headerColor pkg =
case Package.release pkg of
Package.Patch ->
Package.New ->
theme.white

Package.Major ->
theme.white

_ ->
Expand Down
8 changes: 4 additions & 4 deletions web/src/Theme.elm
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ theme =
, white = Ui.rgb 1 1 1
, dark = Ui.rgb 0.1 0.1 0.1
, searchBox = Ui.rgb 0.8 0.8 0.8
, newRelease = Ui.rgb255 127 209 59
, majorRelease = Ui.rgb255 240 173 0
, minorRelease = Ui.rgb255 96 181 204
, patchRelease = Ui.rgb255 90 99 120
, newRelease = Ui.rgb255 18 147 216
, majorRelease = Ui.rgb 0 0 0
, minorRelease = Ui.rgb 0.5 0.5 0.5
, patchRelease = Ui.rgb 0.75 0.75 0.75
, link = Ui.rgb255 17 132 206
, overLink = Ui.rgb255 234 21 122
, shadow =
Expand Down
10 changes: 5 additions & 5 deletions web/static/greenwood.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions web/static/spinner.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
width: 18px;
height: 18px;

background-color: #7fd13b;
background-color: #3686c8;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner > .bounce2 {
background-color: #60b5cc;
background-color: #3686c8;
}

.spinner > .bounce3 {
background-color: #5a6378;
background-color: #3686c8;
}

.spinner .bounce1 {
Expand Down

0 comments on commit cd0b554

Please sign in to comment.