Skip to content

Instantly share code, notes, and snippets.

@lambdaxyzt
Created January 13, 2024 07:27
Show Gist options
  • Select an option

  • Save lambdaxyzt/a11e8f77b79d42cf72de118fc6b40ab6 to your computer and use it in GitHub Desktop.

Select an option

Save lambdaxyzt/a11e8f77b79d42cf72de118fc6b40ab6 to your computer and use it in GitHub Desktop.

Revisions

  1. lambdaxyzt created this gist Jan 13, 2024.
    54 changes: 54 additions & 0 deletions tailwind.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,54 @@
    @font-face {
    font-family: "Roboto";
    src:url(...);
    font-weight: bold;
    }

    @font-face {
    font-family: "Roboto";
    src:url(...);
    font-weight: normal;
    }

    @tailwind base;
    @tailwind components;
    @tailwind utilities;

    @layer base {
    body {
    font-family: "Roboto" , ...;
    }

    h1,h2,h3,h4,h5,h6 {
    display: block;
    font-weight: bold;
    }
    h1 {
    font-size: 2em;
    margin: 0.67em 0;
    }
    h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
    }
    h3 {
    font-size: 1.17em;
    margin: 1em 0;
    }
    h4 {
    margin: 1.33em 0;
    }
    h5 {
    font-size: .83em;
    margin: 1.67em 0;
    }
    h6 {
    font-size: .67em;
    margin: 2.33em 0;
    }

    p {
    margin-top: 1em;
    margin-bottom: 1em;
    }
    }
    29 changes: 29 additions & 0 deletions tailwind1.config.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    // #######
    // desktop first
    // #######

    export default {
    theme: {
    screens: {
    'min_xs': {'min':'320px'},
    'xs': {'max':'319px'},

    'min_sm': {'min':'640px'},
    'sm': {'max':'639px'},

    'min_md': {'min':'768px'},
    'md': {'max':'767px'},

    'min_lg': {'min':'1024px'},
    'lg': {'max':'1023px'},

    'min_xl': {'min':'1280px'},
    'xl': {'max':'1279px'},

    'min_2xl': {'min':'1536px'},
    '2xl': {'max':'1535px'},
    },
    extend: {},
    },
    plugins: [],
    }
    1 change: 1 addition & 0 deletions tailwind2.config.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    // !