Remove tailwind and related scripts
This commit is contained in:
parent
0cf7bba483
commit
8ed1598346
5 changed files with 0 additions and 2524 deletions
10
Dockerfile
10
Dockerfile
|
@ -2,18 +2,8 @@
|
||||||
|
|
||||||
FROM rust:1.58-bullseye as builder
|
FROM rust:1.58-bullseye as builder
|
||||||
WORKDIR app
|
WORKDIR app
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
|
|
||||||
RUN apt-get install -y nodejs
|
|
||||||
COPY . .
|
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
|
# Compile collab server
|
||||||
RUN --mount=type=cache,target=./script/node_modules \
|
RUN --mount=type=cache,target=./script/node_modules \
|
||||||
--mount=type=cache,target=/usr/local/cargo/registry \
|
--mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
|
|
|
@ -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
2452
script/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"devDependencies": {
|
|
||||||
"@tailwindcss/typography": "^0.4.0",
|
|
||||||
"tailwindcss-cli": "^0.1.2"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue