Skip to content

Commit

Permalink
Merge pull request #1 from AnaRangel/feature/add-button-icons-scss
Browse files Browse the repository at this point in the history
Zyruks / Feature: add button icons scss
  • Loading branch information
AnaRangel authored Apr 16, 2024
2 parents ae9ae12 + f572b2e commit 1286b20
Show file tree
Hide file tree
Showing 62 changed files with 1,018 additions and 121 deletions.
126 changes: 65 additions & 61 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,66 @@
{
"name": "ana-rangel-portafolio",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json,astro}\"",
"format:fix": "prettier --write \"**/*.{js,cjs,mjs,ts,tsx,md,mdx,json,astro}\"",
"stylelint": "stylelint \"**/*.{scss,css,astro}\"",
"stylelint-find-rules": "stylelint-find-new-rules",
"stylelint:fix": "stylelint \"**/*.{scss,css,astro}\" --fix",
"prepare": "husky"
},
"dependencies": {
"@astrojs/check": "^0.5.10",
"@types/node": "^20.12.2",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"astro": "^4.5.12",
"sass": "^1.74.1",
"typescript": "^5.4.3"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@commitlint/types": "^19.0.3",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"autoprefixer": "^10.4.19",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^0.33.1",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.25.0",
"husky": "^9.0.11",
"lightningcss": "^1.24.1",
"lint-staged": "^15.2.2",
"postcss-html": "^1.6.0",
"prettier-plugin-astro": "^0.13.0",
"stylelint": "^16.2.1",
"stylelint-color-format": "^1.1.0",
"stylelint-config-astro": "^1.0.4",
"stylelint-config-html": "^1.1.0",
"stylelint-config-rational-order-fix": "^0.1.9",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-find-new-rules": "^5.0.0",
"stylelint-group-selectors": "^1.0.10",
"stylelint-high-performance-animation": "^1.10.0",
"stylelint-order": "^6.0.4",
"stylelint-rem-over-px": "^1.0.1",
"stylelint-scss": "^6.2.1",
"stylelint-suitcss": "^5.0.0",
"stylelint-use-logical": "^2.1.2",
"stylelint-use-logical-spec": "^5.0.1"
}
}
"name": "ana-rangel-portafolio",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"clean": "git clean -xdf node_modules dist",
"preview": "astro preview",
"astro": "astro",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json,astro}\"",
"format:fix": "prettier --write \"**/*.{js,cjs,mjs,ts,tsx,md,mdx,json,astro}\"",
"stylelint": "stylelint \"**/*.{scss,css,astro}\"",
"stylelint-find-rules": "stylelint-find-new-rules",
"stylelint:fix": "stylelint \"**/*.{scss,css,astro}\" --fix",
"prepare": "husky"
},
"dependencies": {
"@astrojs/check": "^0.5.10",
"@types/node": "^20.12.2",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"astro": "^4.5.12",
"sass": "^1.74.1",
"typescript": "^5.4.3"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@commitlint/types": "^19.0.3",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"autoprefixer": "^10.4.19",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^0.33.1",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.25.0",
"husky": "^9.0.11",
"lightningcss": "^1.24.1",
"lint-staged": "^15.2.2",
"open-props": "^1.7.2",
"postcss-html": "^1.6.0",
"postcss-jit-props": "^1.0.14",
"postcss-scss": "^4.0.9",
"prettier-plugin-astro": "^0.13.0",
"stylelint": "^16.2.1",
"stylelint-color-format": "^1.1.0",
"stylelint-config-astro": "^1.0.4",
"stylelint-config-html": "^1.1.0",
"stylelint-config-rational-order-fix": "^0.1.9",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-find-new-rules": "^5.0.0",
"stylelint-group-selectors": "^1.0.10",
"stylelint-high-performance-animation": "^1.10.0",
"stylelint-order": "^6.0.4",
"stylelint-rem-over-px": "^1.0.1",
"stylelint-scss": "^6.2.1",
"stylelint-suitcss": "^5.0.0",
"stylelint-use-logical": "^2.1.2",
"stylelint-use-logical-spec": "^5.0.1"
}
}
38 changes: 38 additions & 0 deletions pnpm-lock.yaml

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

5 changes: 5 additions & 0 deletions postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import OpenProps from 'open-props';
import postcssJitProps from 'postcss-jit-props';

export default {
syntax: 'postcss-scss',
plugins: {
'postcss-html': {},
autoprefixer: {},
'postcss-jit-props': postcssJitProps(OpenProps),
},
};
Binary file added public/fonts/inter/Inter-Black.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-BlackItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-Bold.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-BoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-ExtraBold.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-ExtraLight.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-ExtraLightItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-Italic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-Light.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-LightItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-Medium.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-MediumItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-Regular.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-SemiBold.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-SemiBoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-Thin.woff2
Binary file not shown.
Binary file added public/fonts/inter/Inter-ThinItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Black.woff2
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Bold.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-BoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-ExtraBold.woff2
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-ExtraLight.woff2
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Italic.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Light.woff2
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Medium.woff2
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Regular.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-SemiBold.woff2
Binary file not shown.
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-Thin.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterDisplay-ThinItalic.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterVariable-Italic.woff2
Binary file not shown.
Binary file added public/fonts/inter/InterVariable.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions src/common/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './types';
18 changes: 18 additions & 0 deletions src/common/types/button.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export enum HtmlType {
button = 'button',
reset = 'reset',
submit = 'submit',
}

export enum ButtonSize {
xs = 'xs',
sm = 'sm',
base = 'base',
lg = 'lg',
}

export enum ButtonVariant {
primary = 'primary',
secondary = 'secondary',
ghost = 'ghost',
}
26 changes: 26 additions & 0 deletions src/common/types/general.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export type ColorVariants =
| 'primary'
| 'secondary'
| 'success'
| 'danger'
| 'warning'
| 'info'
| 'gray'
| 'stone'
| 'red'
| 'pink'
| 'purple'
| 'violet'
| 'indigo'
| 'blue'
| 'cyan'
| 'teal'
| 'green'
| 'lime'
| 'yellow'
| 'orange'
| 'choco'
| 'brown'
| 'sand'
| 'camo'
| 'jungle';
2 changes: 2 additions & 0 deletions src/common/types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './button';
export * from './general';
Loading

0 comments on commit 1286b20

Please sign in to comment.