Skip to content

Commit 04d69f7

Browse files
committed
feat: fix border sizing
1 parent e259191 commit 04d69f7

28 files changed

+72
-148
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"Bash(pnpm remove:*)",
2828
"WebFetch(domain:github.com)",
2929
"mcp__browsermcp__browser_navigate",
30-
"Bash(clear)"
30+
"Bash(clear)",
31+
"Bash(git log:*)"
3132
]
3233
},
3334
"enableAllProjectMcpServers": false

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,5 @@ Enables GraphQL playground at `http://tower.local/graphql`
138138

139139
## Development Memories
140140

141-
- We are using tailwind v4 we do not need a tailwind config anymore
141+
- We are using tailwind v4 we do not need a tailwind config anymore
142+
- always search the internet for tailwind v4 documentation when making tailwind related style changes

pnpm-lock.yaml

Lines changed: 8 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unraid-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"reka-ui": "2.3.2",
6464
"shadcn-vue": "2.2.0",
6565
"tailwind-merge": "2.6.0",
66+
"tw-animate-css": "^1.3.5",
6667
"vue-sonner": "1.3.2"
6768
},
6869
"devDependencies": {
@@ -98,7 +99,6 @@
9899
"rimraf": "6.0.1",
99100
"storybook": "9.0.17",
100101
"tailwindcss": "4.1.11",
101-
"tailwindcss-animate": "1.0.7",
102102
"typescript": "5.8.3",
103103
"typescript-eslint": "8.37.0",
104104
"vite": "7.0.4",

unraid-ui/src/styles/globals.css

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
@import 'tailwindcss';
2-
3-
@source './src/components/**/*.{js,vue,ts}';
4-
@source './src/components/**/*.ce.{js,vue,ts}';
5-
@source './src/composables/**/*.{js,vue,ts}';
6-
@source './stories/**/*.stories.{js,ts,jsx,mdx}';
7-
@source './index.html';
2+
@import 'tw-animate-css';
83

94
/*
105
The default border color has changed to `currentcolor` in Tailwind CSS v4,
@@ -22,6 +17,11 @@
2217
::file-selector-button {
2318
border-color: hsl(var(--border));
2419
}
20+
21+
/* Fix for Tailwind v4 border styles not working */
22+
* {
23+
--tw-border-style: solid;
24+
}
2525
}
2626

2727
@theme {
@@ -214,6 +214,22 @@
214214

215215
/* Radius */
216216
--radius: 0.5rem;
217+
218+
/* Text Resizing */
219+
--text-xs: 1.2rem; /* 12px at 10px base */
220+
--text-sm: 1.4rem; /* 14px at 10px base */
221+
--text-base: 1.6rem; /* 16px at 10px base */
222+
--text-lg: 1.8rem; /* 18px at 10px base */
223+
--text-xl: 2rem; /* 20px at 10px base */
224+
--text-2xl: 2.4rem; /* 24px at 10px base */
225+
--text-3xl: 3rem; /* 30px at 10px base */
226+
--text-4xl: 3.6rem; /* 36px at 10px base */
227+
--text-5xl: 4.8rem; /* 48px at 10px base */
228+
--text-6xl: 6rem; /* 60px at 10px base */
229+
--text-7xl: 7.2rem; /* 72px at 10px base */
230+
--text-8xl: 9.6rem; /* 96px at 10px base */
231+
--text-9xl: 12.8rem; /* 128px at 10px base */
232+
--spacing: 0.4rem; /* 4px at 10px base */
217233
}
218234

219235
@layer base {

web/codegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ const config: CodegenConfig = {
4141
},
4242
};
4343

44-
export default config;
44+
export default config;

web/components/Activation/ActivationPartnerLogoImg.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ const { darkMode } = storeToRefs(useThemeStore());
1818
:src="partnerInfo?.partnerLogoUrl"
1919
class="w-72"
2020
:class="{ invert: darkMode && partnerInfo.hasPartnerLogo }"
21-
/>
21+
>
2222
</template>

web/components/Activation/graphql/activationCode.query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ export const ACTIVATION_CODE_QUERY = graphql(/* GraphQL */ `
3838
}
3939
}
4040
}
41-
`);
41+
`);

web/components/ApiKey/actionVariant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ export function actionVariant(action: string):
2727
default:
2828
return 'gray';
2929
}
30-
}
30+
}

web/components/ConnectSettings/ConnectSettings.ce.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ const onChange = ({ data }: { data: Record<string, unknown> }) => {
107107
>
108108
<template v-if="connectPluginInstalled">
109109
<Label>Account Status:</Label>
110-
<div v-html="'<unraid-auth></unraid-auth>'"></div>
110+
<div v-html="'<unraid-auth></unraid-auth>'"/>
111111
</template>
112112
<Label>Download Unraid API Logs:</Label>
113113
<div
114114
v-html="
115115
'<unraid-download-api-logs></unraid-download-api-logs>'
116116
"
117-
></div>
117+
/>
118118
</div>
119119
<!-- auto-generated settings form -->
120120
<div class="mt-6 pl-3 [&_.vertical-layout]:space-y-6">

0 commit comments

Comments
 (0)