Skip to content

Commit 20410ae

Browse files
authored
fix: updating Tailwind CSS variables from --radix-* to --reka-* (#6890)
* fix: radix => reka * chore: add reka cspell * fix: Composition url
1 parent 1e09fa4 commit 20410ae

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"prefixs",
3737
"publint",
3838
"qrcode",
39+
"reka",
3940
"shadcn",
4041
"sonner",
4142
"sortablejs",

internal/tailwind-config/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,18 @@ export default {
175175
keyframes: {
176176
'accordion-down': {
177177
from: { height: '0' },
178-
to: { height: 'var(--radix-accordion-content-height)' },
178+
to: { height: 'var(--reka-accordion-content-height)' },
179179
},
180180
'accordion-up': {
181-
from: { height: 'var(--radix-accordion-content-height)' },
181+
from: { height: 'var(--reka-accordion-content-height)' },
182182
to: { height: '0' },
183183
},
184184
'collapsible-down': {
185185
from: { height: '0' },
186-
to: { height: 'var(--radix-collapsible-content-height)' },
186+
to: { height: 'var(--reka-collapsible-content-height)' },
187187
},
188188
'collapsible-up': {
189-
from: { height: 'var(--radix-collapsible-content-height)' },
189+
from: { height: 'var(--reka-collapsible-content-height)' },
190190
to: { height: '0' },
191191
},
192192
float: {

packages/@core/ui-kit/shadcn-ui/src/components/button/button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface VbenButtonProps {
1313
/**
1414
* Change the default rendered element for the one passed as a child, merging their props and behavior.
1515
*
16-
* Read our [Composition](https://www.radix-vue.com/guides/composition.html) guide for more details.
16+
* Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details.
1717
*/
1818
asChild?: boolean;
1919
class?: any;

packages/@core/ui-kit/tabs-ui/src/use-tabs-view-scroll.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function useTabsViewScroll(props: TabsProps) {
5959
}
6060

6161
const viewportEl = scrollbarEl?.querySelector(
62-
'div[data-radix-scroll-area-viewport]',
62+
'div[data-reka-scroll-area-viewport]',
6363
);
6464

6565
scrollViewportEl.value = viewportEl;

0 commit comments

Comments
 (0)