Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit a827530

Browse files
author
Manuel Proß
committed
feat(web): add colors according to styleguide
1 parent 7627e1e commit a827530

File tree

2 files changed

+8
-33
lines changed

2 files changed

+8
-33
lines changed

web/src/styles/globals.scss

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,10 @@
66
@tailwind utilities;
77

88
:root {
9-
--foreground-rgb: 0, 0, 0;
10-
--background-start-rgb: 214, 219, 220;
11-
--background-end-rgb: 255, 255, 255;
12-
--color-primary: #79fb2a;
13-
--color-secondary: #45ff02;
14-
--color-tertiary: #e74c3c;
15-
--c-gray-1: #313131;
16-
--c-gray-2: #222222;
17-
--c-gray-3: #1b1b1b;
18-
--primary-text: #333;
19-
--secondary-text: #555;
20-
}
21-
22-
@media (prefers-color-scheme: dark) {
23-
:root {
24-
--foreground-rgb: 255, 255, 255;
25-
--background-start-rgb: 0, 0, 0;
26-
--background-end-rgb: 0, 0, 0;
27-
}
28-
}
29-
30-
body {
31-
color: rgb(var(--foreground-rgb));
32-
background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
9+
--c-primary: #45ff02;
10+
--c-secondary-text: #cccccc;
11+
--c-gray-1: rgba(199, 199, 198, 25);
12+
--c-gray-2: rgba(127, 127, 127, 20);
13+
--c-gray-3: #313131;
14+
--c-gray-4: #222222;
3315
}

web/tailwind.config.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,13 @@ const config: Config = {
44
content: ["./src/pages/**/*.{js,ts,jsx,tsx,mdx}", "./src/components/**/*.{js,ts,jsx,tsx,mdx}", "./src/app/**/*.{js,ts,jsx,tsx,mdx}"],
55
theme: {
66
extend: {
7-
backgroundImage: {
8-
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
9-
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
10-
},
117
colors: {
128
primary: "var(--color-primary)",
13-
secondary: "var(--color-secondary)",
14-
tertiary: "var(--color-tertiary)",
15-
"primary-text": "var(--color-primary-text)",
16-
"secondary-text": "var(--color-secondary-text)",
17-
"accent-text": "var(--color-primary)",
9+
"secondary-text": "var(--c-secondary-text)",
1810
"gray-1": "var(--c-gray-1)",
1911
"gray-2": "var(--c-gray-2)",
2012
"gray-3": "var(--c-gray-3)",
13+
"gray-4": "var(--c-gray-4)",
2114
},
2215
},
2316
},

0 commit comments

Comments
 (0)