Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4c1b306
maybe did stuff?
BigSpaceships Mar 27, 2026
c38011a
actual files
BigSpaceships Mar 27, 2026
5a1abf8
feat: js color modes
BigSpaceships Apr 22, 2026
b558205
javascript stuff
BigSpaceships Apr 22, 2026
c905bfd
testing stuff
BigSpaceships May 1, 2026
2b51168
FEAT: added exports for sass and css
BigSpaceships May 1, 2026
e16d48c
FIX: trying to fix sass importing
BigSpaceships May 1, 2026
e5f44ef
fix: src sass files should be in the package
BigSpaceships May 1, 2026
e1a436c
FIX: fixed path sillies
BigSpaceships May 1, 2026
882805e
updating links for exporpts
BigSpaceships May 1, 2026
ff69054
WIP: trying to make him a module
BigSpaceships May 1, 2026
8b55780
update package.json to work with not sass repositories
BigSpaceships May 1, 2026
53cc13b
Create publish-npm.yml
BigSpaceships May 1, 2026
0f769b7
Update publish-npm.yml
BigSpaceships May 2, 2026
ef1cd27
FIX: oops wronog name
BigSpaceships May 2, 2026
ab6f5c0
start working on new home page
BigSpaceships May 2, 2026
a5356a5
more fixing the workflow
BigSpaceships May 2, 2026
5d12a06
updated dark mode
BigSpaceships May 2, 2026
ab4fd7c
made color modes work with bootstrap icons too
BigSpaceships May 2, 2026
9e55af5
started working on display page for bootstrap 5
BigSpaceships May 2, 2026
5f5243b
working on theme switcher stuff for demos
BigSpaceships May 2, 2026
62f0c48
theme switcher demo
BigSpaceships May 2, 2026
ff4667b
fixed path issues
BigSpaceships May 29, 2026
5ef1d94
bump version
BigSpaceships May 29, 2026
91d607e
add s3 copying support to workflow
BigSpaceships May 29, 2026
e97bfca
assets.csh not s3.csh
BigSpaceships May 29, 2026
1f66dd5
package version replacement with vite
BigSpaceships May 29, 2026
13ff7f8
remove old files
BigSpaceships May 29, 2026
2350a9e
vite docs work
BigSpaceships May 29, 2026
9b1854e
syntax highlighting for code
BigSpaceships May 29, 2026
db5b8bd
copy button for all code blocks
BigSpaceships May 29, 2026
469682e
untrack dist folder
BigSpaceships May 29, 2026
26ddbd0
docs and adding ids to sections
BigSpaceships May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .devcontainer/devcontainer.json

This file was deleted.

14 changes: 0 additions & 14 deletions .drone.yml

This file was deleted.

59 changes: 59 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Build and publish

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 25
- run: npm --version
- run: npm ci
- run: npm run compile

publish-npm:
needs: build
runs-on: ubuntu-latest
if: ${{ !github.event.skip_publish_npm }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 25
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run compile
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-s3:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 25
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run compile
- run: npm run prepare-s3-output
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: csh-material-bootstrap
AWS_ACCESS_KEY_ID: ${{secrets.S3_ACCESS_KEY}}
AWS_SECRET_ACCESS_KEY: ${{secrets.S3_SECRET_KEY}}
AWS_S3_ENDPOINT: https://s3.csh.rit.edu
SOURCE_DIR: s3-output
DEST_DIR: ${{steps.package-version.outputs.current-version}}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ typings/

# dotenv environment variables file
.env
.secrets

# JetBrains
.idea

s3-output
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
CSH Material Bootstrap
=======================

A [Bootstrap](http://getbootstrap.com) material theme designed for use on [Computer Science House](http://csh.rit.edu) websites. Based on [Materia](https://bootswatch.com/materia) by [Bootswatch](https://bootswatch.com).
A [Bootstrap](http://getbootstrap.com) material theme designed for use on [Computer Science House](http://csh.rit.edu) websites.

Demo
----

A live demo of this theme that showcases most components can be found [here](https://s3.csh.rit.edu/csh-material-bootstrap/4.3.1/index.html).
A live demo of this theme that showcases most components can be found [here](https://s3.csh.rit.edu/csh-material-bootstrap/5.3.9/index.html).

Usage
------
Expand All @@ -22,13 +22,15 @@ npm install --save csh-material-bootstrap
You can then include the stylesheet into your bundled project:

```
import 'csh-material-bootstrap/dist/csh-material-bootstrap.css';
import 'csh-material-bootstrap/css';
```

Or with SCSS:

```
@import "node_modules/csh-material-bootstrap/src/csh-material-bootstrap.scss";
@use 'pkg:csh-material-bootstrap';
# or
@import 'csh-material-bootstrap'; # ??? idk I haven't tested this, use the @use one, @import is deprecated
```

#### CDN
Expand All @@ -37,35 +39,34 @@ Use CSH Material Bootstrap without a package manager.
###### CSS

```
<link rel="stylesheet" href="https://s3.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" media="screen">
<link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/5.3.9/dist/css/csh-material-bootstrap.min.css" media="screen">
```

###### JS, Popper.js, and jQuery
###### JS

```
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js"
integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI"
crossorigin="anonymous"></script>
```

#### Themes
To use different themes and enable theme switching on your website, you must include `colors-modes.js`. See [the website](https://assets.csh.rit.edu/csh-material-bootstrap/5.3.9/index.html#theme-switchers) for more details

Development
------------
You must have [Node 6 or higher](https://nodejs.org) and NPM or [Yarn](https://yarnpkg.com) installed.
You must have [Node](https://nodejs.org) and NPM installed.

Once you have those tools installed, clone this repo and run the following command to install dependencies:

```
npm install
```

Or, with Yarn:

```
yarn
```

Once all of the dependencies are installed, run `npm build` to build the stylesheet (artifacts will be dropped in `./dist`), or `npm start` to watch the source files for development.
Once all of the dependencies are installed, run `npm compile` to build the stylesheet (artifacts will be dropped in `./dist`).
If you wish to work on the docs, run `npm run dev-docs`, which will launch a websever with Vite on port 5173 to watch the changes.

NOTE: you have to recompile the styles any time you update that right now

Contributing
-------------
Expand Down
Loading