Skip to content

Commit

Permalink
Merge pull request #23 from gethyas/next
Browse files Browse the repository at this point in the history
Update for new Hyas setup
  • Loading branch information
h-enk authored Apr 19, 2024
2 parents ca47bd6 + 0e09814 commit 733c80a
Show file tree
Hide file tree
Showing 13 changed files with 3,425 additions and 414 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "gethyas/images" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/neat-mugs-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyas/images": minor
---

Update for new Hyas setup
11 changes: 0 additions & 11 deletions .editorconfig

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
node_modules
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
*.html
*.ico
*.png
*.jp*g
*.toml
*.*ignore
*.svg
*.xml
LICENSE
.npmrc
.gitkeep
*.woff*
*.json
flexsearch.js
19 changes: 19 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Default config
tabWidth: 4
endOfLine: crlf
singleQuote: true
printWidth: 100000
trailingComma: none
bracketSameLine: true
quoteProps: consistent
experimentalTernaries: true

# Overrided config
overrides:
- files: ["*.md", "*.json", "*.yaml"]
options:
tabWidth: 2
singleQuote: false
- files: ["*.scss"]
options:
singleQuote: false
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.wordWrap": "off",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.tabSize": 2,
"editor.insertSpaces": true
}
133 changes: 0 additions & 133 deletions CHANGELOG.md

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Hyas images

Official images integration for Hyas.

## Getting Started

See the Doks documentation:

- [Images](https://images.gethyas.com/docs/start-here/getting-started/)
27 changes: 14 additions & 13 deletions assets/scss/components/_images.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
img {
max-width: 100%;
height: auto;
max-width: 100%;
height: auto;
}

img[data-sizes="auto"] {
display: block;
display: block;
}

img, picture {
font-size: 0;
img,
picture {
font-size: 0;
}

figcaption {
font-size: 1rem;
margin-top: 0.5rem;
font-style: italic;
font-size: 1rem;
margin-top: 0.5rem;
font-style: italic;
}

.content .gitpod-mark-monochrome.icon {
margin-bottom: 0.125rem;
margin-right: 0.5rem;
margin-bottom: 0.125rem;
margin-right: 0.5rem;
}

.blur-up {
filter: blur(5px);
transition: filter 400ms;
filter: blur(5px);
transition: filter 400ms;
}

.blur-up.lazyloaded {
filter: unset;
filter: unset;
}
Loading

0 comments on commit 733c80a

Please sign in to comment.