Add Nord style

This commit is contained in:
2022-01-17 15:46:59 +01:00
parent 452b60b193
commit 2e1315432a
5 changed files with 30 additions and 30 deletions

View File

@@ -29,12 +29,12 @@ func userStyle(r *http.Request) pixeldrainStyleSheet {
return hackerStyle
case "canta":
return cantaPixeldrainStyle
case "arc":
return arcPixeldrainStyle
case "deepsea":
return deepseaPixeldrainStyle
case "skeuos":
return skeuosPixeldrainStyle
case "nord":
return nordPixeldrainStyle
case "default":
fallthrough // use default case
default:
@@ -314,24 +314,6 @@ var cantaPixeldrainStyle = pixeldrainStyleSheet{
ShadowColor: hsl{0, 0, 0},
}
var arcPixeldrainStyle = pixeldrainStyleSheet{
TextColor: hsl{0, 0, 1},
InputColor: hsl{218, .16, .30},
InputTextColor: hsl{215, .19, .75},
HighlightColor: hsl{212, .71, .60},
HighlightTextColor: hsl{215, .19, .9},
DangerColor: hsl{357, .53, .57}, // hsl(357, 53%, 57%)
ScrollbarForegroundColor: hsl{222, .08, .44}, // hsl(222, 8%, 44%)
ScrollbarHoverColor: hsl{222, .08, .54}, // hsl(222, 8%, 44%)
Layer1Color: hsl{215, .17, .19},
Layer2Color: hsl{227, .14, .25}, // hsl(227, 14%, 25%)
Layer3Color: hsl{223, .12, .29},
Layer4Color: hsl{223, .10, .32},
ShadowColor: hsl{0, 0, 0},
}
var deepseaPixeldrainStyle = pixeldrainStyleSheet{
TextColor: hsl{0, 0, .7},
InputColor: hsl{41, .58, .47},
@@ -367,3 +349,21 @@ var skeuosPixeldrainStyle = pixeldrainStyleSheet{
ShadowColor: hsl{0, 0, 0},
}
var nordPixeldrainStyle = pixeldrainStyleSheet{
TextColor: hsl{210, .34, .63},
InputColor: hsl{193, .43, .67},
InputTextColor: hsl{180, .19, .23},
HighlightColor: hsl{145, .63, .42},
HighlightTextColor: hsl{0, 0, 0},
DangerColor: hsl{354, .42, .56},
ScrollbarForegroundColor: hsl{193, .43, .67},
ScrollbarHoverColor: hsl{193, .43, .76},
Layer1Color: hsl{220, .16, .22},
Layer2Color: hsl{222, .16, .28},
Layer3Color: hsl{220, .17, .32},
Layer4Color: hsl{220, .16, .36},
ShadowColor: hsl{0, 0, 0},
}