canonical/vanilla-framework
소개
커뮤니티 웹사이트부터 웹 애플리케이션까지 일관된 디자인과 사용 경험을 구현할 수 있도록 돕는 CSS 프레임워크입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Vanilla Framework
Vanilla Framework is an extensible CSS framework, built using Sass and is designed to be used either directly or by using themes to extend or supplement its patterns.
Table of contents
Using Vanilla
Hotlinking
You can link to the latest build to add directly into your markup like so, by replacing the x values with the version number you wish to link.
<link rel="stylesheet" href="https://assets.ubuntu.com/v1/vanilla_framework_version_x_x_x_min.css" />
Including Vanilla in your project via NPM or yarn
To get set up with Sass, add the sass and vanilla-framework packages to your project dependencies:
yarn add sass vanilla-framework
In the script that builds the CSS in your package.json, you should include the path to node_modules when looking for @imports. In this example, we have called the build script "build-css":
"build-css": "sass -w --load-path=node_modules src:dist --style=compressed"
Make a folder src/, create a file inside called style.scss and import Vanilla:
// Import the theme
@import 'vanilla-framework';
@include vanilla;
// Optionally override some settings
$color-brand: #ffffff;
// Add theme if applicable
If you don't want the whole framework, you can just @include specific parts - e.g. @include vf-b-forms.
Now run yarn build-css, which will convert any Sass files in the src/ folder to CSS in the dist/ folder.
To watch for changes in your Sass files, add the following script to your package.json
"watch-css": "yarn build-css && sass --load-path=node_modules -w src:dist --style=compressed"
Developing Vanilla
If you're looking to contribute to the Vanilla project itself, start here.
- Code of conduct
- Reporting bugs and issues
- Working with the Vanilla project
- Pull requests
- Releasing Vanilla
Community
Keep up to date with all new developments and upcoming changes with Vanilla.
- Read our latest blog posts at Ubuntu Blog
- Stay in touch with us on Matrix
Code licensed LGPLv3 by Canonical Ltd
With ♥ from Canonical
관련 프로젝트 살펴보기
불러오는 중…