Skip to content

Commit

Permalink
Unify AI badge styles with badges
Browse files Browse the repository at this point in the history
  • Loading branch information
dancormier committed Nov 7, 2024
1 parent ed555a5 commit 64e87fd
Show file tree
Hide file tree
Showing 37 changed files with 71 additions and 87 deletions.
16 changes: 0 additions & 16 deletions lib/components/badge/badge.less
Original file line number Diff line number Diff line change
Expand Up @@ -178,23 +178,7 @@
--_ba-bc: var(--_ba-fc);
--_ba-bg: var(--black-050);
--_ba-fc: var(--orange-500);
--_ba-fs: var(--fs-body3);
--_ba-lh: var(--lh-xs);
--_ba-px: var(--su4);
--_ba-py: var(--su4);
--_ba-tt: uppercase;

&.s-badge__sm {
--_ba-fs: var(--fs-caption);
--_ba-px: var(--su4);
}

&.s-badge__xs {
--_ba-fs: var(--fs-fine);
--_ba-lh: var(--lh-sm);
--_ba-px: 0;
--_ba-py: var(--su2);
}
}

&&__bot {
Expand Down
4 changes: 2 additions & 2 deletions screenshots/Chromium/baseline/s-badge-dark-ai-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion screenshots/Chromium/baseline/s-badge-dark-ai-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Chromium/baseline/s-badge-dark-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Chromium/baseline/s-badge-light-ai-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Chromium/baseline/s-badge-light-ai-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Chromium/baseline/s-badge-light-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-dark-ai-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-dark-ai-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-dark-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-highcontrast-dark-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-light-ai-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-light-ai-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Firefox/baseline/s-badge-light-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-dark-ai-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-dark-ai-xs.png
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-dark-ai.png
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-highcontrast-dark-ai.png
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-highcontrast-light-ai.png
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-light-ai-sm.png
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-light-ai-xs.png
4 changes: 2 additions & 2 deletions screenshots/Webkit/baseline/s-badge-light-ai.png

0 comments on commit 64e87fd

Please sign in to comment.