File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/ui-library/src/components/internal-components/form-caption-group/form-caption Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { typeSafeNestedCss as css } from "../../../../utils/nested-typesafe-css-literals" ;
2
2
import { renderThemedCssStrings } from "../../../../foundation/_tokens-generated/index.pseudo.generated" ;
3
3
4
- export const { tokenizedLight : checkboxLight , tokenizedDark : checkboxDark } = renderThemedCssStrings ( ( componentTokens ) => {
4
+ export const { tokenizedLight : captionLight , tokenizedDark : captionDark } = renderThemedCssStrings ( ( componentTokens ) => {
5
5
const { CaptionComponent } = componentTokens . Forms ;
6
6
7
7
return css `
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { classMap } from 'lit/directives/class-map.js';
4
4
import { FormSizesType , CaptionVariantType , SizesType } from '../../../../globals/types' ;
5
5
import { BlrIconRenderFunction } from '../../../ui/icon/renderFunction' ;
6
6
import { SizelessIconType } from '@boiler/icons' ;
7
- import { formDark , formLight } from '../../../../foundation/semantic-tokens/form .css' ;
7
+ import { captionLight , captionDark } from './index .css' ;
8
8
import { calculateIconName } from '../../../../utils/calculate-icon-name' ;
9
9
import { ThemeType } from '../../../../foundation/_tokens-generated/index.themes' ;
10
10
import { getComponentConfigToken } from '../../../../utils/get-component-config-token' ;
@@ -25,7 +25,7 @@ export class BlrFormCaption extends LitElement {
25
25
26
26
protected render ( ) {
27
27
if ( this . size ) {
28
- const dynamicStyles = this . theme === 'Light' ? [ formLight ] : [ formDark ] ;
28
+ const dynamicStyles = this . theme === 'Light' ? [ captionLight ] : [ captionDark ] ;
29
29
30
30
const classes = classMap ( {
31
31
'blr-form-caption' : true ,
You can’t perform that action at this time.
0 commit comments