renusify 2.4.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,7 +125,6 @@
125
125
  .toolbar-item {
126
126
  padding: 20px 5px;
127
127
  font-size: 1.125rem;
128
- font-weight: bold;
129
128
  position: relative;
130
129
 
131
130
  .toolbar-childs {
@@ -8,7 +8,7 @@
8
8
  <r-btn-group :items="menu" exact is-select @open="handleOpen" @update:modelValue="addCss">
9
9
  <template v-slot:list="{item}">
10
10
  <div :class="'color-white-text'===item['value']?'color-black '+item['value']:item['value']"
11
- class="list-title pa-2"
11
+ class="list-title"
12
12
  >{{ item['text'] }}
13
13
  </div>
14
14
  </template>
@@ -182,6 +182,7 @@
182
182
  :closebtn="false">
183
183
  <r-form v-model="valid2">
184
184
  <r-container>
185
+ <r-text-input v-model="code_name" :label="$t('name','renusify')"></r-text-input>
185
186
  <r-select-input v-model="lang" :items="langs"
186
187
  :label="$t('lang','renusify')"
187
188
  :rules="['required']"
@@ -204,6 +205,30 @@
204
205
  </r-container>
205
206
  </r-form>
206
207
  </r-modal>
208
+ <r-modal v-model="showTable"
209
+ :closable="false"
210
+ :closebtn="false">
211
+ <r-form v-model="valid2">
212
+ <r-container>
213
+ <r-select-input v-model="table_form.headers"
214
+ :label="$t('headers','renusify')"
215
+ :rules="['required']" just-value multiple tags></r-select-input>
216
+ <r-number-input v-model="table_form.row" :label="$t('row','renusify')" :rules="['required']"></r-number-input>
217
+
218
+ <div class="text-end my-3">
219
+ <r-btn class="color-error-text"
220
+ outlined
221
+ @click.prevent="showTable=false">{{ $t('cancel', 'renusify') }}
222
+ </r-btn>
223
+ <r-btn :disabled="!valid2"
224
+ class="color-success-text ms-2"
225
+ outlined
226
+ @click.prevent="handleTableForm()">{{ $t('send', 'renusify') }}
227
+ </r-btn>
228
+ </div>
229
+ </r-container>
230
+ </r-form>
231
+ </r-modal>
207
232
 
208
233
  </r-container>
209
234
  </template>
@@ -218,7 +243,7 @@ export default {
218
243
  inheritAttrs: false,
219
244
  mixins: [mixin],
220
245
  props: {
221
- uploadLink: {type: String, default: '/storage'},
246
+ uploadLink: String,
222
247
  modelValue: {
223
248
  type: [Object, String], default: () => {
224
249
  return {
@@ -251,9 +276,12 @@ export default {
251
276
  preSelected: null,
252
277
  currentPath: [],
253
278
  selectElm: null,
279
+ code_name: null,
254
280
  code: '',
255
281
  lang: null,
256
282
  showPre: false,
283
+ showTable: false,
284
+ table_form: {},
257
285
  langs: ['asm', 'bash', 'bf', 'c', 'css', 'csv', 'diff', 'docker', 'git', 'go', 'html', 'http', 'ini', 'java', 'js', 'jsdoc', 'json', 'log', 'lua', 'make', 'pl', 'plain', 'py', 'regex', 'rs', 'sql', 'todo', 'toml', 'ts', 'uri', 'xml', 'yaml'],
258
286
  items_undo: {
259
287
  'undo': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88c3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8Z"/></svg>',
@@ -264,8 +292,7 @@ export default {
264
292
  'insertLINE': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M9 7h2v8h4v2H9V7m3-5a10 10 0 0 1 10 10a10 10 0 0 1-10 10A10 10 0 0 1 2 12A10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8a8 8 0 0 0 8 8a8 8 0 0 0 8-8a8 8 0 0 0-8-8Z"/></svg>',
265
293
  'BLOCKQUOTE': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3l-2 4Z"/></svg>',
266
294
  'PRE': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="m12.89 3l1.96.4L11.11 21l-1.96-.4L12.89 3m6.7 9L16 8.41V5.58L22.42 12L16 18.41v-2.83L19.59 12M1.58 12L8 5.58v2.83L4.41 12L8 15.58v2.83L1.58 12Z"/></svg>',
267
- 'insertImage': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9.09c-.06-.33-.09-.66-.09-1c0-.68.12-1.36.35-2H5l3.5-4.5l2.5 3l3.5-4.5l2.23 2.97c.97-.63 2.11-.97 3.27-.97c.34 0 .67.03 1 .09V5a2 2 0 0 0-2-2H5m14 13v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2Z"/></svg>',
268
- 'insertVideo': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M17 10.5V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3.5l4 4v-11l-4 4Z"/></svg>',
295
+ 'createTable': '<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 4L9 20M15 4L15 20M3 9H21M3 15H21M6.2 20H17.8C18.9201 20 19.4802 20 19.908 19.782C20.2843 19.5903 20.5903 19.2843 20.782 18.908C21 18.4802 21 17.9201 21 16.8V7.2C21 6.0799 21 5.51984 20.782 5.09202C20.5903 4.71569 20.2843 4.40973 19.908 4.21799C19.4802 4 18.9201 4 17.8 4H6.2C5.07989 4 4.51984 4 4.09202 4.21799C3.71569 4.40973 3.40973 4.71569 3.21799 5.09202C3 5.51984 3 6.07989 3 7.2V16.8C3 17.9201 3 18.4802 3.21799 18.908C3.40973 19.2843 3.71569 19.5903 4.09202 19.782C4.51984 20 5.07989 20 6.2 20Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',
269
296
  'createLink': '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7a5 5 0 0 0-5 5a5 5 0 0 0 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8v2m9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1c0 1.71-1.39 3.1-3.1 3.1h-4V17h4a5 5 0 0 0 5-5a5 5 0 0 0-5-5Z"/></svg>',
270
297
  },
271
298
  items_format: {
@@ -288,21 +315,21 @@ export default {
288
315
  menu: {
289
316
  'font': {
290
317
  icon: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M8.5 7h2L16 21h-2.4l-1.1-3H6.3l-1.1 3H3L8.5 7m-1.4 9h4.8L9.5 9.7L7.1 16M22 5v2h-3v3h-2V7h-3V5h3V2h2v3h3Z"/></svg>',
291
- items: [{text: 'HI', value: 'display-1'},
292
- {text: 'HI', value: 'display-2'},
293
- {text: 'HI', value: 'display-3'},
294
- {text: 'HI', value: 'headline-1'},
295
- {text: 'HI', value: 'headline-2'},
296
- {text: 'HI', value: 'headline-3'},
297
- {text: 'HI', value: 'title-1'},
298
- {text: 'HI', value: 'title-2'},
299
- {text: 'HI', value: 'title-3'},
300
- {text: 'HI', value: 'body-1'},
301
- {text: 'HI', value: 'body-2'},
302
- {text: 'HI', value: 'body-3'},
303
- {text: 'HI', value: 'label-1'},
304
- {text: 'HI', value: 'label-2'},
305
- {text: 'HI', value: 'label-3'},
318
+ items: [{text: 'd1', value: 'display-1'},
319
+ {text: 'd2', value: 'display-2'},
320
+ {text: 'd3', value: 'display-3'},
321
+ {text: 'head1', value: 'headline-1'},
322
+ {text: 'head2', value: 'headline-2'},
323
+ {text: 'head3', value: 'headline-3'},
324
+ {text: 'title-1', value: 'title-1'},
325
+ {text: 'title-2', value: 'title-2'},
326
+ {text: 'title-3', value: 'title-3'},
327
+ {text: 'body-1', value: 'body-1'},
328
+ {text: 'body-2', value: 'body-2'},
329
+ {text: 'body-3', value: 'body-3'},
330
+ {text: 'label-1', value: 'label-1'},
331
+ {text: 'label-2', value: 'label-2'},
332
+ {text: 'label-3', value: 'label-3'},
306
333
  ]
307
334
  },
308
335
  'header': {
@@ -348,12 +375,15 @@ export default {
348
375
  }
349
376
  }
350
377
  },
351
- mounted() {
352
- /* document.execCommand('enableObjectResizing', false, true);
353
- document.execCommand('enableInlineTableEditing', false, true);
354
- document.execCommand('enableAbsolutePositionEditor', false, true) */
378
+ created() {
379
+ if (this.uploadLink) {
380
+ this.items_handle['insertImage'] = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9.09c-.06-.33-.09-.66-.09-1c0-.68.12-1.36.35-2H5l3.5-4.5l2.5 3l3.5-4.5l2.23 2.97c.97-.63 2.11-.97 3.27-.97c.34 0 .67.03 1 .09V5a2 2 0 0 0-2-2H5m14 13v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2Z"/></svg>'
381
+ this.items_handle['insertVideo'] = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M17 10.5V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3.5l4 4v-11l-4 4Z"/></svg>'
355
382
 
356
- this.format('defaultParagraphSeparator', '\n')
383
+ }
384
+ },
385
+ mounted() {
386
+ this.format('defaultParagraphSeparator', 'br')
357
387
  this.element.addEventListener('paste', function (e) {
358
388
  e.preventDefault()
359
389
  const text = (e.originalEvent || e).clipboardData.getData('text/plain')
@@ -472,6 +502,30 @@ export default {
472
502
  document.execCommand('insertHTML', true, url)
473
503
  this.showVideo = false
474
504
  },
505
+ handleTableForm() {
506
+ if (!this.getSelection() || !this.table_form.row || !this.table_form.headers) {
507
+ this.$toast(this.$t('invalid_data', 'renusify'), {type: 'error'})
508
+ return
509
+ }
510
+ let sel = this.getSelection()
511
+ sel.removeAllRanges()
512
+ sel.addRange(this.preSelected)
513
+ let t = '<table><thead><tr>'
514
+ for (let i = 0; i < this.table_form.headers.length; i++) {
515
+ t += `<th>${this.table_form.headers[i]}</th>`
516
+ }
517
+ t += '</tr></thead><tbody>'
518
+ for (let i = 0; i < this.table_form.row; i++) {
519
+ t += '<tr>'
520
+ for (let i = 0; i < this.table_form.headers.length; i++) {
521
+ t += `<td></td>`
522
+ }
523
+ t += '</tr>'
524
+ }
525
+ t += '</tbody></table>'
526
+ document.execCommand('insertHTML', true, t)
527
+ this.showTable = false
528
+ },
475
529
  async handlePreForm() {
476
530
  if (!this.getSelection() || !this.code || !this.lang) {
477
531
  this.$toast(this.$t('invalid_data', 'renusify'), {type: 'error'})
@@ -480,7 +534,12 @@ export default {
480
534
  let sel = this.getSelection()
481
535
  sel.removeAllRanges()
482
536
  sel.addRange(this.preSelected)
483
- let url = `<div class="${this.$r.prefix}highlight highlight-lang-${this.lang}" >${await this.highlight(this.code, this.lang)}</div>`
537
+ let url = `<div class="${this.$r.prefix}highlight" >`
538
+ if (this.code_name) {
539
+ url += `<div class="highlight-name title-3 font-weight-bold mb-3">${this.code_name}</div>`
540
+ }
541
+
542
+ url += `<div class="highlight-code highlight-lang-${this.lang}">${await this.highlight(this.code, this.lang)}</div></div>`
484
543
  document.execCommand('insertHTML', true, url)
485
544
  this.showPre = false
486
545
  },
@@ -563,20 +622,28 @@ export default {
563
622
  this.target = false
564
623
  this.handleOpen(true)
565
624
  this.show = true
625
+ } else if (e === 'createTable') {
626
+ this.table_form = {}
627
+ this.handleOpen(true)
628
+ this.showTable = true
566
629
  } else if (e === 'PRE') {
567
630
  this.code = ''
568
631
  this.lang = null
569
632
  this.handleOpen(true)
570
633
  this.showPre = true
571
634
  } else if (e === 'insertImage') {
572
- this.image = []
573
- this.img_alt = null
574
- this.handleOpen(true)
575
- this.showImg = true
635
+ if (this.uploadLink) {
636
+ this.image = []
637
+ this.img_alt = null
638
+ this.handleOpen(true)
639
+ this.showImg = true
640
+ }
576
641
  } else if (e === 'insertVideo') {
577
- this.video = []
578
- this.handleOpen(true)
579
- this.showVideo = true
642
+ if (this.uploadLink) {
643
+ this.video = []
644
+ this.handleOpen(true)
645
+ this.showVideo = true
646
+ }
580
647
  } else if (e === 'insertDIV') {
581
648
  const d = document.createElement('div')
582
649
  d.innerText = 'div'
@@ -5,6 +5,7 @@
5
5
 
6
6
  <script>
7
7
  import './style.scss'
8
+ import '../../highlight/style.scss'
8
9
 
9
10
  export default {
10
11
  name: "law",
@@ -74,4 +74,67 @@
74
74
  img:hover {
75
75
  cursor: pointer;
76
76
  }
77
+
78
+ table {
79
+ width: 100%;
80
+ border: 1px solid var(--color-border);
81
+ border-collapse: collapse;
82
+
83
+ thead {
84
+ tr {
85
+ &:last-child th {
86
+ border-bottom: 1px solid var(--color-border)
87
+ }
88
+
89
+ th {
90
+ background-color: var(--color-sheet);
91
+ color: var(--color-on-sheet)
92
+ }
93
+ }
94
+ }
95
+
96
+ tbody {
97
+ tr:nth-child(2n):not(:hover) {
98
+ td {
99
+ background: var(--color-sheet-container-low)
100
+ }
101
+ }
102
+ }
103
+
104
+ tbody {
105
+ tr {
106
+ &:active {
107
+ background: var(--color-sheet-container)
108
+ }
109
+
110
+ &:hover {
111
+ background: var(--color-sheet-container)
112
+ }
113
+ }
114
+
115
+ tr:not(:last-child) {
116
+ td {
117
+ border-bottom: 1px solid var(--color-border)
118
+ }
119
+ }
120
+ }
121
+
122
+ td, th {
123
+ padding: 0 16px;
124
+ }
125
+
126
+ th {
127
+ user-select: none;
128
+ font-size: 14px;
129
+ font-weight: bold;
130
+ height: 38px;
131
+
132
+ }
133
+
134
+ td {
135
+ font-size: 14px;
136
+ font-weight: normal;
137
+ height: 38px;
138
+ }
139
+ }
77
140
  }
@@ -1,5 +1,19 @@
1
1
  <template>
2
- <div :class="`${$r.prefix}highlight highlight-lang-${lang}`" v-html='txt'></div>
2
+ <div :class="`${$r.prefix}highlight`">
3
+ <div :class="{'highlight-name':name}" class="title-3 font-weight-bold mb-3">
4
+ <div class="d-flex v-top">{{ name }}
5
+ <r-spacer></r-spacer>
6
+ <r-btn
7
+ icon
8
+ text
9
+ @click.prevent="$helper.copy(src)"
10
+ >
11
+ <r-icon v-html="$r.icons.copy"></r-icon>
12
+ </r-btn>
13
+ </div>
14
+ </div>
15
+ <div :class="`highlight-code highlight-lang-${lang}`" v-html='txt'></div>
16
+ </div>
3
17
  </template>
4
18
  <script>
5
19
  import './style.scss'
@@ -9,6 +23,7 @@ export default {
9
23
  name: 'highlight',
10
24
  mixins: [mixin],
11
25
  props: {
26
+ name: String,
12
27
  src: String,
13
28
  hideLineNumbers: Boolean,
14
29
  lang: {
@@ -815,7 +815,7 @@ export default {
815
815
  },
816
816
  {
817
817
  type: 'kwd',
818
- match: /\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g
818
+ match: /\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield|await)\b/g
819
819
  },
820
820
  {
821
821
  type: 'bool',
@@ -1036,6 +1036,32 @@ export default {
1036
1036
  }
1037
1037
  ]
1038
1038
  }
1039
+ this.languages.http = {
1040
+ default: [
1041
+ {
1042
+ type: 'kwd',
1043
+ match: /^(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|PRI|SEARCH)\b/gm
1044
+ },
1045
+ {
1046
+ expand: 'str'
1047
+ },
1048
+ {
1049
+ type: 'section',
1050
+ match: /\bHTTP\/[\d.]+\b/g
1051
+ },
1052
+ {
1053
+ expand: 'num'
1054
+ },
1055
+ {
1056
+ type: 'oper',
1057
+ match: /[,;:=]/g
1058
+ },
1059
+ {
1060
+ type: 'var',
1061
+ match: /[a-zA-Z][\w-]*(?=:)/g
1062
+ }
1063
+ ]
1064
+ }
1039
1065
  },
1040
1066
  methods: {
1041
1067
  async highlight(code, lang, hideLineNumbers) {
@@ -4,25 +4,30 @@
4
4
  direction: ltr;
5
5
  text-align: left;
6
6
  white-space: pre;
7
- padding: 30px 20px;
7
+ padding: 20px !important;
8
8
  color: #f8f8f2;
9
9
  background: #1a1a1c;
10
10
  box-shadow: 0 0 5px #fff;
11
11
  text-shadow: none;
12
12
  font: normal 18px Consolas, "Courier New", Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
13
- line-height: 24px;
13
+ line-height: 24px !important;
14
14
  box-sizing: border-box;
15
15
 
16
16
  &::selection {
17
17
  background: #bdf5
18
18
  }
19
19
 
20
- > div {
20
+ .highlight-name {
21
+ border-bottom: 1px solid !important;
22
+ padding: 4px;
23
+ }
24
+
25
+ .highlight-code > div {
21
26
  display: flex;
22
27
  overflow: auto
23
28
  }
24
29
 
25
- > div :last-child {
30
+ .highlight-code > div :last-child {
26
31
  flex: 1;
27
32
  outline: none
28
33
  }
@@ -55,7 +60,7 @@
55
60
  }
56
61
 
57
62
 
58
- .highlight-lang-http .highlight-syn-kwd {
63
+ &.highlight-lang-http .highlight-syn-kwd {
59
64
  background: #25f;
60
65
  color: #fff;
61
66
  padding: 0px 5px;
@@ -23,10 +23,13 @@
23
23
  >
24
24
  <r-icon v-html="$r.icons.delete"></r-icon>
25
25
  </r-btn-confirm>
26
+ <r-btn v-if="hasChildren" icon text @click="closed=!closed">
27
+ <r-icon v-html="closed?$r.icons.plus:$r.icons.minus"></r-icon>
28
+ </r-btn>
29
+ <r-btn v-else icon text></r-btn>
26
30
  <slot :item="item">{{ item }}</slot>
27
31
  </div>
28
-
29
- <div v-if="hasChildren" class="nestable-list ms-5">
32
+ <div v-if="hasChildren&&!closed" class="nestable-list ms-5">
30
33
  <template
31
34
  v-for="(child, childIndex) in item[childrenProp]"
32
35
  :key="childIndex"
@@ -90,9 +93,9 @@ export default {
90
93
  return {
91
94
  breakPoint: null,
92
95
  moveDown: false,
96
+ closed: false
93
97
  };
94
98
  },
95
-
96
99
  computed: {
97
100
  isDragging() {
98
101
  return (
@@ -116,7 +119,6 @@ export default {
116
119
  ];
117
120
  },
118
121
  },
119
-
120
122
  methods: {
121
123
  del(item) {
122
124
  this.$emit("delete", item);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "renusify",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "Vue3 Framework",
5
5
  "keywords": [
6
6
  "vuejs",
@@ -143,35 +143,35 @@ $headings: (
143
143
  'display-1': (
144
144
  'size': 4.75rem,
145
145
  'weight': 400,
146
- 'line-height': 5.33rem,
146
+ 'line-height': 6rem,
147
147
  'letter-spacing': -0.02rem,
148
148
  'text-transform': false
149
149
  ),
150
150
  'display-2': (
151
151
  'size': 3.75rem,
152
152
  'weight': 400,
153
- 'line-height': 4.33rem,
153
+ 'line-height': 5.3rem,
154
154
  'letter-spacing': 0,
155
155
  'text-transform': false
156
156
  ),
157
157
  'display-3': (
158
158
  'size': 3rem,
159
159
  'weight': 400,
160
- 'line-height': 3.66rem,
160
+ 'line-height': 4.3rem,
161
161
  'letter-spacing': 0,
162
162
  'text-transform': false
163
163
  ),
164
164
  'headline-1': (
165
165
  'size': 2.66rem,
166
166
  'weight': 400,
167
- 'line-height': 3.33rem,
167
+ 'line-height': 3.6rem,
168
168
  'letter-spacing': 0,
169
169
  'text-transform': false
170
170
  ),
171
171
  'headline-2': (
172
172
  'size': 2.33rem,
173
173
  'weight': 400,
174
- 'line-height': 3rem,
174
+ 'line-height': 3.2rem,
175
175
  'letter-spacing': 0,
176
176
  'text-transform': false
177
177
  ),
@@ -192,7 +192,7 @@ $headings: (
192
192
  'title-2': (
193
193
  'size': 1.33rem,
194
194
  'weight': 500,
195
- 'line-height': 2rem,
195
+ 'line-height': 1.9rem,
196
196
  'letter-spacing': 0.0125rem,
197
197
  'text-transform': false
198
198
  ),
@@ -206,7 +206,7 @@ $headings: (
206
206
  'body-1': (
207
207
  'size': 1.33rem,
208
208
  'weight': 400,
209
- 'line-height': 2rem,
209
+ 'line-height': 1.8rem,
210
210
  'letter-spacing': 0.042rem,
211
211
  'text-transform': false
212
212
  ),
@@ -227,21 +227,21 @@ $headings: (
227
227
  'label-1': (
228
228
  'size': 1.15rem,
229
229
  'weight': 500,
230
- 'line-height': 1.66rem,
230
+ 'line-height': 1.5rem,
231
231
  'letter-spacing': 0.008rem,
232
232
  'text-transform': uppercase
233
233
  ),
234
234
  'label-2': (
235
235
  'size':1rem,
236
236
  'weight': 500,
237
- 'line-height': 1.33rem,
237
+ 'line-height': 1.2rem,
238
238
  'letter-spacing': 0.042rem,
239
239
  'text-transform': uppercase
240
240
  ),
241
241
  'label-3': (
242
242
  'size': 0.85rem,
243
243
  'weight': 500,
244
- 'line-height': 1.33rem,
244
+ 'line-height': 1.1rem,
245
245
  'letter-spacing': 0.042rem,
246
246
  'text-transform': uppercase
247
247
  )