Skip to content

Commit

Permalink
Merge pull request #80 from nimblehq/release/2.2.1
Browse files Browse the repository at this point in the history
Release 2.2.1
  • Loading branch information
carryall authored May 27, 2022
2 parents e3e70ea + 4c6ce79 commit 16b9ad6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cra-template-nimble",
"version": "2.2.0",
"version": "2.2.1",
"keywords": [
"react",
"create-react-app",
Expand Down
1 change: 1 addition & 0 deletions template/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
3 changes: 3 additions & 0 deletions template/src/assets/stylesheets/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// dummy variables
$bg-color: #282c34;
$link-color: #61dafb;
4 changes: 2 additions & 2 deletions template/src/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Variables
@import 'variables';
@forward 'src/assets/stylesheets/variables';

// Dependencies

// Functions
@import 'functions/sizing';
@forward 'src/assets/stylesheets/functions/sizing';

// Mixins

Expand Down
8 changes: 5 additions & 3 deletions template/src/dummy.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'src/assets/stylesheets/application';

body {
margin: 0;

Expand Down Expand Up @@ -36,14 +38,14 @@ code {
justify-content: center;
min-height: 100vh;

background-color: #282c34;
background-color: application.$bg-color;

color: #fff;
font-size: calc(10px + 2vmin);
font-size: calc(#{application.rem(10px)} + 2vmin);
}

.app-link {
color: #61dafb;
color: application.$link-color;
}

@keyframes app-logo-spin {
Expand Down

0 comments on commit 16b9ad6

Please sign in to comment.