Skip to content

Commit

Permalink
Fixing Docs CSS (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk authored Sep 28, 2024
1 parent e07fcb6 commit 71042ad
Show file tree
Hide file tree
Showing 8 changed files with 411 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"prettier.printWidth": 80
},
"files.associations": {
"*.css": "tailwindcss"
}
}
File renamed without changes.
3 changes: 2 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"prettier": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "catalog:"
"typescript-eslint": "catalog:",
"webpack": "^5.95.0"
},
"prettier": "@ctrlplane/prettier-config"
}
1 change: 0 additions & 1 deletion apps/docs/pages/core-concepts/targets/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default {
metadata: "Metadata",
"target-providers": "Target Providers",
"managing-targets": "Managing Targets",
schemas: "Schemas",
Expand Down
10 changes: 10 additions & 0 deletions apps/docs/pages/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
--input: 240 5.9% 90%;
--ring: 240 5% 64.9%;
--radius: 0.5rem;
--font-sans: "Geist Sans", sans-serif;
--font-mono: "Geist Mono", monospace;
}

.dark {
Expand All @@ -49,6 +51,14 @@
}
}

body {
font-family: var(--font-sans);
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

@layer utilities {
/* Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
Expand Down
1 change: 1 addition & 0 deletions apps/docs/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { fontFamily } from "tailwindcss/defaultTheme";

import baseConfig from "@ctrlplane/tailwind-config/web";

/** @type {import('tailwindcss').Config} */
export default {
// We need to append the path to the UI package to the content array so that
// those classes are included correctly.
Expand Down
415 changes: 393 additions & 22 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion tooling/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"postcss": "^8.4.38",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "catalog:",
"tailwindcss-animate": "^1.0.7"
},
Expand Down

0 comments on commit 71042ad

Please sign in to comment.