@city-furniture/cityfurniture-scss

6.1.0 • Public • Published

cityfurniture-scss

Setup environment locally

  1. Run yarn to install dependencies
  2. Run yarn build to check everything is working fine

Documentation

Read docs http://digital-scss.s3-website-us-west-2.amazonaws.com/

Publishing a new version

  1. By default, release version is patch. But you can change it in the package.json file. There is a prop called "releaseVersion": "patch",, and there you can set as patch, minor or major according to the release you want to do.
  2. Then you have to create a PR to publish branch, and a Job in Jenkins will start, and it will generate the new version, and it sends a notification to Slack too.

(Remote) Install the package inside a project

  • install the package using npm: npm install @city-furniture/cityfurniture-scss --save
  • install the package using yarn: yarn add @city-furniture/cityfurniture-scss

(Locally) Install the package inside a project

  • To work with the scss package without installing it, we must clone the project cityfurniture-scss, install the packages with npm install and run the command npm link.
  • This will take the package and create a symbolic link in the npm global folder to it.
  • After this, in order to use the local package inside project we need to open the project into a terminal and run the command npm link @city-furniture/cityfurniture-scss and the dependency is created between the projects.

Importing the package

  • We can use the package inside any javascript file from project by importing it with: import '@city-furniture/cityfurniture-scss/scss/main.scss’

  • or other importing methods like - inside scss files:

    @import '~@city-furniture/cityfurniture-scss/scss/main';
    @import '~@city-furniture/cityfurniture-scss/dist/main.min.css';

Override the variables:

  • inside a scss file from the project we write the following:
$font-weight--thin: 120px;

@import '~@city-furniture/cityfurniture-scss/scss/main';

Resources:

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.1.039latest

Version History

VersionDownloads (Last 7 Days)Published
6.1.039
6.0.00
5.0.00
4.0.20
4.0.10
4.0.00
3.1.30
3.1.20
3.1.00
3.0.50
3.0.40
3.0.30
3.0.20
3.0.10
2.6.40
2.6.30
2.6.20
2.6.10
2.5.190
2.6.00
2.5.180
2.5.171
2.5.160
2.5.150
2.5.140
2.5.130
2.5.121
2.5.110
2.5.100
2.5.90
2.5.80
2.5.70
2.5.60
2.5.50
2.5.40
2.5.30
2.5.20
2.5.10
2.5.00
2.4.00
2.3.400
2.3.390
2.3.380
2.3.370
2.3.360
2.3.350
2.3.340
2.3.330
2.3.320
2.3.310
2.3.300
2.3.290
2.3.280
2.3.270
2.3.260
2.3.250
2.3.240
2.3.230
2.3.220
2.3.210
2.3.200
2.3.190
2.3.180
2.3.170
2.3.160
2.3.150
2.3.140
2.3.130
2.3.120
2.3.110
2.3.100
2.3.90
2.3.80
2.3.70
2.3.60
2.3.50
2.3.40
2.3.30
2.3.20
2.3.10
2.3.00
2.2.20
2.2.10
2.2.00
2.1.50
2.1.40
2.1.30
2.0.30
2.0.20
2.0.10
2.0.00
1.1.00
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @city-furniture/cityfurniture-scss

Weekly Downloads

41

Version

6.1.0

License

ISC

Unpacked Size

446 kB

Total Files

26

Last publish

Collaborators

  • gabi09
  • camiloo