File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 22 "name" : " bootstrap-vscode-theme" ,
33 "displayName" : " Bootstrap Theme" ,
44 "description" : " Bootstrap theme for Shiki, VS Code, and more" ,
5- "version" : " 0.0.5 " ,
5+ "version" : " 0.0.6 " ,
66 "publisher" : " bootstrap" ,
77 "icon" : " icon.png" ,
88 "galleryBanner" : {
1212 "license" : " MIT" ,
1313 "repository" : {
1414 "type" : " git" ,
15- "url" : " https://github.com/twbs/bootstrap-vscode-theme"
15+ "url" : " git+ https://github.com/twbs/bootstrap-vscode-theme.git "
1616 },
1717 "bugs" : {
1818 "url" : " https://github.com/twbs/bootstrap-vscode-theme/issues"
6767 " README.md" ,
6868 " LICENSE.md"
6969 ],
70+ "exports" : {
71+ "." : " ./src/index.ts"
72+ },
7073 "devDependencies" : {
7174 "nodemon" : " ^3.1.7" ,
7275 "ts-node" : " ^10.9.2" ,
Original file line number Diff line number Diff line change 1+ // src/index.ts
2+ export { makeTheme } from "./theme" ;
3+ export { light , dark } from "./palette" ;
4+ export { convertRolesToP3 } from "./color-p3" ;
5+ export type { Roles } from "./palette" ;
6+
7+ // Re-export the built theme JSONs for convenience
8+ import bootstrapLight from "../themes/bootstrap-light.json" ;
9+ import bootstrapDark from "../themes/bootstrap-dark.json" ;
10+ import bootstrapLightVibrant from "../themes/bootstrap-light-vibrant.json" ;
11+ import bootstrapDarkVibrant from "../themes/bootstrap-dark-vibrant.json" ;
12+
13+ export const themes = {
14+ light : bootstrapLight ,
15+ dark : bootstrapDark ,
16+ lightVibrant : bootstrapLightVibrant ,
17+ darkVibrant : bootstrapDarkVibrant
18+ } ;
You can’t perform that action at this time.
0 commit comments