Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/next/pages/_app.tsx
Views: 687
// The official antd docs suggest doing this first. It normalizes1// the css in a way that is compatible with antd.2// I think this is the correct fix for https://github.com/sagemathinc/cocalc/issues/62853// now that we are using antd v5.4import "antd/dist/reset.css";56// Initialize the appBasePath for the frontend codebase.7import "@cocalc/frontend/customize/app-base-path";89// CoCalc 3rd party libraries10import "@cocalc/cdn/dist/codemirror/lib/codemirror.css";11import "@cocalc/cdn/dist/katex/katex.min.css";12import "@cocalc/frontend/editors/slate/elements/elements.css";1314import type { AppProps } from "next/app";1516function MyApp({ Component, pageProps }: AppProps) {17return <Component {...pageProps} />;18}1920export default MyApp;2122// Duplicated in packages/frontend/codemirror/css.js23import "@cocalc/cdn/dist/codemirror/theme/3024-day.css";24import "@cocalc/cdn/dist/codemirror/theme/3024-night.css";25import "@cocalc/cdn/dist/codemirror/theme/abcdef.css";26import "@cocalc/cdn/dist/codemirror/theme/ambiance.css";27import "@cocalc/cdn/dist/codemirror/theme/base16-dark.css";28import "@cocalc/cdn/dist/codemirror/theme/base16-light.css";29import "@cocalc/cdn/dist/codemirror/theme/bespin.css";30import "@cocalc/cdn/dist/codemirror/theme/blackboard.css";31import "@cocalc/cdn/dist/codemirror/theme/cobalt.css";32import "@cocalc/cdn/dist/codemirror/theme/colorforth.css";33import "@cocalc/cdn/dist/codemirror/theme/darcula.css";34import "@cocalc/cdn/dist/codemirror/theme/dracula.css";35import "@cocalc/cdn/dist/codemirror/theme/duotone-dark.css";36import "@cocalc/cdn/dist/codemirror/theme/duotone-light.css";37import "@cocalc/cdn/dist/codemirror/theme/eclipse.css";38import "@cocalc/cdn/dist/codemirror/theme/elegant.css";39import "@cocalc/cdn/dist/codemirror/theme/erlang-dark.css";40import "@cocalc/cdn/dist/codemirror/theme/gruvbox-dark.css";41import "@cocalc/cdn/dist/codemirror/theme/hopscotch.css";42import "@cocalc/cdn/dist/codemirror/theme/icecoder.css";43import "@cocalc/cdn/dist/codemirror/theme/idea.css";44import "@cocalc/cdn/dist/codemirror/theme/isotope.css";45import "@cocalc/cdn/dist/codemirror/theme/lesser-dark.css";46import "@cocalc/cdn/dist/codemirror/theme/liquibyte.css";47import "@cocalc/cdn/dist/codemirror/theme/lucario.css";48import "@cocalc/cdn/dist/codemirror/theme/material.css";49import "@cocalc/cdn/dist/codemirror/theme/mbo.css";50import "@cocalc/cdn/dist/codemirror/theme/mdn-like.css";51import "@cocalc/cdn/dist/codemirror/theme/midnight.css";52import "@cocalc/cdn/dist/codemirror/theme/monokai.css";53import "@cocalc/cdn/dist/codemirror/theme/neat.css";54import "@cocalc/cdn/dist/codemirror/theme/neo.css";55import "@cocalc/cdn/dist/codemirror/theme/night.css";56import "@cocalc/cdn/dist/codemirror/theme/oceanic-next.css";57import "@cocalc/cdn/dist/codemirror/theme/panda-syntax.css";58import "@cocalc/cdn/dist/codemirror/theme/paraiso-dark.css";59import "@cocalc/cdn/dist/codemirror/theme/paraiso-light.css";60import "@cocalc/cdn/dist/codemirror/theme/pastel-on-dark.css";61import "@cocalc/cdn/dist/codemirror/theme/railscasts.css";62import "@cocalc/cdn/dist/codemirror/theme/rubyblue.css";63import "@cocalc/cdn/dist/codemirror/theme/seti.css";64import "@cocalc/cdn/dist/codemirror/theme/shadowfox.css";65import "@cocalc/cdn/dist/codemirror/theme/solarized.css";66import "@cocalc/cdn/dist/codemirror/theme/ssms.css";67import "@cocalc/cdn/dist/codemirror/theme/the-matrix.css";68import "@cocalc/cdn/dist/codemirror/theme/tomorrow-night-bright.css";69import "@cocalc/cdn/dist/codemirror/theme/tomorrow-night-eighties.css";70import "@cocalc/cdn/dist/codemirror/theme/ttcn.css";71import "@cocalc/cdn/dist/codemirror/theme/twilight.css";72import "@cocalc/cdn/dist/codemirror/theme/vibrant-ink.css";73import "@cocalc/cdn/dist/codemirror/theme/xq-dark.css";74import "@cocalc/cdn/dist/codemirror/theme/xq-light.css";75import "@cocalc/cdn/dist/codemirror/theme/yeti.css";76import "@cocalc/cdn/dist/codemirror/theme/zenburn.css";77import "@uiw/react-textarea-code-editor/dist.css";7879// this must be last to overwrite things like antd80import "../styles/globals.css";81import "../styles/bootstrap-visible.css";828384