Skip to content

Commit

Permalink
Fix helvetica presets
Browse files Browse the repository at this point in the history
  • Loading branch information
RobolabGs2 committed Oct 28, 2023
1 parent e19dbd1 commit c990ea2
Showing 1 changed file with 31 additions and 6 deletions.
37 changes: 31 additions & 6 deletions src/lib/text/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,26 @@ const StylePresets: Array<StylePresetType & { name: string }> = [
smallCaps: false
}
},
{
name: 'Helvetica bold subtitles',
case: 'As is',
fill: {
alpha: 1,
settings: { type: 'color', value: '#ffffff' }
},
stroke: {
alpha: 1,
settings: { type: 'color', value: '#000000' }
},
lineSpacing: -0.15,
strokeWidth: 16.85,
font: {
bold: true,
family: 'Helvetica',
italic: false,
smallCaps: false
}
},
{
name: 'Arial subtitles',
case: 'As is',
Expand Down Expand Up @@ -194,15 +214,20 @@ const StylePresets: Array<StylePresetType & { name: string }> = [
}
},
{
name: 'Helvetica bold',
case: 'lower',
name: 'Black Helvetica bold',
case: 'As is',
fill: {
alpha: 1,
settings: { type: 'color', value: '#ffffff' }
settings: {
type: 'color',
value: '#000000'
},
alpha: 1
},
stroke: {
alpha: 1,
settings: { type: 'color', value: '#000000' }
settings: {
type: 'disabled'
},
alpha: 1
},
lineSpacing: -0.15,
strokeWidth: 16.85,
Expand Down

0 comments on commit c990ea2

Please sign in to comment.