Remove tailwind and related scripts

This commit is contained in:
Nathan Sobo 2022-04-21 10:01:56 -06:00
parent 0cf7bba483
commit 8ed1598346
5 changed files with 0 additions and 2524 deletions

View file

@ -2,18 +2,8 @@
FROM rust:1.58-bullseye as builder
WORKDIR app
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
COPY . .
# Install script dependencies
RUN --mount=type=cache,target=./script/node_modules \
cd ./script && npm install --quiet
# Build CSS
RUN --mount=type=cache,target=./script/node_modules \
script/build-css --release
# Compile collab server
RUN --mount=type=cache,target=./script/node_modules \
--mount=type=cache,target=/usr/local/cargo/registry \

View file

@ -1,10 +0,0 @@
#!/bin/bash
set -e
cd ./script
[ -d node_modules ] || npm install
if [[ $1 == --release ]]; then
export NODE_ENV=production # Purge unused styles in --release mode
fi
npx tailwindcss build ../crates/collab/styles.css --output ../crates/collab/static/styles.css

2452
script/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +0,0 @@
{
"devDependencies": {
"@tailwindcss/typography": "^0.4.0",
"tailwindcss-cli": "^0.1.2"
}
}

View file

@ -1,46 +0,0 @@
const colors = require('tailwindcss/colors')
module.exports = {
corePlugins: {
float: false,
tableLayout: false,
sepia: false,
saturate: false,
},
theme: {
fontFamily: {
display: [
"Spectral", "Constantia", "Lucida Bright", "Lucidabright", "Lucida Serif", "Lucida", "DejaVu Serif", "Bitstream Vera Serif",
"Liberation Serif", "Georgia", "serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji"
],
body: [
"JetBrains Mono", "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono",
"Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji"
],
mono: [
"JetBrains Mono", "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono",
"Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji"
],
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.trueGray,
},
extend: {},
},
variants: {
},
darkMode: false,
purge: [
"../crates/collab/templates/**/*.hbs",
"../crates/collab/templates/*.hbs"
]
}