selfservice branding

This commit is contained in:
Karol Wypchlo 2020-12-14 12:49:35 +01:00
parent 149cb12609
commit 1bae3f3e92
3 changed files with 40 additions and 0 deletions

View File

@ -248,6 +248,9 @@ services:
container_name: kratos-selfservice-ui-node container_name: kratos-selfservice-ui-node
restart: on-failure restart: on-failure
logging: *default-logging logging: *default-logging
volumes:
- ./docker/kratos-selfservice-ui-node/main.hbs:/usr/src/app/views/layouts/main.hbs:ro
- ./docker/kratos-selfservice-ui-node/branding.css:/usr/src/app/public/branding.css:ro
environment: environment:
- PORT=4435 - PORT=4435
- SECURITY_MODE=jwks - SECURITY_MODE=jwks

View File

@ -0,0 +1,14 @@
:root {
--base-white: #ffffff;
--base-light: #f0f0f1;
--base-text: #99999e;
--base-main: #5a5b6a;
--base-dark: #19191d;
--base-black: #000000;
--primary-light: #ecfdfe;
--primary-half: #95e1f9;
--primary-main: #3dacfc;
--primary-dark: #2e0473;
--red-strong: #f44336;
--green-strong: #43a047;
}

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{#if baseUrl}}
<base href="{{baseUrl}}" />
{{/if}}
<link rel="icon" type="image/png" href="{{pathPrefix}}favico.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<meta charset="utf-8">
<title>{{projectName}}</title>
<link rel="stylesheet" href="{{pathPrefix}}index.css">
<link rel="stylesheet" href="{{pathPrefix}}typography.css">
<link rel="stylesheet" href="{{pathPrefix}}form.css">
<link rel="stylesheet" href="{{pathPrefix}}auth.css">
<link rel="stylesheet" href="{{pathPrefix}}branding.css">
</head>
<body>
{{{body}}}
</body>
</html>