Merge branch 'fab-accent' into 'develop'

Use accent color for "floating action button" (mobile compose button).

See merge request soapbox-pub/soapbox!2044
modals-overflow^2
Alex Gleason 2022-12-28 03:41:48 +00:00
commit e77c309e8a
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
### Fixed
- Layout: use accent color for "floating action button" (mobile compose button).
## [3.0.0] - 2022-12-25

Wyświetl plik

@ -27,7 +27,7 @@ const FloatingActionButton: React.FC<IFloatingActionButton> = () => {
onClick={handleOpenComposeModal}
className={clsx(
'p-4 inline-flex items-center border font-medium rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 appearance-none transition-all',
'bg-primary-500 hover:bg-primary-400 dark:hover:bg-primary-600 border-transparent focus:bg-primary-500 text-gray-100 focus:ring-primary-300',
'border-transparent bg-secondary-500 hover:bg-secondary-400 focus:bg-secondary-500 text-gray-100 focus:ring-secondary-300',
)}
aria-label={intl.formatMessage(messages.publish)}
>