Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viur-framework/viur-vi-styling
Base styling repository for viur-vi
https://github.com/viur-framework/viur-vi-styling
gulp interface-design less viur viur-vi
Last synced: 24 days ago
JSON representation
Base styling repository for viur-vi
- Host: GitHub
- URL: https://github.com/viur-framework/viur-vi-styling
- Owner: viur-framework
- License: mit
- Created: 2020-03-06T14:44:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T08:22:51.000Z (about 4 years ago)
- Last Synced: 2024-12-24T01:37:09.374Z (29 days ago)
- Topics: gulp, interface-design, less, viur, viur-vi
- Language: JavaScript
- Size: 616 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# viur-vi-styling
Base styling repository for viur-vi## Embedding in the project
[submodule "sources/vi"]
path = sources/vi
url = https://github.com/viur-framework/viur-vi-styling.git## Needed depenencies
npm install @babel/core autoprefixer gulp gulp-load-plugins fs path gulp-less gulp-postcss postcss-zindex gulp-autoprefixer postcss-focus postcss-discard-comments gulp-clean-css gulp-join-media-queries gulp-rename gulp-sourcemaps gulp-babel gulp-concat gulp-uglify copy gulp-cheerio del gulp-imagemin gulp-flatten gulp-exec gulp-print gulp-filter gulp-uglify
most of these should be already installed if the project uses ignite with gulp## Register as project Task
add this line to your gulpfile.js script
`const viBuildTasks = require('./vi/vi_tasks');`## Run gulp Tasks
the main task can be triggered via `gulp vi`
you can run each part of this script individually via:
- `gulp vi_js`
- `gulp vi_editor`
- `gulp vi_css`
- `gulp vi_icons`
- `gulp vi_images`## The projectstructure
.
├── deploy
│ ├── ..
│ ├── vi_plugins
│ │ ├── test_plugin <-- each plugin has its own folder
│ │ │ ├── static <-- static folder for plugin / can also contain embedsvg folder for icons
│ │ │ └── style.less <-- vi_plugin less definitions
│ │ ├── __init__.py <-- vi plugins registration
│ │ └── vi_custom.less <-- less overrides / vi_plugin less imports
│ ├── viur
│ │ ├── vi
│ │ │ ├── public
│ │ │ │ ├── css <-- will be generated / a defaultset is part of viur-vi submodule
│ │ │ │ ├── embedsvg <-- will be generated / a defaultset is part of viur-vi submodule
│ │ │ │ ├── htmleditor <-- will be generated / a defaultset is part of viur-vi submodule
│ │ │ │ ├── images <-- will be generated / a defaultset is part of viur-vi submodule
│ │ │ │ ├── js <-- will be generated / a defaultset is part of viur-vi submodule
│ │ │ │ └── ..
│ │ │ └── ..
│ . .
│ .
├── sources
│ ├── gulpfile.js <-- main gulpfile
│ ├── embedsvg <-- project icons / icons subfolder should be the icons submodule
│ │ └── ..
│ ├── images <-- project images, will be copied to deploy/static/images
│ │ └── ..
│ ├── js <-- project js-scripts
│ │ └── ..
│ ├── less <-- project less styling
│ │ └── ..
│ ├── vi <-- viur-vi-styling submodule
│ │ ├── ...
│ │ └── vi_tasks.js <-- vi styling tasks
. .
.