Skip to content

Commit

Permalink
chore: kill harry the dino
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-dewit committed Feb 23, 2024
1 parent 786e20b commit 2865997
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/apps/client/src/PrompterStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,10 @@
}
.Prompter span.colour.yellow {
color: yellow
}
.Prompter rev span.colour.yellow, .Prompter span.colour.yellow rev {
color: rgb(113, 0, 237);
}
.Prompter span.screen-marker {
margin: 10px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function MdNode({ content }: { content: Node }): React.ReactNode {
return content.value
case 'hidden':
return null
case 'screenMarker':
return React.createElement('span', { className: 'screen-marker' }, '❤️')
default:
assertNever(content)
return null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export const schema = new Schema({
group: 'inline',
inline: true,
toDOM() {
return ['span', {}, '🦕']
// temporary icon, to be replaced with a better design after UX sessions:
return ['span', { class: 'screen-marker' }, '❤️'] // R.I.P Harry the Dino 🦕 :( (killed by the designers who wanted something more serious)
},
},
},
Expand Down

0 comments on commit 2865997

Please sign in to comment.