-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/rudransh61/NextGenCSS-
- Loading branch information
Showing
355 changed files
with
38,387 additions
and
43,126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
jobs: | ||
codcov: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
# Make sure the actual branch is checked out when running on pull requests | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@master | ||
with: | ||
python-version: 3.7 | ||
- name: Generate coverage report | ||
run: | | ||
pip install pytest | ||
pip install pytest-cov | ||
pytest --cov=./api | ||
- name: Check code coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This is a basic workflow that is manually triggered | ||
|
||
name: Manual workflow | ||
|
||
# Controls when the action will run. Workflow runs when manually triggered using the UI | ||
# or API. | ||
on: | ||
workflow_dispatch: | ||
# Inputs the workflow accepts. | ||
inputs: | ||
name: | ||
# Friendly description to be shown in the UI instead of 'name' | ||
description: 'Person to greet' | ||
# Default value if no value is explicitly provided | ||
default: 'World' | ||
# Input has to be provided for the workflow to run | ||
required: true | ||
# The data type of the input | ||
type: string | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "greet" | ||
greet: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Runs a single command using the runners shell | ||
- name: Send greeting | ||
run: echo "Hello ${{ inputs.name }}" | ||
- run: bash build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
*node_modules/* | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
# Code Structure | ||
|
||
SCSS is used for NextGenCSS . | ||
|
||
The Main SCSS file is ```./src/index.scss```. | ||
|
||
Then this SCSS file is converted in CSS file located at ```./src/final/index.css/index.css/``` | ||
|
||
And this CSS file is minified and stored it into ```./src/index.css``` file. | ||
|
||
## Important Note | ||
|
||
For converting SCSS into CSS | ||
```bash | ||
$ npm run scss | ||
``` | ||
|
||
For converting that CSS file into minified CSS | ||
```bash | ||
$ npm run next-gen-css | ||
``` | ||
|
||
Or for automating both the commands , run ```./build.sh``` only. | ||
```bash | ||
$ ./build.sh | ||
``` | ||
|
||
## SCSS code file structure | ||
|
||
The SCSS code in in ```./src``` directory , And it is divided into different folders | ||
|
||
- ```./base``` : It includes all the basic styles for elements , and basic utilities like border , buttons and some optimizations for faster rendering . | ||
- ```./components``` : It custom components like 'box' , 'card' and etc. | ||
- ```./fonts``` : It includes all styles related to fonts | ||
- ```./form``` : It includes all styles for a form | ||
- ```./grid``` : It includes grid system and styles related to them. | ||
- ```./utilities``` : It includes all utility classes like align , display , padding , margin and etc ... | ||
- ```./variables``` : It includes all variables used in all styles and color variables also | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
# go to the src folder | ||
cd ./src | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="../src/index.css"> | ||
</head> | ||
|
||
<body> | ||
<div class="center"> | ||
<div class="form-container"> | ||
<input type="text" class="input" placeholder="Username"> | ||
<input type="password" class="input" placeholder="Password"> | ||
<button class="button">Submit</button> | ||
<div class="checkbox"> | ||
<input type="checkbox" id="checkbox1" class="checkbox"> | ||
<label for="checkbox1">Checkbox</label> | ||
</div> | ||
<div class="radio"> | ||
<input type="radio" id="radio1" class="radio" name="radioGroup"> | ||
<label for="radio1">Radio 1</label> | ||
</div> | ||
<div class="radio"> | ||
<input type="radio" id="radio2" class="radio" name="radioGroup"> | ||
<label for="radio2">Radio 2</label> | ||
</div> | ||
<select class="select"> | ||
<option value="option1">Option 1</option> | ||
<option value="option2">Option 2</option> | ||
</select> | ||
<textarea class="textarea" placeholder="Your message"></textarea> | ||
<p class="error-message">This is an error message.</p> | ||
<p class="success-message">This is a success message.</p> | ||
</div> | ||
|
||
<button class="btn-secondary">Secondary Button</button> | ||
<button class="btn-danger">Danger Button</button> | ||
<button class="btn-large">Large Button</button> | ||
<button class="btn-small">Small Button</button> | ||
<button class="btn-rounded">Rounded Button</button> | ||
</div> | ||
|
||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.