Skip to content

Commit 3e43a27

Browse files
Replaced Tailwind with Bootstrap (#3224)
1 parent e60058e commit 3e43a27

81 files changed

Lines changed: 1717 additions & 1369 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
{
135135
"label": "VSCode: Watch tutorial",
136136
"type": "npm",
137-
"script": "watch:tailwind",
137+
"script": "watch",
138138
"isBackground": true,
139139
"presentation": {
140140
"reveal": "never"

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Netlify configuration file for building and deploying the Cursorless website.
22
# Read by Netlify GitHub app.
3+
# https://app.netlify.com/projects/cursorless/deploys
34

45
[build]
56
command = "./scripts/build-and-assemble-website.sh"

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
"eslint-plugin-unicorn": "^63.0.0",
5252
"eslint-plugin-unused-imports": "^4.4.1",
5353
"prettier": "^3.8.1",
54-
"prettier-plugin-tailwindcss": "^0.7.2",
5554
"syncpack": "^14.2.0",
5655
"tsx": "^4.21.0",
5756
"typescript": "^5.9.3",

packages/cheatsheet-local/.browserslistrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/cheatsheet-local/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<title>Cursorless Cheatsheet</title>
66

77
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
<link rel="icon" type="image/x-icon" href="./src/favicon.ico" />
98
<script id="cheatsheet-data">
109
// Dummy data for use in debugging
1110
document.cheatsheetInfo = __FAKE_CHEATSHEET_INFO__;

packages/cheatsheet-local/package.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,29 @@
1313
"default": "./out/index.js"
1414
}
1515
},
16-
"postcss": {
17-
"plugins": {
18-
"@tailwindcss/postcss": {}
19-
}
20-
},
2116
"scripts": {
2217
"test": "jest",
2318
"compile": "tsc --build",
2419
"watch": "tsc --build --watch",
25-
"build": "pnpm build:prod",
20+
"serve": "vite serve",
21+
"preview": "vite preview",
22+
"build": "vite build",
2623
"build:dev": "vite build --mode development",
27-
"build:prod": "vite build --mode production",
2824
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
2925
},
3026
"dependencies": {
3127
"@cursorless/cheatsheet": "workspace:*",
3228
"@cursorless/common": "workspace:*",
33-
"preact": "^10.29.0",
34-
"tslib": "^2.8.1"
29+
"bootstrap": "^5.3.8",
30+
"preact": "^10.29.0"
3531
},
3632
"devDependencies": {
37-
"@preact/preset-vite": "^2.10.3",
38-
"@tailwindcss/postcss": "^4.2.1",
3933
"@types/jest": "^30.0.0",
4034
"@types/node": "^24.12.0",
4135
"jest": "^30.3.0",
42-
"postcss": "^8.5.8",
43-
"tailwindcss": "^4.2.1",
4436
"typescript": "^5.9.3",
4537
"vite": "^8.0.0",
38+
"vite-plugin-purgecss": "^0.2.13",
4639
"vite-plugin-singlefile": "^2.3.0"
4740
}
4841
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { CheatsheetInfo } from "@cursorless/cheatsheet";
2-
import { CheatsheetPage } from "@cursorless/cheatsheet";
2+
import { Cheatsheet } from "@cursorless/cheatsheet";
33
import "./styles.css";
44

55
declare global {
@@ -16,5 +16,5 @@ declare global {
1616
}
1717

1818
export function App() {
19-
return <CheatsheetPage cheatsheetInfo={document.cheatsheetInfo} />;
19+
return <Cheatsheet cheatsheetInfo={document.cheatsheetInfo} />;
2020
}

packages/cheatsheet-local/src/app/app.module.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/cheatsheet-local/src/app/styles.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/cheatsheet-local/src/assets/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)