Skip to content

Commit

Permalink
v0.1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
CarcajadaArtificial committed Jul 16, 2023
1 parent 2d07897 commit be33738
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 28 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Changelog

## v0.1.19
## v0.1.20

### Minor updates
### Added focus interaction on focusable elements
- `/src/scss/animation.scss`
- `/src/scss/components.scss`
- `/src/scss/index.scss`

## Roadmap

Expand Down
18 changes: 18 additions & 0 deletions src/scss/animation.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.comp-link,
.comp-button,
.comp-input,
.comp-select,
.comp-textarea {
transition: outline 0.1s ease-in-out;
outline: none;

&:hover,
&:focus {
outline: 2px solid var(--clr-txt-base);
}
}

.comp-link {
outline-offset: var(--s-eighth);
border-radius: var(--s-eighth);
}
12 changes: 0 additions & 12 deletions src/scss/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
-webkit-appearance: none;
}

@mixin transition-outline {
transition: outline 0.1s ease-in-out;
outline: none;

&:hover,
&:focus {
outline: 2px solid var(--clr-txt-base);
}
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Header
.comp-header {
Expand Down Expand Up @@ -145,7 +135,6 @@
cursor: pointer;
border-radius: var(--s-eighth);
margin-right: var(--s-eighth);
@include transition-outline;
}

.comp-button_panel,
Expand Down Expand Up @@ -186,7 +175,6 @@
.comp-textarea,
.comp-select {
border-radius: var(--s-quarter);
@include transition-outline;

&_container {
max-width: 24rem;
Expand Down
1 change: 1 addition & 0 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use 'system' as *;
@use 'components' as *;
@use 'animation' as *;
@use 'twind' as *;
39 changes: 25 additions & 14 deletions static/style.css

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

0 comments on commit be33738

Please sign in to comment.