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

Implement UISK Tokens Into Credit/Dark Mode and Light Mode #2334

Merged
merged 32 commits into from
Jan 16, 2025
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2008f37
feat credit rfq tile layout
SHolleworth Nov 15, 2024
0df74c3
feat: begun restyling new rfq form
SHolleworth Nov 15, 2024
8caef74
feat: refactored, partially operational form
SHolleworth Nov 21, 2024
163d77c
feat: all counter part selection
SHolleworth Nov 21, 2024
14898f1
chore: eslint fixes
SHolleworth Nov 21, 2024
330134d
feat: instrument search style
SHolleworth Nov 22, 2024
942180b
feat: button component
SHolleworth Nov 22, 2024
5931099
feat: toggle component
SHolleworth Nov 25, 2024
5470800
chore: replace comparisons with helper isBuy
SHolleworth Dec 2, 2024
6ac8ff2
feat: rfq panels
SHolleworth Dec 3, 2024
d13e81a
fix: linting
SHolleworth Dec 3, 2024
28b5124
chore: pwa button without fix
SHolleworth Dec 3, 2024
985439e
chore: canceled -
SHolleworth Dec 4, 2024
5dfc95c
fix: trade table highlight flash
SHolleworth Dec 4, 2024
8d4e5b5
chore: check box svg CI fix test
SHolleworth Dec 4, 2024
28ff95f
feat: PWA banner
SHolleworth Dec 4, 2024
c229606
chore: theme types file
SHolleworth Dec 4, 2024
014df8f
feat: Gap component
SHolleworth Dec 4, 2024
6bd061c
feat: PWA modal
SHolleworth Dec 4, 2024
d3bc975
feat: loader color
SHolleworth Dec 4, 2024
26177cb
fix: cross icon refs
SHolleworth Dec 5, 2024
ba4c44b
fix: rfq dealer row highlight colours
SHolleworth Dec 5, 2024
84c2345
feat: lightmode and integrated theme parsing
SHolleworth Dec 5, 2024
97f8081
fix: light theme fix
SHolleworth Dec 5, 2024
7773d06
chore: light theme icon
SHolleworth Dec 12, 2024
fb36d76
fix: disconnection overlay
SHolleworth Dec 13, 2024
813972c
chore: rename parseTheme to generateUISKTheme
SHolleworth Dec 16, 2024
0091e16
fix: no rfq screen restyle
SHolleworth Dec 16, 2024
a3455c6
fix: table header text wrap
SHolleworth Dec 18, 2024
a2ee08b
fix: instrument form field dropdown spacing
SHolleworth Jan 6, 2025
b7a5837
feat: semantic labels for form
SHolleworth Jan 8, 2025
5895f85
fix: e2e tests and types
SHolleworth Jan 9, 2025
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
chore: theme types file
SHolleworth committed Jan 8, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c2296060e92eb7832144fd9c92fb86f747dfd398
7 changes: 2 additions & 5 deletions packages/client/src/client/components/Typography.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import styled from "styled-components"

import { theme } from "../theme/uiskTheme"

type Variant = keyof typeof theme.textStyles
export type Color = keyof typeof theme.color
import { Color, TextStyles } from "../theme/types"

interface TypographyProps {
variant?: Variant
variant?: TextStyles
color?: Color
allowLineHeight?: boolean
}
9 changes: 9 additions & 0 deletions packages/client/src/client/theme/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { theme } from "./uiskTheme"

type Theme = typeof theme
export type Density = keyof Theme["density"]
export type Spacing = keyof Theme["spacing"]
export type Width = keyof Theme["width"]
export type Radius = keyof Theme["radius"]
export type TextStyles = keyof Theme["textStyles"]
export type Color = keyof Theme["color"]