Skip to content

Commit

Permalink
fix: add missing token for button focus outline border radius (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz authored Jun 4, 2023
1 parent 287a898 commit b985060
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions paragon/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
@import './css/core/index.css';

// Define custom styles here...

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2 changes: 0 additions & 2 deletions paragon/css/brand-theme-overrides.css

This file was deleted.

2 changes: 1 addition & 1 deletion paragon/css/core/custom-media-breakpoints.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Sun, 04 Jun 2023 16:12:06 GMT
* Generated on Sun, 04 Jun 2023 17:58:33 GMT
*/

3 changes: 2 additions & 1 deletion paragon/css/core/variables.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Sun, 04 Jun 2023 16:12:06 GMT
* Generated on Sun, 04 Jun 2023 17:58:33 GMT
*/

:root {
Expand Down Expand Up @@ -32,6 +32,7 @@
--pgn-size-form-input-radius-border-lg: 0;
--pgn-size-form-input-radius-border-base: 0;
--pgn-size-dropdown-border-width: 0;
--pgn-size-btn-focus-border-radius: 0px;
--pgn-size-btn-border-radius-sm: 0px;
--pgn-size-btn-border-radius-lg: 0px;
--pgn-size-btn-border-radius-base: 0px;
Expand Down
2 changes: 1 addition & 1 deletion paragon/css/themes/light/variables.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Sun, 04 Jun 2023 16:12:06 GMT
* Generated on Sun, 04 Jun 2023 17:58:33 GMT
*/

:root {
Expand Down
5 changes: 5 additions & 0 deletions tokens/src/core/components/Button/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"lg": { "value": "0px" },
"sm": { "value": "0px" }
}
},
"focus": {
"border-radius": {
"value": "0px"
}
}
}
}
Expand Down

0 comments on commit b985060

Please sign in to comment.