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

[major] Add themeing #21

Merged
merged 49 commits into from
Jul 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
6c5a931
WIP adding themes, Add styled-components
toddkao Jul 3, 2024
cae6074
Update to styled-components 6 to fix issues with rollupjs
toddkao Jul 3, 2024
4bde2b2
Add theming to more parts of the widget
toddkao Jul 3, 2024
cbd2fe8
Add theme to more components
toddkao Jul 3, 2024
a971e4d
merge main
toddkao Jul 15, 2024
8771bb2
Add seperate page for theme
toddkao Jul 15, 2024
e9e8b2a
Updating Themes
toddkao Jul 15, 2024
0621ee6
Update Tooltips and 3 Buttons
toddkao Jul 16, 2024
d066573
Re-implement WithStyledShadowDom using imperative shadow dom
toddkao Jul 16, 2024
2ad2212
Fix radix ui wheel event WIP fixing Dialogs
toddkao Jul 16, 2024
4cd8f47
Fix WithStyledShadowDom
toddkao Jul 16, 2024
869ab94
Update Themes
toddkao Jul 16, 2024
191bf30
Start adding brandColor to deprecate useSwapWidgetUIStore.getState().…
toddkao Jul 16, 2024
53cd0aa
Refactor
toddkao Jul 16, 2024
273d89a
Refactor
toddkao Jul 16, 2024
0967d10
Add ability to pass arbitrary props in example/nextjs
toddkao Jul 16, 2024
54ba136
Merge branch 'main' into add-themeing
toddkao Jul 16, 2024
7aaae97
Fix after merge
toddkao Jul 16, 2024
b80eaad
Add some default buttons for changing themes
toddkao Jul 16, 2024
ba6fd7d
Remove hover styling on connect wallet back button
toddkao Jul 16, 2024
740f63b
Remove react-shadow-scope, it's no longer used
toddkao Jul 16, 2024
1f25a0b
Add cssReset
toddkao Jul 16, 2024
d990ea4
Remove unnecessary prop
toddkao Jul 16, 2024
87adbf2
test
toddkao Jul 16, 2024
785a7ec
Update naming
toddkao Jul 16, 2024
ce2482c
Update Transaction History, TransactionPreview, Connect wallet theme
toddkao Jul 17, 2024
b79829f
Update styling of set destination address buttons
toddkao Jul 17, 2024
6c5c1b0
Update SetAddressDialog.tsx
toddkao Jul 17, 2024
ad00d4a
Finish removing usages of useSwapWidgetUIStore.getState().colors.primary
toddkao Jul 17, 2024
606d8f6
Update styling
toddkao Jul 17, 2024
98c5851
Fix slippage and gasAmount input styling
toddkao Jul 17, 2024
eff7e20
Refactor Theme interface
toddkao Jul 17, 2024
8f30cf8
Update README, fix build
toddkao Jul 17, 2024
caf7704
Update README, fix build
toddkao Jul 17, 2024
e898054
Add Changeset
toddkao Jul 17, 2024
57c4ac8
Merge branch 'add-themeing' of https://github.com/skip-mev/skip-go in…
toddkao Jul 17, 2024
96ac113
Merge branch 'main' into add-themeing
toddkao Jul 17, 2024
fc3ad16
Fix SetAddressDialog input styling
toddkao Jul 17, 2024
e97ea81
Fix input being slightly clipped off on left side
toddkao Jul 17, 2024
050eb95
Stop passing colors.primary to examples
toddkao Jul 17, 2024
08ec5e7
Update bridgeLogo to just have a backgroundCircle behind it with a st…
toddkao Jul 17, 2024
5aabb45
Remove imports of removed file
toddkao Jul 17, 2024
006726b
Update changeset as major
toddkao Jul 17, 2024
ce004be
Merge branch 'main' into add-themeing
toddkao Jul 18, 2024
0495d5c
Move Toaster from SwapWidgetProvider to Widget.tsx
toddkao Jul 18, 2024
8ef3145
Update borderColors
toddkao Jul 18, 2024
8e93062
update darkTheme
codingki Jul 18, 2024
6c1d1a9
Hard code Create New Swap/Transfer color as text-white
toddkao Jul 18, 2024
45e7225
Merge branch 'add-themeing' of https://github.com/skip-mev/skip-go in…
toddkao Jul 18, 2024
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
Prev Previous commit
Next Next commit
Stop passing colors.primary to examples
  • Loading branch information
toddkao committed Jul 17, 2024
commit 050eb95947c5632fd5ccf763ffc2d8f8b4405df6
6 changes: 1 addition & 5 deletions examples/nextjs/pages/vue.tsx
Original file line number Diff line number Diff line change
@@ -9,23 +9,19 @@ const VuePage: NextPage = () => {
const { createApp } = require('vue/dist/vue.esm-bundler.js');
const app = createApp({
setup() {
const colors = JSON.stringify({
primary: '#FF4FFF',
});
const defaultRoute = JSON.stringify({
srcChainID: 'osmosis-1',
srcAssetDenom:
'ibc/1480b8fd20ad5fcae81ea87584d269547dd4d436843c1d20f15e00eb64743ef4',
});

return {
colors,
defaultRoute,
};
},
template: `
<div style="width:450px;height:820px;">
<skip-widget :colors="colors" :default-route="defaultRoute"></skip-widget>
<skip-widget :default-route="defaultRoute"></skip-widget>
</div>
`,
});
4 changes: 0 additions & 4 deletions examples/nextjs/pages/web-component.tsx
Original file line number Diff line number Diff line change
@@ -13,10 +13,6 @@ const WebComponent: NextPage = () => {
}}
>
<skip-widget
class-name="test"
colors={JSON.stringify({
primary: '#FF4FFF',
})}
default-route={JSON.stringify({
srcChainID: 'osmosis-1',
srcAssetDenom:
Loading