mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-17 10:55:12 +00:00
* feat: add design * fix: nicer light mode * fix: register secondary button * fix: register secondary button * fix: merge
43 lines
1.5 KiB
SCSS
43 lines
1.5 KiB
SCSS
// ----- FONTS ------------
|
|
$standardFont: Lato;
|
|
$headerFont: Lato;
|
|
|
|
// ----- LAYOUT ------------
|
|
$inputHeight: 50px;
|
|
$retina: "only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)";
|
|
|
|
@mixin retina-background-image($file, $type, $hover, $width, $height) {
|
|
$hovername: '';
|
|
@if $hover {
|
|
$hovername: '-hover';
|
|
}
|
|
$filename :$file + $hovername;
|
|
background-image: url($filename + '.' + $type);
|
|
@media #{$retina} {
|
|
background-image: url($filename + '@2x.' + $type);
|
|
background-size: $width $height;
|
|
}
|
|
}
|
|
|
|
// ----- DARK-THEME --------
|
|
$backgroundColor: #282828;
|
|
$fontColor: #BBBBC8;
|
|
$primaryColor: #3574C6;
|
|
$primaryColorHover: lighten($primaryColor, 10%);
|
|
$labelColor: #898989;
|
|
$inputBorderColor: #505050;
|
|
$inputBackgroundColor: #252525;
|
|
$buttonBackgroundColorHover: $inputBackgroundColor;
|
|
$profileImgDark: "/resources/images/icon-user-dark";
|
|
$otherUserImgDark: "/resources/images/icon-newuser-dark";
|
|
|
|
|
|
// ----- LIGHT-THEME --------
|
|
$backgroundColorLight: #f5f5f5;
|
|
$fontColorLight: $backgroundColor;
|
|
$primaryColorLight: $primaryColor;
|
|
$primaryColorHoverLight: lighten($primaryColorLight, 10%);
|
|
$inputBackgroundColorLight: #FFFFFF;
|
|
$buttonBackgroundColorHoverLight: $inputBackgroundColor;
|
|
$profileImgLight: "/resources/images/icon-user-light";
|
|
$otherUserImgLight: "/resources/images/icon-newuser-light"; |