Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
c9a500c
Refactor choice icons and update SVG assets
phonzammi Jun 2, 2026
3fcee61
Update SVG icons and adjust CSS styles for ChoiceGroup component
phonzammi Jun 4, 2026
e49c49f
refactor(code-blocks): normalize built-in choice SVGs and embed as da…
phonzammi Jun 4, 2026
00f288c
Replace border separators with inset box-shadow for consistent rendering
phonzammi Jun 4, 2026
c69179a
Remove `font-weight` from selected tab styles to fix layout shifts
phonzammi Jun 4, 2026
d0eaad8
refactor(Tabs): adjust tab layout and improve icon styling
phonzammi Jun 4, 2026
587ded0
minor
phonzammi Jun 4, 2026
acbcb6a
remove `flex-shrink`
phonzammi Jun 4, 2026
41bb9b2
Merge branch 'main' of https://github.com/brillout/docpress into phon…
phonzammi Jun 22, 2026
25cafbc
refactor(tabs): refine tab structure and styling
phonzammi Jun 27, 2026
52962a7
refactor(choice-select): refine dropdown structure and styling
phonzammi Jun 27, 2026
b520ac2
refactor(choices): enhance icon styling and structure for dropdowns a…
phonzammi Jun 28, 2026
46fb9f5
Merge branch 'main' of https://github.com/brillout/docpress into phon…
phonzammi Jun 28, 2026
fcf7436
remove unnecessary format
phonzammi Jun 28, 2026
77a0afd
Merge branch 'main' of https://github.com/brillout/docpress into phon…
phonzammi Jun 28, 2026
8346382
Merge branch 'main' of https://github.com/brillout/docpress into phon…
phonzammi Jun 29, 2026
3b9d4f4
refactor: update iconStyle structure for choices and tabs
phonzammi Jun 29, 2026
efddfbe
polish TS-JS toggle
phonzammi Jun 29, 2026
127ed44
Merge branch 'main' of https://github.com/brillout/docpress into phon…
phonzammi Jun 29, 2026
9c62416
Merge branch 'main' of https://github.com/brillout/docpress into phon…
phonzammi Jul 1, 2026
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
26 changes: 20 additions & 6 deletions demo/+docpress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,32 @@ const config: Config = {
choices: {
server: {
choices: [
{ name: 'Hono', icon: iconHono, iconStyle: { width: 13, height: 13 } },
{ name: 'Express', icon: iconExpress },
{ name: 'Fastify', icon: iconFastify, iconStyle: { position: 'relative', top: 1 } },
{
name: 'Hono',
icon: iconHono,
iconStyle: { marginBottom: '1.5px' },
},
{
name: 'Express',
icon: iconExpress,
iconStyle: { objectFit: 'contain' },
iconStyleTab: { height: '11.5px' },
},
{
name: 'Fastify',
icon: iconFastify,
iconStyleDropdown: { width: '14px' },
iconStyleTab: { width: '18px' },
},
{ name: 'H3', icon: iconH3 },
],
default: 'Hono',
},
uiFramework: {
choices: [
{ name: 'React', icon: iconReact, iconStyle: { position: 'relative', top: -0.5, opacity: 1 } },
{ name: 'Vue', icon: iconVue, iconStyle: { position: 'relative', top: -0.5 } },
{ name: 'Solid', icon: iconSolid, iconStyle: { position: 'relative', top: -0.5 } },
{ name: 'React', icon: iconReact },
{ name: 'Vue', icon: iconVue },
{ name: 'Solid', icon: iconSolid },
],
default: 'React',
},
Expand Down
2 changes: 1 addition & 1 deletion demo/assets/choices-icons/express-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion demo/assets/choices-icons/fastify-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions demo/assets/choices-icons/h3-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions demo/assets/choices-icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export { default as iconExpress } from './express-icon.svg'
export { default as iconFastify } from './fastify-icon.svg'
export { default as iconH3 } from './h3-icon.svg'
export { default as iconReact } from './react-icon.svg'
export { default as iconVue } from './vue-icon.svg'
export { default as iconSolid } from './solid-icon.svg'
export { default as iconVue } from './vuejs-icon.svg'
export { default as iconSolid } from './solidjs-icon.svg'
Loading
Loading