mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
Copy react-native-enriched-markdown@1.2.0-nightly-20261014-766fc0e67 (upstream software-mansion/enriched-markdown 766fc0e67) into packages/react-native-enriched-markdown, with patches/react-native-enriched-markdown+1.2.0-nightly-20261014-766fc0e67.patch applied. Nothing else changes in this commit; the package is not a workspace yet. Reproduce: npm pack react-native-enriched-markdown@1.2.0-nightly-20261014-766fc0e67 tar xzf react-native-enriched-markdown-*.tgz mkdir -p t/node_modules && mv package t/node_modules/react-native-enriched-markdown (cd t && git init -q && git apply ../patches/react-native-enriched-markdown+*.patch) diff -r t/node_modules/react-native-enriched-markdown packages/react-native-enriched-markdown The diff is empty.
34 lines
666 B
JavaScript
34 lines
666 B
JavaScript
"use strict";
|
|
|
|
// Single source of truth for default heading appearance, shared by the
|
|
// read-only renderer and the editable input so headings match across views.
|
|
|
|
/** Default font weight applied to every heading level. */
|
|
export const DEFAULT_HEADING_FONT_WEIGHT = 'bold';
|
|
export const HEADING_DEFAULTS = {
|
|
h1: {
|
|
fontSize: 30,
|
|
color: '#111827'
|
|
},
|
|
h2: {
|
|
fontSize: 24,
|
|
color: '#111827'
|
|
},
|
|
h3: {
|
|
fontSize: 20,
|
|
color: '#111827'
|
|
},
|
|
h4: {
|
|
fontSize: 18,
|
|
color: '#111827'
|
|
},
|
|
h5: {
|
|
fontSize: 16,
|
|
color: '#374151'
|
|
},
|
|
h6: {
|
|
fontSize: 14,
|
|
color: '#4B5563'
|
|
}
|
|
};
|
|
//# sourceMappingURL=headingDefaults.js.map
|