docs: use prefixed all.css

Without vendor prefixes, some styles are lost in Safari.
This commit is contained in:
Eric Liu 2022-04-02 11:14:24 -07:00
commit 38f98042f4
4 changed files with 318 additions and 1208 deletions

View file

@ -9,28 +9,22 @@
"build:svite": "vite build" "build:svite": "vite build"
}, },
"devDependencies": { "devDependencies": {
"@sveltech/routify": "^1.9.9", "@sveltech/routify": "^1.9.10",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.33", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.40",
"autoprefixer": "^10.2.3",
"carbon-components": "10.56.0",
"carbon-components-10.47": "npm:carbon-components@10.47",
"carbon-components-svelte": "../", "carbon-components-svelte": "../",
"carbon-icons-svelte": "^10.44.3", "carbon-icons-svelte": "^10.45.1",
"clipboard-copy": "^4.0.1", "clipboard-copy": "^4.0.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"mdsvex": "^0.9.8", "mdsvex": "^0.9.8",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss": "^8.2.13", "prettier": "^2.6.2",
"prettier": "^2.5.1", "prettier-plugin-svelte": "^2.6.0",
"prettier-plugin-svelte": "^2.5.1",
"prism-svelte": "^0.4.7", "prism-svelte": "^0.4.7",
"prismjs": "^1.27.0", "prismjs": "^1.27.0",
"remark-slug": "^6.0.0", "remark-slug": "^6.0.0",
"sass": "^1.42.1", "svelte": "^3.46.6",
"svelte": "^3.44.3", "svelte-preprocess": "^4.10.4",
"svelte-hmr": "0.11.1", "vite": "^2.9.1"
"svelte-preprocess": "^4.3.2",
"vite": "^2.7.10"
}, },
"routify": { "routify": {
"routifyDir": ".routify", "routifyDir": ".routify",

View file

@ -1,5 +1,5 @@
import App from "./App.svelte"; import App from "./App.svelte";
import "../../css/all.scss"; import "../../css/all.css";
const app = new App({ target: document.body }); const app = new App({ target: document.body });

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@ services:
- type: web - type: web
name: carbon-components-svelte name: carbon-components-svelte
env: static env: static
buildCommand: cd docs; yarn; yarn build buildCommand: yarn; yarn build:css; cd docs; yarn; yarn build
staticPublishPath: docs/dist staticPublishPath: docs/dist
pullRequestPreviewsEnabled: true pullRequestPreviewsEnabled: true
routes: routes: