+
-
diff --git a/src/assets/main.css b/src/assets/main.css
index 7bc7bd6..6f24b30 100644
--- a/src/assets/main.css
+++ b/src/assets/main.css
@@ -1,21 +1,23 @@
-@import "tailwindcss";
+@import 'tailwindcss';
+.card {
+ width: 9cm;
+ height: 6.5cm;
+}
@media print {
- .noPrint{
- display:none;
+ .noPrint {
+ display: none;
+ }
+
+ .page {
+ width: 100%;
+ grid-column: span 3 / span 3;
+ height: 100dvh !important;
+ body {
+ width: 21cm;
+ height: 29.7cm;
+ /* change the margins as you want them to be. */
}
- .page {
- width:100%;
- grid-column: span 3 / span 3;
- height: 100dvh !important;
- body{
- width: 21cm;
- height: 29.7cm;
- margin: 30mm 45mm 30mm 45mm;
- /* change the margins as you want them to be. */
- }
- }
- .card {
- width: 9cm;
- }
-}
\ No newline at end of file
+ gap: 0;
+ }
+}
diff --git a/src/colors.ts b/src/colors.ts
new file mode 100644
index 0000000..2ef0148
--- /dev/null
+++ b/src/colors.ts
@@ -0,0 +1,32 @@
+export type Preset = Pick
+export const presets = {
+ default: {
+ bgColor: '#000000',
+ color: '#ffffff',
+ textColor: '#ffffff',
+ nameColor: '#000000',
+ title: 'Fachschaft 4',
+ },
+ awareness: {
+ bgColor: '#3e1c59',
+ color: '#6f309f',
+ textColor: '#ffffff',
+ nameColor: '#ffffff',
+ title: 'Awareness',
+ },
+ // TODO: add new types
+} satisfies Record
+
+export function validPreset(key: string): key is keyof typeof presets {
+ return key in presets
+}
+
+export type CardT = {
+ title: string
+ color: string
+ bgColor: string
+ textColor: string
+ nameColor: string
+ textSize: number
+ name: string
+}
diff --git a/src/components/card.vue b/src/components/card.vue
index 198df38..73b9412 100644
--- a/src/components/card.vue
+++ b/src/components/card.vue
@@ -1,15 +1,38 @@
-
-
{{ card.title }}
-
{{ card.name }}
+
+
+
+
+ {{ card.title }}
+
+
+
+ {{ card.name }}
+
diff --git a/src/components/logo.vue b/src/components/logo.vue
new file mode 100644
index 0000000..b6f92f1
--- /dev/null
+++ b/src/components/logo.vue
@@ -0,0 +1,541 @@
+
+
+
+
+
+
+
+