Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions packages/component-form/dist/css/form.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/component-form/src/scss/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$input-background : $white !default;
$input-border-color : $haze-400 !default;
$input-border-color : $haze-300 !default;
$input-border-width : 1px !default;
$input-font-color : $font-base-color !default;
$input-font-family : $font-base-family !default;
Expand Down Expand Up @@ -30,8 +30,8 @@ $input-sm-height : ($button-font-height + $button-sm-padding-vert
$input-sm-padding-vertical : ($input-sm-height - $input-sm-font-height)/2 !default;
$input-sm-padding-horizontal : $button-sm-padding-horizontal !default;

$input-lg-font-size : $button-lg-font-size !default
$input-lg-font-height : $button-lg-font-height !default
$input-lg-height : ($button-lg-font-height + $button-lg-padding-vertical*2) + 2 !default
$input-lg-padding-vertical : ($input-lg-height - $input-lg-font-height)/2 !default
$input-lg-padding-horizontal : $button-lg-padding-horizontal !default
$input-lg-font-size : $button-lg-font-size !default;
$input-lg-font-height : $button-lg-font-height !default;
$input-lg-height : ($button-lg-font-height + $button-lg-padding-vertical*2) + 2 !default;
$input-lg-padding-vertical : ($input-lg-height - $input-lg-font-height)/2 !default;
$input-lg-padding-horizontal : $button-lg-padding-horizontal !default;
12 changes: 6 additions & 6 deletions packages/component-step/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ rm -rf dist

echo 'Compile SASS...'
node-sass --include-path=node_modules \
--source-map=dist/css/$FILE_NAME.css.map \
src/scss/$FILE_NAME.scss \
dist/css/$FILE_NAME.css
--source-map=dist/$FILE_NAME.css.map \
src/$FILE_NAME.scss \
dist/$FILE_NAME.css
echo 'Done.'
echo ''

echo 'Compile SASS (Compress version)...'
node-sass --include-path=node_modules \
--output-style=compressed \
--source-map=dist/css/$FILE_NAME.css.min.map \
src/scss/$FILE_NAME.scss \
dist/css/$FILE_NAME.min.css
--source-map=dist/$FILE_NAME.css.min.map \
src/$FILE_NAME.scss \
dist/$FILE_NAME.min.css
echo 'Done.'
echo ''

Expand Down
85 changes: 85 additions & 0 deletions packages/documentation/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
const sass = require( 'node-sass' );

module.exports = function( grunt ) {

// Project configuration.
grunt.initConfig( {

clean: {
'dist': 'dist'
},

sass: {
options: {
includePaths: [ 'node_modules', '.' ],
implementation: sass,
sourceMap: true
},
build: {
files: {
'dist/core.css': [
'src/core.scss'
]
}
},
compressed: {
options: {
outputStyle: 'compressed'
},
files: {
'dist/core.min.css': [
'src/core.scss'
]
}
}
},

watch: {
css: {
files: [ '**/*.{sass,scss}' ],
tasks: [ 'sass', 'notify:css' ],
options: {
spawn: false,
livereload: true,
interrupt: true
},
}
},

notify: {
ping: {
options:{
title: 'Nitro UI',
message: 'PONG!'
}
},
watch: {
options:{
title: 'Nitro UI',
message: 'Watching...'
}
},
css: {
options:{
title: 'Nitro UI',
message: 'CSS Ready!'
}
},
js: {
options:{
title: 'Nitro UI',
message: 'JS Ready!'
}
}
}
} );

// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks( 'grunt-contrib-clean' );
grunt.loadNpmTasks( 'grunt-sass' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-notify' );

// Default task(s).
grunt.registerTask( 'default', [ 'clean', 'sass', 'notify:css' ] );
};
64 changes: 64 additions & 0 deletions packages/documentation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Nitro UI: Core

Core CSS for Nitro UI.

## Getting Started

Get latest version by installing via [NPM @nitro-ui/core](https://www.npmjs.com/package/@nitro-ui/core):

```sh
npm install @nitro-ui/core
```

## Development

To extends, develop or contribute to this component, you're required to fork our main [repository](https://github.com/icarasia-engineering/nitro-ui) and made a pull request.

### Development Requirements

Development tools required for this component are:

- [NodeJS](https://nodejs.org/en/)
- [Grunt CLI](https://gruntjs.com)
- [Ruby](https://www.ruby-lang.org/en/) (optional)
- [SASS](https://sass-lang.com) (optional)

Ruby and SASS are optional if you're fully using [node-sass](https://github.com/sass/node-sass) from npm for development.

### Development Setup

Run:

```sh
npm install
```

### Compile

Run:

```sh
grunt
```
---

# TODO

Nothing todo for now.

---

# CHANGELOG

All notable changes to this project will be documented in this file. **For now, let's keep TODO and CHANGELOG in README file. Keeping things simple.**

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.0-beta] - 2019-07-18
### Added
- Initial setup

## [1.0.1-beta.0] - 2019-07-26
### Added
- Install and setup `node-sass` and `grunt-sass` to support `includePath`
Loading