Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(components): fix styling bugs #390

Merged
merged 3 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#390](https://github.com/alleslabs/celatone-frontend/pull/390) Fix incorrect empty state for past txs table
- [#390](https://github.com/alleslabs/celatone-frontend/pull/390) Fix minor styling
- [#391](https://github.com/alleslabs/celatone-frontend/pull/391) Fix incorrect empty state for past txs table
- [#383](https://github.com/alleslabs/celatone-frontend/pull/383) Fix title input field and navigation in sticky bar in proposal to store code, redirect path for wasm flag
- [#387](https://github.com/alleslabs/celatone-frontend/pull/387) Fix reseting proposal table when applying filters
- [#375](https://github.com/alleslabs/celatone-frontend/pull/375) Fix incorrect display resolve height in proposals page
Expand Down
2 changes: 1 addition & 1 deletion src/config/theme/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const DEFAULT_THEME: ThemeConfig = {
},
colors: {
gradient: {
main: "linear(to-tr, #5235EF, #6145FC)",
main: "linear(to-tr, #5942F3, #9793F3)",
},
error: {
main: "#FF666E",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/button/NewProposalButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const NewProposalButton = () => {
>
<MenuItem
isDisabled={isPermissionless}
icon={<CustomIcon name="admin" />}
icon={<CustomIcon name="admin" color="gray.600" />}
onClick={() => {
navigate({
pathname: "/proposals/whitelist",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/button/RedoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const RedoButton = ({ message }: RedoButtonProps) => {
const { chain } = useCurrentChain();
return (
<Button
variant="outline"
variant="outline-gray"
size="sm"
onClick={(e) =>
onClickRedo(
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/button/ResendButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const ResendButton = ({ messages }: ResendButtonProps) => {

return (
<Button
variant="outline"
variant="outline-gray"
iconSpacing="0"
size="sm"
onClick={(e) => {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/modal/RedoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const RedoModal = ({ message }: RedoModalProps) => {
<>
<Button
leftIcon={<CustomIcon name="redo" />}
variant="outline"
variant="outline-gray"
iconSpacing="2"
size="sm"
onClick={onOpen}
Expand Down
1 change: 1 addition & 0 deletions src/lib/styles/theme/components/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const { definePartsStyle, defineMultiStyleConfig } =

const baseStyle = definePartsStyle({
track: {
bg: "gray.500",
_checked: {
bg: "primary.main",
},
Expand Down