Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
"i18n-ally.disabled": false, // make sure to disable i18n-ally in your global setting and only enable it for such projects
"tailwindCSS.experimental.classRegex": [
["tv\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
]
],
"tailwindCSS.rootFontSize": 16
}
2 changes: 1 addition & 1 deletion metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const { withNativeWind } = require('nativewind/metro');

const config = getDefaultConfig(__dirname);

module.exports = withNativeWind(config, { input: './global.css' });
module.exports = withNativeWind(config, { input: './global.css', inlineRem: 16 });
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
white: '#ffffff',
black: '#000000',
charcoal: {
Expand Down
3 changes: 3 additions & 0 deletions src/components/ui/font-family.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
inter: ['Inter'],
};
5 changes: 2 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const colors = require('./src/components/ui/colors');
const fontFamily = require('./src/components/ui/font-family');

/** @type {import('tailwindcss').Config} */
module.exports = {
Expand All @@ -8,9 +9,7 @@ module.exports = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
inter: ['Inter'],
},
fontFamily,
colors,
},
},
Expand Down