diff --git a/src/legacy-grid/styles/dark.ts b/src/legacy-grid/styles/dark.ts new file mode 100644 index 000000000..c886c8037 --- /dev/null +++ b/src/legacy-grid/styles/dark.ts @@ -0,0 +1,10 @@ +import { commonDark } from '../../_styles/common' +import type { Theme } from '../../_mixins' + +const rowDark: Theme<'Row'> = { + name: 'Row', + common: commonDark +} + +export default rowDark +export type RowTheme = typeof rowDark diff --git a/src/legacy-grid/styles/index.ts b/src/legacy-grid/styles/index.ts index 2a45209f6..ca9b25a45 100644 --- a/src/legacy-grid/styles/index.ts +++ b/src/legacy-grid/styles/index.ts @@ -1,3 +1,4 @@ -export { default as inputLight } from './light' +export { default as rowLight } from './light' +export { default as rowDark } from './dark' export { rowRtl } from './rtl' export type { RowTheme } from './light' diff --git a/src/themes/dark.ts b/src/themes/dark.ts index 43d05c1eb..f23dad317 100644 --- a/src/themes/dark.ts +++ b/src/themes/dark.ts @@ -56,6 +56,7 @@ import { progressDark } from '../progress/styles' import { radioDark } from '../radio/styles' import { rateDark } from '../rate/styles' import { resultDark } from '../result/styles' +import { rowDark } from '../legacy-grid/styles' import { scrollbarDark } from '../_internal/scrollbar/styles' import { selectDark } from '../select/styles' import { skeletonDark } from '../skeleton/styles' @@ -140,6 +141,7 @@ export const darkTheme: BuiltInGlobalTheme = { Radio: radioDark, Rate: rateDark, Result: resultDark, + Row: rowDark, Scrollbar: scrollbarDark, Select: selectDark, Skeleton: skeletonDark, diff --git a/src/themes/light.ts b/src/themes/light.ts index 496d5c9b1..35e91877e 100644 --- a/src/themes/light.ts +++ b/src/themes/light.ts @@ -58,6 +58,7 @@ import { progressLight } from '../progress/styles' import { radioLight } from '../radio/styles' import { rateLight } from '../rate/styles' import { resultLight } from '../result/styles' +import { rowLight } from '../legacy-grid/styles' import { scrollbarLight } from '../_internal/scrollbar/styles' import { selectLight } from '../select/styles' import { skeletonLight } from '../skeleton/styles' @@ -141,6 +142,7 @@ export const lightTheme: BuiltInGlobalTheme = { Progress: progressLight, Radio: radioLight, Rate: rateLight, + Row: rowLight, Result: resultLight, Scrollbar: scrollbarLight, Skeleton: skeletonLight,