@univerjscorevariablesDefault Styles

@univerjs/core v0.5.4


Variable: DEFAULT_STYLES

const DEFAULT_STYLES: {
  bd: {
     b: null;
     l: null;
     r: null;
     t: null;
    };
  bg: {
     rgb: string;
    };
  bl: BooleanNumber;
  cl: {
     rgb: string;
    };
  ff: string;
  fs: number;
  ht: HorizontalAlign;
  it: BooleanNumber;
  n: null;
  ol: {
     s: BooleanNumber;
    };
  pd: {
     b: number;
     l: number;
     r: number;
     t: number;
    };
  st: {
     s: BooleanNumber;
    };
  tb: WrapStrategy;
  td: TextDirection;
  tr: {
     a: number;
     v: BooleanNumber;
    };
  ul: {
     s: BooleanNumber;
    };
  vt: VerticalAlign;
};

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:69

Default styles.

Type declaration

NameTypeDefault valueDescriptionDefined in
bd{ b: null; l: null; r: null; t: null; }-borderpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:160
bd.bnullnull-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:161
bd.lnullnull-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:162
bd.rnullnull-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:163
bd.tnullnull-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:164
bg{ rgb: string; }-backgroundpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:132
bg.rgbstring’#fff’-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:133
blBooleanNumberBooleanNumber.FALSEbold 0: false 1: truepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:89
cl{ rgb: string; }-colorpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:126
cl.rgbstring’#000’-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:127
ffstring’Arial’fontFamilypackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:73
fsnumber11fontSizepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:77
htHorizontalAlignHorizontalAlign.UNSPECIFIEDhorizontalAlignmentpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:138
itBooleanNumberBooleanNumber.FALSEitalic 0: false 1: truepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:83
nnullnull-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:156
ol{ s: BooleanNumber; }-overlinepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:105
ol.sBooleanNumberBooleanNumber.FALSE-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:106
pd{ b: number; l: number; r: number; t: number; }-paddingpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:150
pd.bnumber0-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:153
pd.lnumber0-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:154
pd.rnumber0-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:152
pd.tnumber0-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:151
st{ s: BooleanNumber; }-strikethroughpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:99
st.sBooleanNumberBooleanNumber.FALSE-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:100
tbWrapStrategyWrapStrategy.UNSPECIFIEDwrapStrategypackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:146
tdTextDirectionTextDirection.UNSPECIFIEDtextDirectionpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:122
tr{ a: number; v: BooleanNumber; }-textRotationpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:111
tr.anumber0-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:112
tr.vBooleanNumberBooleanNumber.FALSEtrue : 1 false : 0packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:117
ul{ s: BooleanNumber; }-underlinepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:93
ul.sBooleanNumberBooleanNumber.FALSE-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:94
vtVerticalAlignVerticalAlign.UNSPECIFIEDverticalAlignmentpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:142