master: change repo
This commit is contained in:
44
src/data/colors.ts
Normal file
44
src/data/colors.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
import IColor from '@/models/IColor'
|
||||
import lightness from 'lightness'
|
||||
|
||||
const dark = -70
|
||||
|
||||
export default [
|
||||
{
|
||||
label: 'Bleu',
|
||||
value: '#bfccdd'
|
||||
},
|
||||
{
|
||||
label: 'Rose',
|
||||
value: '#e6ccc6'
|
||||
},
|
||||
{
|
||||
label: 'Orange',
|
||||
value: '#ed9374'
|
||||
},
|
||||
{
|
||||
label: 'Jaune',
|
||||
value: '#f1dbbd'
|
||||
},
|
||||
{
|
||||
label: 'Vert',
|
||||
value: '#cfe4d9'
|
||||
},
|
||||
{
|
||||
label: 'Violet',
|
||||
value: '#b487fd'
|
||||
},
|
||||
{
|
||||
label: 'Gris',
|
||||
value: '#efedf5'
|
||||
},
|
||||
{
|
||||
label: 'Acier',
|
||||
value: '#566274'
|
||||
}
|
||||
].map(
|
||||
(color: IColor): IColor => ({
|
||||
...color,
|
||||
darkValue: lightness(color.value, dark).toLowerCase()
|
||||
})
|
||||
)
|
||||
37
src/data/currencies.ts
Normal file
37
src/data/currencies.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
import ICurrency from '@/models/ICurrency'
|
||||
|
||||
export default [
|
||||
{ name: 'Euro', code: 'EUR', symbol: '€' },
|
||||
{ name: 'Dollar', code: 'USD', symbol: '$' },
|
||||
{ name: 'Japanese yen', code: 'JPY', symbol: '¥' },
|
||||
{ name: 'Bulgarian lev', code: 'BGN', symbol: 'лв' },
|
||||
{ name: 'Czech koruna', code: 'CZK', symbol: 'Kč' },
|
||||
{ name: 'Danish krone', code: 'DKK', symbol: 'øre' },
|
||||
{ name: 'Pound sterling', code: 'GBP', symbol: '£' },
|
||||
{ name: 'Hungarian forint', code: 'HUF', symbol: 'Ft' },
|
||||
{ name: 'Polish zloty', code: 'PLN', symbol: 'zł' },
|
||||
{ name: 'Romanian leu', code: 'RON' },
|
||||
{ name: 'Swedish krona', code: 'SEK', symbol: 'øre' },
|
||||
{ name: 'Swiss franc', code: 'CHF' },
|
||||
{ name: 'Icelandic krona', code: 'ISK', symbol: 'kr' },
|
||||
{ name: 'Norwegian krone', code: 'NOK', symbol: 'øre' },
|
||||
{ name: 'Croatian kuna', code: 'HRK', symbol: 'kn' },
|
||||
{ name: 'Russian rouble', code: 'RUB' },
|
||||
{ name: 'Turkish lira', code: 'TRY' },
|
||||
{ name: 'Australian dollar', code: 'AUD', symbol: 'A$' },
|
||||
{ name: 'Brazilian real', code: 'BRL', symbol: 'R$' },
|
||||
{ name: 'Canadian dollar', code: 'CAD', symbol: 'C$' },
|
||||
{ name: 'Chinese yuan renminbi', code: 'CNY', symbol: '¥' },
|
||||
{ name: 'Hong Kong dollar', code: 'HKD', symbol: 'HK$' },
|
||||
{ name: 'Indonesian rupiah', code: 'IDR', symbol: 'Rp' },
|
||||
{ name: 'Israeli shekel', code: 'ILS', symbol: '₪' },
|
||||
{ name: 'Indian rupee', code: 'INR', symbol: '₹' },
|
||||
{ name: 'South Korean won', code: 'KRW', symbol: '₩' },
|
||||
{ name: 'Mexican peso', code: 'MXN', symbol: 'Mex$' },
|
||||
{ name: 'Malaysian ringgit', code: 'MYR', symbol: 'RM' },
|
||||
{ name: 'New Zealand dollar', code: 'NZD', symbol: 'NZ$' },
|
||||
{ name: 'Philippine piso', code: 'PHP' },
|
||||
{ name: 'Singapore dollar', code: 'SGD', symbol: 'S$' },
|
||||
{ name: 'Thai baht', code: 'THB', symbol: '฿' },
|
||||
{ name: 'South African rand', code: 'ZAR', symbol: 'R' }
|
||||
] as ICurrency[]
|
||||
Reference in New Issue
Block a user