This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:ui'; | |
| const List<double> zoomLevels = [15, 16, 17, 18, 19, 20]; | |
| const List<double> iconSizes = [32, 48, 56, 64, 72, 80]; | |
| double? interpolateDouble(double value, double minInput, double maxInput, double minOutput, double maxOutput) { | |
| double t = (value - minInput) / (maxInput - minInput); | |
| return lerpDouble(minOutput, maxOutput, t); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:ui'; | |
| const List<double> zoomLevels = [15, 16, 17, 18, 19, 20]; | |
| const List<double> iconSizes = [32, 48, 56, 64, 72, 80]; | |
| double? interpolateDouble(double value, double minInput, double maxInput, double minOutput, double maxOutput) { | |
| double t = (value - minInput) / (maxInput - minInput); | |
| return lerpDouble(minOutput, maxOutput, t); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension NSLayoutConstraint { | |
| public convenience init(item view1: Any, | |
| toItem view2: Any? = nil, | |
| relatedBy relation: NSLayoutRelation = .equal, | |
| attribute sharedAttribute: NSLayoutAttribute, | |
| multiplier: CGFloat = 1, | |
| constant c: CGFloat) { | |
| self.init(item: view1, | |
| attribute: sharedAttribute, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass[ignorenonframetext,]{beamer} %aspectratio=169, | |
| \usetheme{CambridgeUS} | |
| \usecolortheme[RGB={210, 16, 52}]{structure} | |
| \usepackage{amssymb,amsmath} | |
| \usepackage{ifxetex,ifluatex} | |
| \usepackage{fixltx2e} % provides \textsubscript | |
| \IfFileExists{upquote.sty}{\usepackage{upquote}}{} | |
| \usepackage{lmodern} | |
| \ifxetex | |
| \usepackage{fontspec,xltxtra,xunicode} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for file in {,**/}*.md; do pandoc -o "$file" "$file" ; done; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @black: ; | |
| @grayDarker: ; | |
| @grayDark: ; | |
| @gray: ; | |
| @grayLight: ; | |
| @grayLighter: ; | |
| @white: ; | |
| @blue: ; | |
| @blueDark: ; |