diff --git a/.changeset/dirty-trees-care.md b/.changeset/dirty-trees-care.md new file mode 100644 index 0000000000..934d095a7a --- /dev/null +++ b/.changeset/dirty-trees-care.md @@ -0,0 +1,5 @@ +--- +"@primer/view-components": patch +--- + +Default IconButton text color `muted` diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/default.png index 9040907b0a..0284af9b94 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/focused.png index d264fab23e..e91570aa8d 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/banner/with_action_content/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/default.png index 3fc59a67e4..c556f856fa 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/focused.png index e68a3634a2..125eb9a571 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_leading_button/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/default.png index 1bfad7f3fd..7085242347 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/focused.png index 1b9072dde1..5f6f741b48 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/text_field/input_group_trailing_button/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/default.png index d2a44df6e7..230e07d28c 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/focused.png index 589b33ea7d..68097c6d8d 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/icon_buttons/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/default.png index b8ff6007b5..6601db63ae 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/focused.png index 866be36aec..8607f282e3 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/split_button/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/default.png index b7917690bc..4b4c80a09a 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/focused.png index 22167cac44..3ea85c268c 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/button_group/with_menu_button/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/default.png index 277a7bf19b..8558d4e4a5 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/focused.png index 7760200501..8fbf923828 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/danger/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/default.png index a329b4e2a8..4673248142 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/focused.png index ef228abb8f..5a5ddaaa9f 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/beta/icon_button/default/focused.png differ diff --git a/app/components/primer/beta/button.pcss b/app/components/primer/beta/button.pcss index bd755aa006..694273c810 100644 --- a/app/components/primer/beta/button.pcss +++ b/app/components/primer/beta/button.pcss @@ -52,6 +52,10 @@ cursor: not-allowed; box-shadow: none; } + + &.Button--iconOnly { + color: var(--fgColor-muted); + } } a.Button,