-
+
+
+
diff --git a/src/resources/colors.ts b/src/resources/colors.ts
new file mode 100644
index 00000000..67ce1bf0
--- /dev/null
+++ b/src/resources/colors.ts
@@ -0,0 +1,15 @@
+import {Module} from "@/interfaces";
+
+export const OPAQUE: {[key in Module]: string} = {
+ reading: "#FF6384",
+ listening: "#36A2EB",
+ writing: "#FFCE56",
+ speaking: "#4bc0c0",
+};
+
+export const SEMI_TRANSPARENT: {[key in Module]: string} = {
+ reading: "rgba(255, 99, 132, 0.5)",
+ listening: "rgba(54, 162, 235, 0.5)",
+ writing: "rgba(255, 206, 86, 0.5)",
+ speaking: "rgba(75, 192, 192, 0.5)",
+};
diff --git a/tailwind.config.js b/tailwind.config.js
index 67b37557..d3b2fedd 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -2,7 +2,16 @@
module.exports = {
content: ["./src/**/*.{html,tsx,ts,js,jsx}"],
theme: {
- extend: {},
+ extend: {
+ colors: {
+ ielts: {
+ reading: {DEFAULT: "#FF6384", transparent: "rgba(255, 99, 132, 0.5)"},
+ listening: {DEFAULT: "#36A2EB", transparent: "rgba(54, 162, 235, 0.5)"},
+ writing: {DEFAULT: "#FFCE56", transparent: "rgba(255, 206, 86, 0.5)"},
+ speaking: {DEFAULT: "#4bc0c0", transparent: "rgba(75, 192, 192, 0.5)"},
+ },
+ },
+ },
},
plugins: [require("daisyui")],
};