Skip to content

Commit

Permalink
chore: swap vf-core dev theme to mandlebrot (#1262)
Browse files Browse the repository at this point in the history
Following conversations in #1260 and #1261, we don't really need a custom fractal theme anymore. This swaps back to the default theme for vf-core development.

It also removes the vf-frctl-theme (which could still be resurrected from npm, if needed)
  • Loading branch information
khawkins98 authored Nov 27, 2020
1 parent 5ba1ae1 commit a6e14b2
Show file tree
Hide file tree
Showing 48 changed files with 13 additions and 1,298 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ You can find the Design Tokens in `vf-core/components/vf-design-tokens`.
The `vf-core` repo contains three types of files:

1. Components that are located in `./components`
2. Build scripts located in the root of the project (mainly)
3. The web interface `./tools/vf-frctl-theme`

2. Build scripts located in the `.tools/` of the project (mainly)
3. The public web interface `./tools/vf-component-library`

## Detailed overview

Expand All @@ -44,13 +43,17 @@ The `vf-core` repo contains three types of files:
| | ...
│ └── vf-video-teaser
├── docs (documentation files for the web interface)
├── fractal.js (configuration for the web component library)
├── gulpfile.js
├── lerna.json
├── package.json
├── public (dynamic folder used for rendering of global CSS, JS, component assets)
└── tools
├── component-generator (make new components)
├── css-generator (build requirement)
└── vf-frctl-theme (web interface)
├── vf-component-generator (make new components)
├── vf-component-initilization (collect components from the file system)
├── vf-component-library (web interface)
├── vf-core (the central build process)
| ├── gulpfile.js
| └── fractal.js (configuration for the web component library)
├── vf-frctl-extensions (extensions useful when manipulating Fractal-specific data)
├── vf-extensions (reusable utilities for VF projects)
└── vf-sass-compilation (compile invites)
</pre>
2 changes: 1 addition & 1 deletion tools/vf-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ global.vfName = config.vfConfig.vfName || "Visual Framework 2.0";
global.vfNamespace = config.vfConfig.vfNamespace || "vf-";
global.vfComponentPath = config.vfConfig.vfComponentPath || path.resolve('.', 'components');
global.vfBuildDestination = config.vfConfig.vfBuildDestination || 'temp/build-files';
global.vfThemePath = config.vfConfig.vfThemePath || './tools/vf-frctl-theme';
global.vfThemePath = config.vfConfig.vfThemePath || '@frctl/mandelbrot';
global.vfBuildFractalMode = config.vfConfig.vfBuildFractalMode || 'normal';
global.vfVersion = vfCoreConfig.version || 'not-specified';
const componentPath = path.resolve('.', global.vfComponentPath).replace(/\\/g, '/');
Expand Down
3 changes: 1 addition & 2 deletions tools/vf-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"vfName": "Visual Framework 2.0",
"vfHomepage": "https://stable.visual-framework.dev",
"vfBuildFractalMode": "normal",
"vfThemePath": "@visual-framework/vf-frctl-theme",
"vfThemePath": "@frctl/mandelbrot",
"vfComponentPath": "../../components"
},
"scripts": {
Expand All @@ -28,7 +28,6 @@
"@visual-framework/vf-component-generator": "^1.0.4",
"@visual-framework/vf-component-initialization": "^1.1.1",
"@visual-framework/vf-frctl-extensions": "^1.0.0-alpha.2",
"@visual-framework/vf-frctl-theme": "^1.0.4",
"@visual-framework/vf-sass-compilation": "^1.0.3",
"chalk": "^4.0.0",
"del": "^6.0.0",
Expand Down
5 changes: 0 additions & 5 deletions tools/vf-frctl-theme/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions tools/vf-frctl-theme/.npmignore

This file was deleted.

15 changes: 0 additions & 15 deletions tools/vf-frctl-theme/CHANGELOG.md

This file was deleted.

27 changes: 0 additions & 27 deletions tools/vf-frctl-theme/LICENSE

This file was deleted.

21 changes: 0 additions & 21 deletions tools/vf-frctl-theme/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions tools/vf-frctl-theme/dist/css/default.css

This file was deleted.

3 changes: 0 additions & 3 deletions tools/vf-frctl-theme/index.js

This file was deleted.

26 changes: 0 additions & 26 deletions tools/vf-frctl-theme/package.json

This file was deleted.

88 changes: 0 additions & 88 deletions tools/vf-frctl-theme/src/extensions/markdown.js

This file was deleted.

59 changes: 0 additions & 59 deletions tools/vf-frctl-theme/src/extensions/render.js

This file was deleted.

Loading

0 comments on commit a6e14b2

Please sign in to comment.